Skip to content

Commit 7e6673f

Browse files
committed
use ld_classic and no openblas for scipy builds on darwin
1 parent 9b2b685 commit 7e6673f

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

scripts/wheelbuilder/darwin/scipy.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright (c) 2024, Oracle and/or its affiliates. All rights reserved.
1+
# Copyright (c) 2024, 2025, Oracle and/or its affiliates. All rights reserved.
22
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
33
#
44
# The Universal Permissive License (UPL), Version 1.0
@@ -38,10 +38,10 @@
3838
# SOFTWARE.
3939

4040
if [ -n "$GITHUB_RUN_ID" ]; then
41-
brew install gcc openblas pkg-config
42-
export PKG_CONFIG_PATH=/opt/homebrew/opt/openblas/lib/pkgconfig
41+
brew install gcc pkg-config
4342
fi
44-
export FFLAGS=-fallow-argument-mismatch
43+
export FFLAGS="-fallow-argument-mismatch"
44+
export LDFLAGS="-Wl,-ld_classic"
4545
if [ -n "$1" ]; then
4646
pip wheel "scipy==$1"
4747
else

0 commit comments

Comments
 (0)