From 3f7b3bbe8be36de742ab958a828879c5258a6a88 Mon Sep 17 00:00:00 2001 From: Martin Kroeker Date: Tue, 26 Sep 2023 17:30:03 +0200 Subject: [PATCH] Update .cirrus.yml --- .cirrus.yml | 22 +++++++++++++++------- 1 file changed, 15 insertions(+), 7 deletions(-) diff --git a/.cirrus.yml b/.cirrus.yml index f7a39b455..78e16d835 100644 --- a/.cirrus.yml +++ b/.cirrus.yml @@ -4,17 +4,25 @@ macos_instance: task: name: AppleM1/LLVM compile_script: - - xcodebuild -version - - ls -l /Applications - - ls -l /Applications/Xcode-14.0.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/ - - export CC=/Applications/Xcode-14.0.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang - - export CFLAGS="-O2 -unwindlib=none -Wno-macro-redefined -isysroot /Applications/Xcode-14.0.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk" - - make TARGET=VORTEX FC=gfortran + - brew install llvm@16 + - export PATH=/opt/homebrew/opt/llvm/bin:$PATH + - export LDFLAGS="-L/opt/homebrew/opt/llvm/lib" + - export CPPFLAGS="-I/opt/homebrew/opt/llvm/include" + - make TARGET=VORTEX CC=clang FC=gfortran + +task: + name: AppleM1/LLVM17 + compile_script: + - brew install llvm@17 + - export PATH=/opt/homebrew/opt/llvm/bin:$PATH + - export LDFLAGS="-L/opt/homebrew/opt/llvm/lib" + - export CPPFLAGS="-I/opt/homebrew/opt/llvm/include" + - make TARGET=VORTEX CC=clang FC=flang-new task: name: AppleM1/LLVM/ILP64 compile_script: - - brew install llvm + - brew install llvm@16 - export PATH=/opt/homebrew/opt/llvm/bin:$PATH - export LDFLAGS="-L/opt/homebrew/opt/llvm/lib" - export CPPFLAGS="-I/opt/homebrew/opt/llvm/include"