Browse Source

add M1 build with compilers from macports

pull/4243/head
Martin Kroeker GitHub 2 years ago
parent
commit
2435372ab0
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 12 additions and 0 deletions
  1. +12
    -0
      .cirrus.yml

+ 12
- 0
.cirrus.yml 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:


Loading…
Cancel
Save