Skip to content

Commit d0b88b6

Browse files
committed
Compile boost libraries for static builds
1 parent 218bf89 commit d0b88b6

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.ci/Dockerfile.static

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,5 +27,8 @@ RUN TARBALL=boost_${BOOST_VERSION}.tar.bz2 && \
2727
curl -L https://archives.boost.io/release/1.68.0/source/${TARBALL} \
2828
-o /tmp/${TARBALL} --fail && \
2929
tar xf /tmp/${TARBALL} --one-top-level=/tmp && \
30-
mv /tmp/boost_${BOOST_VERSION}/boost /usr/local/include/boost && \
30+
cd /tmp/boost_${BOOST_VERSION} && \
31+
./bootstrap.sh --prefix=/usr/local && \
32+
./b2 include=/usr/include/python3.8 link=static install && \
33+
cd / && \
3134
rm -rf /tmp/${TARBALL} /tmp/boost_${BOOST_VERSION}

0 commit comments

Comments
 (0)