Skip to content

Commit

Permalink
add M1 build with compilers from macports
Browse files Browse the repository at this point in the history
  • Loading branch information
martin-frbg authored Sep 27, 2023
1 parent ce3006f commit 2435372
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .cirrus.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,18 @@
macos_instance:
image: ghcr.io/cirruslabs/macos-ventura-xcode:latest

task:
name: AppleM1/MacPorts
compile_script:
- wget https://github.com/macports/macports-base/releases/download/v2.8.1/MacPorts-2.8.1-13-Ventura.pkg
- installer -verboseR -pkg MacPorts-2.8.1-13-Ventura.pkg
- port install gcc-devel
- port install llvm-16
- export PATH=/opt/local/bin:$PATH
- export LDFLAGS="-L/opt/local/lib"
- export CPPFLAGS="-I/opt/local/include"
- make TARGET=VORTEX CC=clang FC=gfortran

task:
name: AppleM1/LLVM
compile_script:
Expand Down

0 comments on commit 2435372

Please sign in to comment.