Skip to content

Commit

Permalink
bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
jdtuck committed May 26, 2024
1 parent e55cbc4 commit 8328d44
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion bin/cibw_before_build_macos.sh
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,10 @@ if [[ $PLATFORM == "macosx-arm64" ]]; then

# Link these into /usr/local so that there's no need to add rpath or -L
for f in libgfortran.dylib libgfortran.5.dylib libgcc_s.1.dylib libgcc_s.1.1.dylib libquadmath.dylib libquadmath.0.dylib; do
sudo ln -sf /opt/gfortran-darwin-x86_64-native/lib/$f /opt/arm64-builds/lib/$f
sudo cp /opt/gfortran-darwin-x86_64-native/lib/$f /opt/arm64-builds/lib/$f
done
for f in libgfortran.dylib libgfortran.5.dylib libgcc_s.1.dylib libgcc_s.1.1.dylib libquadmath.dylib libquadmath.0.dylib; do
sudo cp /opt/gfortran-darwin-arm64-cross/lib/$f /opt/arm64-builds/lib/$f
done
sudo ln -sf /opt/gfortran-darwin-x86_64-native/bin/gfortran /usr/local/bin/gfortran

Expand Down
2 changes: 1 addition & 1 deletion bin/cibw_before_build_win.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ PLATFORM=$(PYTHONPATH=bin python -c "import openblas_support; print(openblas_sup
printenv

# Install Openblas
PYTHONPATH=tools python -c "import openblas_support; openblas_support.make_init('scipy')"
PYTHONPATH=bin python -c "import openblas_support; openblas_support.make_init('scipy')"
mkdir -p /c/opt/32/lib/pkgconfig
mkdir -p /c/opt/64/lib/pkgconfig

Expand Down

0 comments on commit 8328d44

Please sign in to comment.