Update .cirrus.yml

This commit is contained in:
Martin Kroeker 2023-09-26 17:30:03 +02:00 committed by GitHub
parent e000b954ca
commit 3f7b3bbe8b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 15 additions and 7 deletions

View File

@ -4,17 +4,25 @@ macos_instance:
task: task:
name: AppleM1/LLVM name: AppleM1/LLVM
compile_script: compile_script:
- xcodebuild -version - brew install llvm@16
- ls -l /Applications - export PATH=/opt/homebrew/opt/llvm/bin:$PATH
- ls -l /Applications/Xcode-14.0.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/ - export LDFLAGS="-L/opt/homebrew/opt/llvm/lib"
- export CC=/Applications/Xcode-14.0.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang - export CPPFLAGS="-I/opt/homebrew/opt/llvm/include"
- 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 CC=clang FC=gfortran
- make TARGET=VORTEX 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: task:
name: AppleM1/LLVM/ILP64 name: AppleM1/LLVM/ILP64
compile_script: compile_script:
- brew install llvm - brew install llvm@16
- export PATH=/opt/homebrew/opt/llvm/bin:$PATH - export PATH=/opt/homebrew/opt/llvm/bin:$PATH
- export LDFLAGS="-L/opt/homebrew/opt/llvm/lib" - export LDFLAGS="-L/opt/homebrew/opt/llvm/lib"
- export CPPFLAGS="-I/opt/homebrew/opt/llvm/include" - export CPPFLAGS="-I/opt/homebrew/opt/llvm/include"