File tree Expand file tree Collapse file tree 2 files changed +7
-3
lines changed
prerequisites/build-functions Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -37,9 +37,13 @@ build_and_install()
3737 export cmake_binary_installer=" ${download_path} /cmake-${version_to_build} -Linux-x86_64.sh"
3838 ${SUDO:- } mkdir -p " $install_path "
3939 chmod u+x " ${cmake_binary_installer} "
40+ if [[ ! -z " ${SUDO:- } " ]]; then
41+ info " You do not have write permissions to the installation path ${install_path} "
42+ info " If you have administrative privileges, enter your password to install ${package_to_build} "
43+ fi
4044 info " Installing Cmake with the following command: "
41- info " \" ${cmake_binary_installer} \" --prefix=\" $install_path \" --exclude-subdir"
42- " ${cmake_binary_installer} " --prefix=" $install_path " --exclude-subdir
45+ info " ${SUDO :- } \" ${cmake_binary_installer} \" --prefix=\" $install_path \" --exclude-subdir"
46+ ${SUDO :- } " ${cmake_binary_installer} " --prefix=" $install_path " --exclude-subdir
4347
4448 else # build from source
4549
Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ set_or_print_default_version()
2727 # See http://stackoverflow.com/questions/1494178/how-to-define-hash-tables-in-bash
2828 package_version=(
2929 " cmake:3.10.0"
30- " gcc:8.2 .0"
30+ " gcc:8.3 .0"
3131 " mpich:3.2"
3232 " wget:1.16.3"
3333 " flex:2.6.0"
You can’t perform that action at this time.
0 commit comments