Browse Source

Add Apple M1 build using gcc,gmake and OpenMP

tags/v0.3.24
Martin Kroeker GitHub 2 years ago
parent
commit
ada9e442eb
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 9 additions and 0 deletions
  1. +9
    -0
      .cirrus.yml

+ 9
- 0
.cirrus.yml View File

@@ -30,6 +30,15 @@ task:
- cd build
- cmake -DTARGET=VORTEX -DCMAKE_C_COMPILER=clang -DBUILD_SHARED_LIBS=ON ..
- make

task:
name: AppleM1/GCC/MAKE/OPENMP
compile_script:
- brew install gcc@11
- export PATH=/opt/homebrew/bin:$PATH
- export LDFLAGS="-L/opt/homebrew/lib"
- export CPPFLAGS="-I/opt/homebrew/include"
- make CC=gcc-11 FC=gfortran-11 USE_OPENMP=1
macos_instance:
image: ghcr.io/cirruslabs/macos-monterey-xcode:latest


Loading…
Cancel
Save