Skip to content

Commit

Permalink
install boost from jfrog
Browse files Browse the repository at this point in the history
  • Loading branch information
sc1f committed May 3, 2021
1 parent 10fb6f6 commit 284d415
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion docker/docs/Dockerfile
Expand Up @@ -17,7 +17,7 @@ RUN python3.7 -m pip install numpy pandas

RUN ls -al /usr/local/lib/python3.7/site-packages/numpy

RUN wget https://dl.bintray.com/boostorg/release/1.67.0/source/boost_1_67_0.tar.gz >/dev/null 2>&1 || echo "wget failed"
RUN wget https://boostorg.jfrog.io/artifactory/main/release/1.71.0/source/boost_1_71_0.tar.gz >/dev/null 2>&1 || echo "wget failed"
RUN tar xfz boost_1_67_0.tar.gz
RUN cd boost_1_67_0 && CPLUS_INCLUDE_PATH="$CPLUS_INCLUDE_PATH:/usr/local/include/python3.7m" C_INCLUDE_PATH="$C_INCLUDE_PATH:/usr/local/include/python3.7m" ./bootstrap.sh --with-python=/usr/local/bin/python3.7 || echo "boostrap failed"
RUN cd boost_1_67_0 && CPLUS_INCLUDE_PATH="$CPLUS_INCLUDE_PATH:/usr/local/include/python3.7m" C_INCLUDE_PATH="$C_INCLUDE_PATH:/usr/local/include/python3.7m" ./b2 -j4 install || echo "build boost failed"
Expand Down
2 changes: 1 addition & 1 deletion docker/python/manylinux2010/Dockerfile
Expand Up @@ -54,7 +54,7 @@ RUN python3.8 -m pip install --ignore-installed auditwheel
RUN python3.9 -m pip install --ignore-installed auditwheel

# install boost
RUN wget https://dl.bintray.com/boostorg/release/1.71.0/source/boost_1_71_0.tar.gz --no-check-certificate >/dev/null 2>&1
RUN wget https://boostorg.jfrog.io/artifactory/main/release/1.71.0/source/boost_1_71_0.tar.gz --no-check-certificate >/dev/null 2>&1
RUN tar xfz boost_1_71_0.tar.gz
# https://github.com/boostorg/build/issues/468
RUN cd boost_1_71_0 && ./bootstrap.sh
Expand Down
2 changes: 1 addition & 1 deletion docker/python/manylinux2014/Dockerfile
Expand Up @@ -50,7 +50,7 @@ RUN python3.8 -m pip install --ignore-installed auditwheel
RUN python3.9 -m pip install --ignore-installed auditwheel

# install boost
RUN wget https://dl.bintray.com/boostorg/release/1.71.0/source/boost_1_71_0.tar.gz --no-check-certificate >/dev/null 2>&1
RUN wget https://boostorg.jfrog.io/artifactory/main/release/1.71.0/source/boost_1_71_0.tar.gz --no-check-certificate >/dev/null 2>&1
RUN tar xfz boost_1_71_0.tar.gz
# https://github.com/boostorg/build/issues/468
RUN cd boost_1_71_0 && ./bootstrap.sh
Expand Down
2 changes: 1 addition & 1 deletion scripts/install_tools.js
Expand Up @@ -12,7 +12,7 @@ const {execute} = require("./script_utils.js");
try {
if (process.platform === "linux") {
console.log("-- Installing Boost 1.71.0");
execute`wget https://dl.bintray.com/boostorg/release/1.71.0/source/boost_1_71_0.tar.gz >/dev/null 2>&1`;
execute`wget https://boostorg.jfrog.io/artifactory/main/release/1.71.0/source/boost_1_71_0.tar.gz >/dev/null 2>&1`;
execute`tar xfz boost_1_71_0.tar.gz`;
process.chdir("boost_1_71_0");
execute`./bootstrap.sh`;
Expand Down

0 comments on commit 284d415

Please sign in to comment.