|
236 | 236 | # Check that cmake, git, wget exist at the beginning instead of erroring out later on... |
237 | 237 | check_exec cmake |
238 | 238 | check_exec git |
239 | | -check_exec wget |
| 239 | +check_exec curl |
240 | 240 |
|
241 | 241 | if [ "$NEEDS_SZIP" == "YES" ] |
242 | 242 | then |
|
254 | 254 | echo "${txtgrn}+++ Downloading...${txtrst}" |
255 | 255 | rm -rf libaec-${szip_version} |
256 | 256 | rm -rf v-${szip_version}.tar.gz |
257 | | - wget --no-check-certificate https://github.com/MathisRosenhauer/libaec/archive/v${szip_version}.tar.gz |
| 257 | + curl -O -L --insecure https://github.com/MathisRosenhauer/libaec/archive/v${szip_version}.tar.gz |
258 | 258 | tar -xzf v${szip_version}.tar.gz |
259 | 259 | rm -rf v${szip_version}.tar.gz |
260 | 260 | fi |
|
296 | 296 | echo "${txtgrn}+++ Downloading...${txtrst}" |
297 | 297 | rm -rf szip-${szip_version} |
298 | 298 | rm -rf szip-${szip_version}.tar.gz |
299 | | - wget --no-check-certificate https://support.hdfgroup.org/ftp/lib-external/szip/2.1.1/src/szip-${szip_version}.tar.gz |
| 299 | + curl -O -L --insecure https://support.hdfgroup.org/ftp/lib-external/szip/2.1.1/src/szip-${szip_version}.tar.gz |
300 | 300 | tar -xzf szip-${szip_version}.tar.gz |
301 | 301 | rm -rf szip-${szip_version}.tar.gz |
302 | 302 | fi |
|
378 | 378 | echo "${txtgrn}+++ Downloading...${txtrst}" |
379 | 379 | rm -rf zlib-${zlib_version} |
380 | 380 | rm -rf zlib-${zlib_version}.tar.gz |
381 | | - wget --no-check-certificate https://zlib.net/fossils/zlib-${zlib_version}.tar.gz |
| 381 | + curl -O -L --insecure https://zlib.net/fossils/zlib-${zlib_version}.tar.gz |
382 | 382 | tar -xzf zlib-${zlib_version}.tar.gz |
383 | 383 | rm -rf zlib-${zlib_version}.tar.gz |
384 | 384 | fi |
|
441 | 441 | if [ "${H5VERSION}" == "develop" ]; then |
442 | 442 | git clone --depth=1 https://github.com/HDFGroup/hdf5.git hdf5-develop |
443 | 443 | else |
444 | | - wget --no-check-certificate https://github.com/HDFGroup/hdf5/archive/refs/tags/${hdf_version}.tar.gz |
| 444 | + curl -O -L --insecure https://github.com/HDFGroup/hdf5/archive/refs/tags/${hdf_version}.tar.gz |
445 | 445 | fi |
446 | 446 | if [ "${H5VERSION}" != "develop" ] |
447 | 447 | then |
|
497 | 497 | echo "${txtgrn}+++ Downloading...${txtrst}" |
498 | 498 | rm -rf ${pnet_base}-${pnetcdf_version} |
499 | 499 | rm -f ${pnet_base}-${pnetcdf_version}.tar.gz |
500 | | - wget --no-check-certificate https://parallel-netcdf.github.io/Release/${pnet_base}-${pnetcdf_version}.tar.gz |
| 500 | + curl -O -L --insecure https://parallel-netcdf.github.io/Release/${pnet_base}-${pnetcdf_version}.tar.gz |
501 | 501 | tar -xzf ${pnet_base}-${pnetcdf_version}.tar.gz |
502 | 502 | rm -f ${pnet_base}-${pnetcdf_version}.tar.gz |
503 | 503 | fi |
|
655 | 655 | echo "${txtgrn}+++ Downloading...${txtrst}" |
656 | 656 | rm -rf metis-5.1.0 |
657 | 657 | rm -f metis-5.1.0.tar.gz |
658 | | - wget --no-check-certificate https://github.com/scivision/METIS/archive/v5.1.0.1.tar.gz |
| 658 | + curl -O -L --insecure https://github.com/scivision/METIS/archive/v5.1.0.1.tar.gz |
659 | 659 | tar zxvf v5.1.0.1.tar.gz |
660 | 660 | fi |
661 | 661 |
|
|
824 | 824 | then |
825 | 825 | echo "${txtgrn}+++ Downloading...${txtrst}" |
826 | 826 | rm -rf kokkos |
827 | | - wget --no-check-certificate https://github.com/kokkos/kokkos/releases/download/${kokkos_version}/kokkos-${kokkos_version}.tar.gz |
| 827 | + curl -O -L --insecure https://github.com/kokkos/kokkos/releases/download/${kokkos_version}/kokkos-${kokkos_version}.tar.gz |
828 | 828 | tar -zxf kokkos-${kokkos_version}.tar.gz |
829 | 829 | rm -f kokkos-${kokkos_version}.tar.gz |
830 | 830 | ln -s kokkos-${kokkos_version} kokkos |
@@ -1036,7 +1036,7 @@ then |
1036 | 1036 | then |
1037 | 1037 | echo "${txtgrn}+++ Downloading...${txtrst}" |
1038 | 1038 | rm -rf parallel-* |
1039 | | - wget --no-check-certificate https://ftp.gnu.org/gnu/parallel/parallel-latest.tar.bz2 |
| 1039 | + curl -O -L --insecure https://ftp.gnu.org/gnu/parallel/parallel-latest.tar.bz2 |
1040 | 1040 | tar -jxf parallel-latest.tar.bz2 |
1041 | 1041 | rm -rf parallel-latest.tar.bz2 |
1042 | 1042 | fi |
@@ -1075,7 +1075,7 @@ then |
1075 | 1075 | BOOST_VER="1_82_0" |
1076 | 1076 | if [ "$DOWNLOAD" == "YES" ] |
1077 | 1077 | then |
1078 | | - wget --no-check-certificate "https://boostorg.jfrog.io/artifactory/main/release/1.82.0/source/boost_${BOOST_VER}.tar.bz2" |
| 1078 | + curl -O -L --insecure "https://boostorg.jfrog.io/artifactory/main/release/1.82.0/source/boost_${BOOST_VER}.tar.bz2" |
1079 | 1079 | tar xf boost_${BOOST_VER}.tar.bz2 |
1080 | 1080 | fi |
1081 | 1081 | if [ "$BUILD" == "YES" ] |
@@ -1148,7 +1148,7 @@ then |
1148 | 1148 | then |
1149 | 1149 | echo "${txtgrn}+++ Downloading...${txtrst}" |
1150 | 1150 | rm -rf cereal* |
1151 | | - wget --no-check-certificate https://github.com/USCiLab/cereal/archive/v1.3.0.tar.gz |
| 1151 | + curl -O -L --insecure https://github.com/USCiLab/cereal/archive/v1.3.0.tar.gz |
1152 | 1152 | tar xzf v1.3.0.tar.gz |
1153 | 1153 | rm -f v1.3.0.tar.gz |
1154 | 1154 | cp -R cereal-1.3.0/include/cereal $INSTALL_PATH/include/ |
|
0 commit comments