Add an M1-bases crossbuild and a NeoverseN1 build

This commit is contained in:
Martin Kroeker 2023-04-07 20:00:36 +02:00 committed by GitHub
parent 654d87d73a
commit dd69e138a6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 25 additions and 0 deletions

View File

@ -2,9 +2,34 @@ macos_instance:
image: ghcr.io/cirruslabs/macos-monterey-xcode:latest image: ghcr.io/cirruslabs/macos-monterey-xcode:latest
task: task:
name: AppleM1/LLVM
compile_script: compile_script:
- brew install llvm - brew install llvm
- 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"
- make TARGET=VORTEX USE_OPENMP=1 CC=clang - make TARGET=VORTEX USE_OPENMP=1 CC=clang
task:
name: AppleM1/LLVM x86_64 xbuild
compile_script:
- brew install llvm
- 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=HASWELL USE_OPENMP=1 CC="/opt/homebrew/opt/llvm/bin/clang -arch x86_64"
# always:
# config_artifacts:
# path: "*conf*"
# type: text/plain
# lib_artifacts:
# path: "libopenblas*"
# type: application/octet-stream
arm_container:
image: node:latest
task:
name: Graviton2
compile_script:
- make