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:
87
87
echo "max_size = 300M" > ~/.ccache/ccache.conf
88
88
echo "compression = true" >> ~/.ccache/ccache.conf
89
89
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
90
97
91
98
- name : Build OpenBLAS
92
99
run : |
93
- export LDFLAGS="-L/opt/homebrew/opt/llvm/lib"
94
100
export CPPFLAGS="-I/opt/homebrew/opt/llvm/include"
95
101
export CC="/opt/homebrew/opt/llvm/bin/clang"
96
102
case "${{ matrix.build }}" in
Original file line number Diff line number Diff line change @@ -426,10 +426,8 @@ ifeq ($(OSNAME), Darwin)
426
426
ifndef MACOSX_DEPLOYMENT_TARGET
427
427
ifeq ($(ARCH), arm64)
428
428
export MACOSX_DEPLOYMENT_TARGET=11.0
429
- ifeq ($(C_COMPILER), GCC)
430
429
export NO_SVE = 1
431
430
export NO_SME = 1
432
- endif
433
431
else
434
432
export MACOSX_DEPLOYMENT_TARGET=10.8
435
433
endif
You can’t perform that action at this time.
0 commit comments