Skip to content

Commit a34c533

Browse files
committed
Install boost to the default location to suppress permissions errors
1 parent 4e5c07b commit a34c533

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/scripts/python_wheels/cibw_before_all.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,17 +25,17 @@ fi
2525
wget https://archives.boost.io/release/1.87.0/source/boost_1_87_0.tar.gz --quiet
2626
tar -xzf boost_1_87_0.tar.gz
2727
cd boost_1_87_0
28-
./bootstrap.sh --prefix=/opt/boost
28+
./bootstrap.sh
2929

3030
# Default to macOS 10.15 if MACOSX_DEPLOYMENT_TARGET is not set
3131
if [[ -z "${MACOSX_DEPLOYMENT_TARGET}" ]]; then
3232
export MACOSX_DEPLOYMENT_TARGET="10.15"
3333
fi
3434

3535
if [ "$(uname)" == "Linux" ]; then
36-
./b2 install --prefix=/opt/boost --with=all -d0
36+
./b2 install --with=all -d0
3737
elif [ "$(uname)" == "Darwin" ]; then
38-
./b2 install --prefix=/opt/boost --with=all -d0 cxxflags="-mmacosx-version-min=${MACOSX_DEPLOYMENT_TARGET}" linkflags="-mmacosx-version-min=${MACOSX_DEPLOYMENT_TARGET}"
38+
./b2 install --with=all -d0 cxxflags="-mmacosx-version-min=${MACOSX_DEPLOYMENT_TARGET}" linkflags="-mmacosx-version-min=${MACOSX_DEPLOYMENT_TARGET}"
3939
fi
4040
cd ..
4141

0 commit comments

Comments
 (0)