Update azure-pipelines.yml

This commit is contained in:
Martin Kroeker 2022-02-09 13:37:46 +01:00 committed by GitHub
parent 4a863f83b2
commit 712d702646
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 4 deletions

View File

@ -183,19 +183,18 @@ jobs:
pool:
vmImage: 'macOS-11'
variables:
LD_LIBRARY_PATH: /usr/local/opt/llvm/lib
LIBRARY_PATH: /usr/local/opt/llvm/lib
LD_LIBRARY_PATH: /usr/local/opt/llvm/lib:$(LD_LIBRARY_PATH)
LIBRARY_PATH: /usr/local/opt/llvm/lib:$(LIBRARY_PATH)
steps:
- script: |
brew update
brew install llvm stow libpthread-stubs
sudo mkdir /usr/local/stow
sudo wget -P /usr/local/stow https://github.com/meow464/flang/releases/download/flang_20210324/flang.tar
sudo wget -q -P /usr/local/stow https://github.com/meow464/flang/releases/download/flang_20210324/flang.tar
cd /usr/local/stow
sudo tar xf flang.tar
sudo stow flang
cd -
find / -name "libpthread.*"
make CC=/usr/local/opt/llvm/bin/clang FC=/usr/local/bin/flang
- job: OSX_Ifort_Clang