From 2435372ab0ee3656a692dfe15e7158552b23bd96 Mon Sep 17 00:00:00 2001 From: Martin Kroeker Date: Wed, 27 Sep 2023 19:41:00 +0200 Subject: [PATCH] add M1 build with compilers from macports --- .cirrus.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.cirrus.yml b/.cirrus.yml index d7f8a9a4e2..e4f7f3a1b7 100644 --- a/.cirrus.yml +++ b/.cirrus.yml @@ -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: