Skip to content

Commit 9e81a3a

Browse files
authored
Merge pull request #4100 from martin-frbg/cirrusm1gccmake
Cirrus CI: Add Apple M1 build using gcc,gmake and OpenMP
2 parents 81228fc + ada9e44 commit 9e81a3a

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

.cirrus.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,15 @@ task:
3030
- cd build
3131
- cmake -DTARGET=VORTEX -DCMAKE_C_COMPILER=clang -DBUILD_SHARED_LIBS=ON ..
3232
- make
33+
34+
task:
35+
name: AppleM1/GCC/MAKE/OPENMP
36+
compile_script:
37+
- brew install gcc@11
38+
- export PATH=/opt/homebrew/bin:$PATH
39+
- export LDFLAGS="-L/opt/homebrew/lib"
40+
- export CPPFLAGS="-I/opt/homebrew/include"
41+
- make CC=gcc-11 FC=gfortran-11 USE_OPENMP=1
3342

3443
macos_instance:
3544
image: ghcr.io/cirruslabs/macos-monterey-xcode:latest

0 commit comments

Comments
 (0)