From c8af1cc27b9c05c3bfe5b2373b5941f6d3c93894 Mon Sep 17 00:00:00 2001 From: Martin Kroeker Date: Wed, 29 Jan 2025 22:02:13 +0100 Subject: [PATCH] Update azure-pipelines.yml --- azure-pipelines.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 48228e807..26aad50f2 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -175,7 +175,11 @@ jobs: - script: | brew update brew install llvm flang - /usr/local/Cellar/flang/19.1.7_1/bin/flang-new -v + data=`/usr/local/Cellar/flang/19.1.7_1/bin/flang-new -v 2>&1 > /dev/null ` + v="${data#*version *}" + v="${v%%*.}" + major="${v%%.*}" + echo $major make TARGET=NEHALEM CC=/usr/local/opt/llvm/bin/clang FC=/usr/local/Cellar/flang/19.1.7_1/bin/flang-new - job: OSX_OpenMP_Clang