File tree Expand file tree Collapse file tree 1 file changed +8
-3
lines changed Expand file tree Collapse file tree 1 file changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -4,13 +4,18 @@ set -ex
44
55CUDA_VER=" 13"
66
7+ GITHUB_URL=" https://github.com"
8+ if [ -n " ${GITHUB_MIRROR} " ]; then
9+ GITHUB_URL=${GITHUB_MIRROR}
10+ fi
11+
712install_boost () {
813 # Install boost version >= 1.78 for boost::span
914 # Current libboost-dev apt packages are < 1.78, so install from tar.gz
10- wget --retry-connrefused --timeout=180 --tries=10 --continue -O /tmp/boost.tar.gz https://archives. boost.io/release/1.80 .0/source/boost_1_80_0 .tar.gz \
15+ wget --retry-connrefused --timeout=180 --tries=10 --continue -O /tmp/boost.tar.gz ${GITHUB_URL} /boostorg/ boost/releases/download/boost-1.81 .0/boost-1.81.0 .tar.gz \
1116 && tar xzf /tmp/boost.tar.gz -C /tmp \
12- && mv /tmp/boost_1_80_0 /boost /usr/include/boost \
13- && rm -rf /tmp/boost_1_80_0 /tmp/boost.tar.gz
17+ && mv /tmp/boost-1.81.0 /boost /usr/include/boost \
18+ && rm -rf /tmp/boost-1.81.0 /tmp/boost.tar.gz
1419}
1520
1621install_triton_deps () {
You can’t perform that action at this time.
0 commit comments