Skip to content

Commit 6ab7041

Browse files
committed
clean up macOS x86-64 workarounds in cibw_test_command.sh
1 parent c2f2d90 commit 6ab7041

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

tools/wheels/cibw_test_command.sh

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,7 @@ PROJECT_DIR="$1"
66

77
python -c "import numpy; numpy.show_config()"
88

9-
if [[ $RUNNER_OS == "macOS" && $RUNNER_ARCH == "X64" ]]; then
10-
# Not clear why this is needed but it seems on x86_64 this is not the default
11-
# and without it f2py tests fail
12-
export DYLD_LIBRARY_PATH="$DYLD_LIBRARY_PATH:/usr/local/lib"
13-
# Needed so gfortran (not clang) can find system libraries like libm (-lm)
14-
# in f2py tests
15-
export LIBRARY_PATH="$LIBRARY_PATH:/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/lib"
16-
elif [[ $RUNNER_OS == "Windows" && $IS_32_BIT == true ]] ; then
9+
if [[ $RUNNER_OS == "Windows" && $IS_32_BIT == true ]] ; then
1710
# Avoid this in GHA: "ERROR: Found GNU link.exe instead of MSVC link.exe"
1811
rm /c/Program\ Files/Git/usr/bin/link.EXE
1912
fi

0 commit comments

Comments
 (0)