File tree Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -87,10 +87,16 @@ jobs:
8787 echo "max_size = 300M" > ~/.ccache/ccache.conf
8888 echo "compression = true" >> ~/.ccache/ccache.conf
8989 ccache -s
90+
91+ - name : Add gfortran runtime to link path
92+ if : matrix.build == 'make' && runner.os == 'macOS'
93+ run : |
94+ GFORTRAN_LIBDIR=$(gfortran -print-file-name=libgfortran.dylib | xargs dirname)
95+ echo "Using gfortran runtime in $GFORTRAN_LIBDIR"
96+ echo "LDFLAGS=-L/opt/homebrew/opt/llvm/lib -L$GFORTRAN_LIBDIR" >> $GITHUB_ENV
9097
9198 - name : Build OpenBLAS
9299 run : |
93- export LDFLAGS="-L/opt/homebrew/opt/llvm/lib"
94100 export CPPFLAGS="-I/opt/homebrew/opt/llvm/include"
95101 export CC="/opt/homebrew/opt/llvm/bin/clang"
96102 case "${{ matrix.build }}" in
Original file line number Diff line number Diff line change @@ -426,10 +426,8 @@ ifeq ($(OSNAME), Darwin)
426426ifndef MACOSX_DEPLOYMENT_TARGET
427427ifeq ($(ARCH), arm64)
428428export MACOSX_DEPLOYMENT_TARGET=11.0
429- ifeq ($(C_COMPILER), GCC)
430429export NO_SVE = 1
431430export NO_SME = 1
432- endif
433431else
434432export MACOSX_DEPLOYMENT_TARGET=10.8
435433endif
You can’t perform that action at this time.
0 commit comments