From 1123e2947e085427fdaac69314d4afb5ffce1912 Mon Sep 17 00:00:00 2001 From: mattip Date: Mon, 25 Jul 2022 15:13:26 +0300 Subject: [PATCH 1/5] BUILD: use macos-11 image on azure, macos-1015 is deprecated --- azure-pipelines.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 1c3b06ffbd9f..429db398767b 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -111,7 +111,7 @@ stages: # the docs even though i.e., numba uses another in their # azure config for mac os -- Microsoft has indicated # they will patch this issue - vmImage: 'macOS-1015' + vmImage: 'macOS-11' strategy: maxParallel: 3 matrix: From 81842f68c22f053fbbef22c1e372b2e969bbdf91 Mon Sep 17 00:00:00 2001 From: mattip Date: Tue, 16 Aug 2022 17:57:02 +0300 Subject: [PATCH 2/5] add LIBRARY_PATH --- azure-pipelines.yml | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 429db398767b..2f8277852f3f 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -104,13 +104,6 @@ stages: - job: macOS pool: - # NOTE: at time of writing, there is a danger - # that using an invalid vmIMage string for macOS - # image silently redirects to a Windows build on Azure; - # for now, use the only image name officially present in - # the docs even though i.e., numba uses another in their - # azure config for mac os -- Microsoft has indicated - # they will patch this issue vmImage: 'macOS-11' strategy: maxParallel: 3 @@ -208,6 +201,8 @@ stages: - script: python runtests.py -n --mode=full -- -rsx --junitxml=junit/test-results.xml displayName: 'Run Full NumPy Test Suite' condition: eq(variables['USE_OPENBLAS'], '1') + env: + LIBRARY_PATH: /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/lib - bash: python tools/openblas_support.py --check_version displayName: 'Verify OpenBLAS version' condition: eq(variables['USE_OPENBLAS'], '1') From 07a4352d21fbd27c15fa49816a2d28323a242eff Mon Sep 17 00:00:00 2001 From: mattip Date: Tue, 16 Aug 2022 21:21:19 +0300 Subject: [PATCH 3/5] add debug printing --- azure-pipelines.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 2f8277852f3f..c15253e8d44d 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -198,7 +198,11 @@ stages: - script: python runtests.py -g --refguide-check displayName: 'Run Refguide Check' condition: eq(variables['USE_OPENBLAS'], '1') - - script: python runtests.py -n --mode=full -- -rsx --junitxml=junit/test-results.xml + - script: | + echo LIBRARY_PATH ${LIBRARY_PATH} + echo ls LIBRARY_PATH + ls ${LIBRARY_PATH} + python runtests.py -n --mode=full -- -rsx --junitxml=junit/test-results.xml displayName: 'Run Full NumPy Test Suite' condition: eq(variables['USE_OPENBLAS'], '1') env: From 2e950b2f53bb367d56fbe0a10057af510c7f3cdb Mon Sep 17 00:00:00 2001 From: mattip Date: Tue, 16 Aug 2022 22:23:20 +0300 Subject: [PATCH 4/5] remove part of CI debugging --- azure-pipelines.yml | 2 -- 1 file changed, 2 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index c15253e8d44d..88a55bbb2af9 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -200,8 +200,6 @@ stages: condition: eq(variables['USE_OPENBLAS'], '1') - script: | echo LIBRARY_PATH ${LIBRARY_PATH} - echo ls LIBRARY_PATH - ls ${LIBRARY_PATH} python runtests.py -n --mode=full -- -rsx --junitxml=junit/test-results.xml displayName: 'Run Full NumPy Test Suite' condition: eq(variables['USE_OPENBLAS'], '1') From d7b407a8abd3c45ef79000bd941a5359b727b2a0 Mon Sep 17 00:00:00 2001 From: mattip Date: Fri, 19 Aug 2022 07:53:58 +0300 Subject: [PATCH 5/5] add comment from review --- azure-pipelines.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 88a55bbb2af9..30ecfdac79b0 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -204,6 +204,7 @@ stages: displayName: 'Run Full NumPy Test Suite' condition: eq(variables['USE_OPENBLAS'], '1') env: + # gfortran installed above adds -lSystem, so this is needed to find it (gh-22043) LIBRARY_PATH: /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/lib - bash: python tools/openblas_support.py --check_version displayName: 'Verify OpenBLAS version'