Skip to content

Commit af083b7

Browse files
committed
revert removal of check for /usr/local/include and /usr/local/lib
1 parent bcf9294 commit af083b7

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

tools/build_steps.sh

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,18 @@ function get_os {
2424

2525

2626
function before_build {
27-
# Manylinux Python version set in build_lib
27+
if [ ! -e /usr/local/lib ]; then
28+
sudo mkdir -p /usr/local/lib
29+
sudo chmod 777 /usr/local/lib
30+
touch /usr/local/lib/.dir_exists
31+
fi
32+
if [ ! -e /usr/local/include ]; then
33+
sudo mkdir -p /usr/local/include
34+
sudo chmod 777 /usr/local/include
35+
touch /usr/local/include/.dir_exists
36+
fi
2837
if [ -n "$IS_OSX" ]; then
38+
# get_macpython_environment ${MB_PYTHON_VERSION} venv
2939
python3.9 -m venv venv
3040
source venv/bin/activate
3141
# Use gfortran from conda

0 commit comments

Comments
 (0)