|
|
|
@@ -10,6 +10,18 @@ task: |
|
|
|
- export CPPFLAGS="-I/opt/homebrew/opt/llvm/include" |
|
|
|
- make TARGET=VORTEX USE_OPENMP=1 CC=clang |
|
|
|
|
|
|
|
task: |
|
|
|
name: AppleM1/LLVM/CMAKE |
|
|
|
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" |
|
|
|
- mkdir build |
|
|
|
- cd build |
|
|
|
- cmake -DTARGET=VORTEX -DUSE_OPENMP=1 -DCMAKE_C_COMPILER=clang -DBUILD_SHARED_LIBS=ON .. |
|
|
|
- make |
|
|
|
|
|
|
|
macos_instance: |
|
|
|
image: ghcr.io/cirruslabs/macos-monterey-xcode:13.4 |
|
|
|
task: |
|
|
|
@@ -47,8 +59,9 @@ task: |
|
|
|
- export #PATH=/opt/homebrew/opt/llvm/bin:$PATH |
|
|
|
- export #LDFLAGS="-L/opt/homebrew/opt/llvm/lib" |
|
|
|
- export #CPPFLAGS="-I/opt/homebrew/opt/llvm/include" |
|
|
|
- find /Applications/Xcode-13.4.1.app/Contents/Developer/Platforms -name "IPhoneOS*sdk" |
|
|
|
- export CC=/Applications/Xcode-13.4.1.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang |
|
|
|
- export CFLAGS="-O2 -unwindlib=none -Wno-macro-redefined -isysroot /Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneOS15.5.sdk -arch arm64 -miphoneos-version-min=10.0" |
|
|
|
- export CFLAGS="-O2 -unwindlib=none -Wno-macro-redefined -isysroot /Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.5.sdk -arch arm64 -miphoneos-version-min=10.0" |
|
|
|
- make TARGET=ARMV8 DYNAMIC_ARCH=1 NUM_THREADS=32 HOSTCC=clang NOFORTRAN=1 |
|
|
|
always: |
|
|
|
config_artifacts: |
|
|
|
|