Browse Source

Add cmake-based arm64 xbuild to Azure CI

pull/4247/head
Martin Kroeker GitHub 2 years ago
parent
commit
257bd65b2e
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 16 additions and 0 deletions
  1. +16
    -0
      azure-pipelines.yml

+ 16
- 0
azure-pipelines.yml View File

@@ -284,6 +284,22 @@ jobs:
/Applications/Xcode_11.7.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang --version
make TARGET=ARMV8 DYNAMIC_ARCH=1 NUM_THREADS=32 HOSTCC=clang NOFORTRAN=1

- job: OSX_xbuild_DYN_ARM64_cmake
pool:
vmImage: 'macOS-11'
variables:
CC: /Applications/Xcode_12.5.1.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang
CFLAGS: -O2 -Wno-macro-redefined -isysroot /Applications/Xcode_12.5.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk -arch arm64
steps:
- script: |
ls /Applications/Xcode_12.5.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs
/Applications/Xcode_12.5.1.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -arch arm64 --print-supported-cpus
/Applications/Xcode_11.7.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang --version
mkdir build
cd build
cmake -DTARGET=ARMV8 -DDYNAMIC_ARCH=1 -DNUM_THREADS=32 NOFORTRAN=1 ..
make

- job: ALPINE_MUSL
pool:
vmImage: 'ubuntu-latest'


Loading…
Cancel
Save