Skip to content

Commit b6d8ef8

Browse files
authored
Merge pull request #655 from andrewcorrigan/master
switches from wget to curl
2 parents 40d7f29 + 87832f1 commit b6d8ef8

File tree

2 files changed

+13
-13
lines changed

2 files changed

+13
-13
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ libraries using the `install-tpl.sh` script, or you can install them
4949
manually as detailed in
5050
[TPL-Manual-Install.md](TPL-Manual-Install.md).
5151

52-
* The script requires bash and wget, which you may need to install.
52+
* The script requires bash and curl, which you may need to install.
5353
* To use the script, simply type `bash ./install-tpl.sh`.
5454
* The default behavior can be modified via a few environment variables:
5555

@@ -285,7 +285,7 @@ recommended to use as current an MPI library as possible.
285285

286286
* Automake is used to configure some of the TPL builds
287287

288-
* wget is needed to download some of the TPL library source code.
288+
* curl is needed to download some of the TPL library source code.
289289

290290
* python is required to use the `exodus.py` and `exomerge.py`
291291
Python interfaces to Exodus databases. Python3 is recommended.

install-tpl.sh

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,7 @@ fi
236236
# Check that cmake, git, wget exist at the beginning instead of erroring out later on...
237237
check_exec cmake
238238
check_exec git
239-
check_exec wget
239+
check_exec curl
240240

241241
if [ "$NEEDS_SZIP" == "YES" ]
242242
then
@@ -254,7 +254,7 @@ then
254254
echo "${txtgrn}+++ Downloading...${txtrst}"
255255
rm -rf libaec-${szip_version}
256256
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
258258
tar -xzf v${szip_version}.tar.gz
259259
rm -rf v${szip_version}.tar.gz
260260
fi
@@ -296,7 +296,7 @@ else
296296
echo "${txtgrn}+++ Downloading...${txtrst}"
297297
rm -rf szip-${szip_version}
298298
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
300300
tar -xzf szip-${szip_version}.tar.gz
301301
rm -rf szip-${szip_version}.tar.gz
302302
fi
@@ -378,7 +378,7 @@ then
378378
echo "${txtgrn}+++ Downloading...${txtrst}"
379379
rm -rf zlib-${zlib_version}
380380
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
382382
tar -xzf zlib-${zlib_version}.tar.gz
383383
rm -rf zlib-${zlib_version}.tar.gz
384384
fi
@@ -441,7 +441,7 @@ then
441441
if [ "${H5VERSION}" == "develop" ]; then
442442
git clone --depth=1 https://github.com/HDFGroup/hdf5.git hdf5-develop
443443
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
445445
fi
446446
if [ "${H5VERSION}" != "develop" ]
447447
then
@@ -497,7 +497,7 @@ then
497497
echo "${txtgrn}+++ Downloading...${txtrst}"
498498
rm -rf ${pnet_base}-${pnetcdf_version}
499499
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
501501
tar -xzf ${pnet_base}-${pnetcdf_version}.tar.gz
502502
rm -f ${pnet_base}-${pnetcdf_version}.tar.gz
503503
fi
@@ -655,7 +655,7 @@ then
655655
echo "${txtgrn}+++ Downloading...${txtrst}"
656656
rm -rf metis-5.1.0
657657
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
659659
tar zxvf v5.1.0.1.tar.gz
660660
fi
661661

@@ -824,7 +824,7 @@ then
824824
then
825825
echo "${txtgrn}+++ Downloading...${txtrst}"
826826
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
828828
tar -zxf kokkos-${kokkos_version}.tar.gz
829829
rm -f kokkos-${kokkos_version}.tar.gz
830830
ln -s kokkos-${kokkos_version} kokkos
@@ -1036,7 +1036,7 @@ then
10361036
then
10371037
echo "${txtgrn}+++ Downloading...${txtrst}"
10381038
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
10401040
tar -jxf parallel-latest.tar.bz2
10411041
rm -rf parallel-latest.tar.bz2
10421042
fi
@@ -1075,7 +1075,7 @@ then
10751075
BOOST_VER="1_82_0"
10761076
if [ "$DOWNLOAD" == "YES" ]
10771077
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"
10791079
tar xf boost_${BOOST_VER}.tar.bz2
10801080
fi
10811081
if [ "$BUILD" == "YES" ]
@@ -1148,7 +1148,7 @@ then
11481148
then
11491149
echo "${txtgrn}+++ Downloading...${txtrst}"
11501150
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
11521152
tar xzf v1.3.0.tar.gz
11531153
rm -f v1.3.0.tar.gz
11541154
cp -R cereal-1.3.0/include/cereal $INSTALL_PATH/include/

0 commit comments

Comments
 (0)