add M1 build with compilers from macports

This commit is contained in:
Martin Kroeker 2023-09-27 19:41:00 +02:00 committed by GitHub
parent ce3006ff80
commit 2435372ab0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 12 additions and 0 deletions

View File

@ -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: