File tree Expand file tree Collapse file tree 1 file changed +25
-1
lines changed Expand file tree Collapse file tree 1 file changed +25
-1
lines changed Original file line number Diff line number Diff line change @@ -20,10 +20,34 @@ jobs:
20
20
- if : ${{ matrix.os == 'macos-latest' }}
21
21
run :
22
22
|
23
- brew install llvm libomp
23
+ brew install llvm libomp gcc gfortran
24
+ export PATH="/usr/local/opt/llvm/bin:$PATH"
25
+ export LDFLAGS="-L/usr/local/opt/llvm/lib"
26
+ export CPPFLAGS="-I/usr/local/opt/llvm/include"
24
27
export CC=/usr/local/opt/llvm/bin/clang
25
28
26
29
- name : Setup
30
+ env :
31
+ |
32
+ XCBASE:=$(shell xcrun --show-sdk-path)
33
+ LLVMBASE:=$(shell brew --prefix llvm)
34
+ GCCBASE:=$(shell brew --prefix gcc)
35
+ GETTEXT:=$(shell brew --prefix gettext)
36
+
37
+ CC=$(LLVMBASE)/bin/clang -fopenmp
38
+ CXX=$(LLVMBASE)/bin/clang++ -fopenmp
39
+ CXX11=$(LLVMBASE)/bin/clang++ -fopenmp
40
+ CXX14=$(LLVMBASE)/bin/clang++ -fopenmp
41
+ CXX17=$(LLVMBASE)/bin/clang++ -fopenmp
42
+ CXX1X=$(LLVMBASE)/bin/clang++ -fopenmp
43
+
44
+ CPPFLAGS=-isystem "$(LLVMBASE)/include" -isysroot "$(XCBASE)"
45
+ LDFLAGS=-L"$(LLVMBASE)/lib" -L"$(GETTEXT)/lib" --sysroot="$(XCBASE)"
46
+
47
+ FC=$(GCCBASE)/bin/gfortran -fopenmp
48
+ F77=$(GCCBASE)/bin/gfortran -fopenmp
49
+ FLIBS=-L$(GCCBASE)/lib/gcc/9/ -lm
50
+
27
51
run :
28
52
|
29
53
python -m pip install --upgrade pip setuptools wheel
You can’t perform that action at this time.
0 commit comments