Browse Source

Add OSX build job with Homebrew OpenMP in a CMAKE build

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

+ 15
- 0
azure-pipelines.yml View File

@@ -104,6 +104,21 @@ jobs:
brew install llvm libomp
make TARGET=CORE2 USE_OPENMP=1 INTERFACE64=1 DYNAMIC_ARCH=1 CC=/usr/local/opt/llvm/bin/clang FC=gfortran-10

- job: OSX_OpenMP_Clang_cmake
pool:
vmImage: 'macOS-10.15'
variables:
LD_LIBRARY_PATH: /usr/local/opt/llvm/lib
LIBRARY_PATH: /usr/local/opt/llvm/lib
steps:
- script: |
brew update
brew install llvm libomp
mkdir build
cd build
cmake -DTARGET=CORE2 -DUSE_OPENMP=1 -DINTERFACE64=1 -DDYNAMIC_ARCH=1 -DCMAKE_C_COMPILER=/usr/local/opt/llvm/bin/clang -DNOFORTRAN=1 ..
make
- job: OSX_Ifort_Clang
pool:
vmImage: 'macOS-10.15'


Loading…
Cancel
Save