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}"
5555 # Alternative mirror to use if the official mirror is down
5656 # BOOST_MIRROR=https://mirror.bazel.build/boostorg.jfrog.io/artifactory/main/release/"${BOOST_VERSION}"/source/"${BOOST_LIB}".tar.gz
5757 # 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+
5963 wget " ${BOOST_MIRROR} " || error " [boost] ${BOOST_LIB} .tar.gz download failed"
6064 export LD_LIBRARY_PATH=/usr/local/lib:/usr/lib:/usr/local/lib64:/usr/lib64:" $LD_LIBRARY_PATH "
6165 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}"
6569 ./b2 -j4 cxxflags=" -fPIC" runtime-link=static variant=release link=static --prefix=/opt/boost_" ${BOOST_VERSION} " install \
6670 || error " [boost] Installation failed"
6771 )
68-
72+
6973 # install miniconda
7074 MINICONDA3_SCRIPT=" Miniconda3-${MINICONDA3_VERSION} -Linux-x86_64.sh"
7175 MINICONDA_URL=" https://repo.continuum.io/miniconda/${MINICONDA3_SCRIPT} "
You can’t perform that action at this time.
0 commit comments