Skip to content

Commit e1a0288

Browse files
horakivotimfel
authored andcommitted
Adjusting darwin scipy script to use GNU gcc and lld
1 parent 7e6673f commit e1a0288

File tree

1 file changed

+10
-3
lines changed

1 file changed

+10
-3
lines changed

scripts/wheelbuilder/darwin/scipy.sh

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,10 +38,17 @@
3838
# SOFTWARE.
3939

4040
if [ -n "$GITHUB_RUN_ID" ]; then
41-
brew install gcc pkg-config
41+
brew install lld gcc pkg-config openblas
4242
fi
43-
export FFLAGS="-fallow-argument-mismatch"
44-
export LDFLAGS="-Wl,-ld_classic"
43+
44+
export CC="gcc-15"
45+
export CXX="g++-15"
46+
export CXXFLAGS="-fuse-ld=lld"
47+
export CFLAGS="-fuse-ld=lld"
48+
export FFLAGS="-fuse-ld=lld"
49+
export LDFLAGS="-Wl,-platform_version,macos,15.0.0,15.0.0"
50+
export PKG_CONFIG_PATH="/opt/homebrew/opt/openblas/lib/pkgconfig"
51+
4552
if [ -n "$1" ]; then
4653
pip wheel "scipy==$1"
4754
else

0 commit comments

Comments
 (0)