File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -55,7 +55,11 @@ scl enable "${DEVTOOLSET}" bash || error "[scl] Failed to enable ${DEVTOOLSET}"
55
55
# Alternative mirror to use if the official mirror is down
56
56
# BOOST_MIRROR=https://mirror.bazel.build/boostorg.jfrog.io/artifactory/main/release/"${BOOST_VERSION}"/source/"${BOOST_LIB}".tar.gz
57
57
# sourceforge
58
- BOOST_MIRROR=https://sourceforge.net/projects/boost/files/boost/" ${BOOST_VERSION} " /" ${BOOST_LIB} " .tar.gz
58
+ # BOOST_MIRROR=https://sourceforge.net/projects/boost/files/boost/"${BOOST_VERSION}"/"${BOOST_LIB}".tar.gz
59
+ # github
60
+ BOOST_LIB=boost-" ${BOOST_VERSION} "
61
+ BOOST_MIRROR=https://github.com/boostorg/boost/releases/download/boost-" ${BOOST_VERSION} " /" ${BOOST_LIB} " .tar.gz
62
+
59
63
wget " ${BOOST_MIRROR} " || error " [boost] ${BOOST_LIB} .tar.gz download failed"
60
64
export LD_LIBRARY_PATH=/usr/local/lib:/usr/lib:/usr/local/lib64:/usr/lib64:" $LD_LIBRARY_PATH "
61
65
tar -xzf " ${BOOST_LIB} " .tar.gz || error " [boost] ${BOOST_LIB} .tar.gz extraction failed"
@@ -65,7 +69,7 @@ scl enable "${DEVTOOLSET}" bash || error "[scl] Failed to enable ${DEVTOOLSET}"
65
69
./b2 -j4 cxxflags=" -fPIC" runtime-link=static variant=release link=static --prefix=/opt/boost_" ${BOOST_VERSION} " install \
66
70
|| error " [boost] Installation failed"
67
71
)
68
-
72
+
69
73
# install miniconda
70
74
MINICONDA3_SCRIPT=" Miniconda3-${MINICONDA3_VERSION} -Linux-x86_64.sh"
71
75
MINICONDA_URL=" https://repo.continuum.io/miniconda/${MINICONDA3_SCRIPT} "
You can’t perform that action at this time.
0 commit comments