From 608cfa98504eeb2f7031cf20abfe085eb041d8cb Mon Sep 17 00:00:00 2001 From: Martin Kroeker Date: Fri, 26 May 2023 22:44:02 +0200 Subject: [PATCH 01/10] enable sharedvlibs in windows/clang/cmake job --- azure-pipelines.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 16b9da4f59..2f76785351 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -115,7 +115,7 @@ jobs: mkdir build cd build call "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvars64.bat" - cmake -G "Ninja" -DCMAKE_C_COMPILER=clang-cl -DCMAKE_CXX_COMPILER=clang-cl -DCMAKE_Fortran_COMPILER=flang -DBUILD_TESTING=OFF -DCMAKE_MT=mt -DCMAKE_BUILD_TYPE=Release -DMSVC_STATIC_CRT=ON .. + cmake -G "Ninja" -DCMAKE_C_COMPILER=clang-cl -DCMAKE_CXX_COMPILER=clang-cl -DCMAKE_Fortran_COMPILER=flang -DBUILD_TESTING=OFF -DCMAKE_MT=mt -DCMAKE_BUILD_TYPE=Release -DMSVC_STATIC_CRT=ON -DBUILD_SHARED_LIBS=ON.. cmake --build . --config Release ctest From b6a9afb22bdc93498436c3fbd8fc67b3ce8a62b9 Mon Sep 17 00:00:00 2001 From: Martin Kroeker Date: Fri, 26 May 2023 23:17:44 +0200 Subject: [PATCH 02/10] Update azure-pipelines.yml --- azure-pipelines.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 2f76785351..7bc6c13e12 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -115,7 +115,7 @@ jobs: mkdir build cd build call "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvars64.bat" - cmake -G "Ninja" -DCMAKE_C_COMPILER=clang-cl -DCMAKE_CXX_COMPILER=clang-cl -DCMAKE_Fortran_COMPILER=flang -DBUILD_TESTING=OFF -DCMAKE_MT=mt -DCMAKE_BUILD_TYPE=Release -DMSVC_STATIC_CRT=ON -DBUILD_SHARED_LIBS=ON.. + cmake -G "Ninja" -DCMAKE_C_COMPILER=clang-cl -DCMAKE_CXX_COMPILER=clang-cl -DCMAKE_Fortran_COMPILER=flang -DBUILD_TESTING=OFF -DCMAKE_MT=mt -DCMAKE_BUILD_TYPE=Release -DMSVC_STATIC_CRT=ON -DBUILD_SHARED_LIBS=ON .. cmake --build . --config Release ctest From f1d62104de44f3a2a1d24e3a5e6f58f00dcbc371 Mon Sep 17 00:00:00 2001 From: Martin Kroeker Date: Sat, 27 May 2023 15:34:58 +0200 Subject: [PATCH 03/10] Update azure-pipelines.yml --- azure-pipelines.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 7bc6c13e12..92b33bf4a5 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -16,7 +16,7 @@ resources: jobs: # manylinux1 is useful to test because the # standard Docker container uses an old version -# of gcc / glibc +# of gcc / glibc - job: manylinux1_gcc pool: vmImage: 'ubuntu-latest' @@ -115,7 +115,7 @@ jobs: mkdir build cd build call "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvars64.bat" - cmake -G "Ninja" -DCMAKE_C_COMPILER=clang-cl -DCMAKE_CXX_COMPILER=clang-cl -DCMAKE_Fortran_COMPILER=flang -DBUILD_TESTING=OFF -DCMAKE_MT=mt -DCMAKE_BUILD_TYPE=Release -DMSVC_STATIC_CRT=ON -DBUILD_SHARED_LIBS=ON .. + cmake -G "Ninja" -DCMAKE_C_COMPILER=clang-cl -DCMAKE_CXX_COMPILER=clang-cl -DCMAKE_Fortran_COMPILER=flang -DBUILD_TESTING=OFF -DCMAKE_MT=mt -DCMAKE_BUILD_TYPE=Release -DMSVC_STATIC_CRT=ON -DBUILD_SHARED_LIBS=ON -DDYNAMIC_ARCH=ON .. cmake --build . --config Release ctest From 525f88277602b1a6191c858702d228e6ef4b9a1d Mon Sep 17 00:00:00 2001 From: Martin Kroeker Date: Sat, 27 May 2023 18:11:49 +0200 Subject: [PATCH 04/10] Update and rename azure-pipelines.yml to azure-pipelines.yml --- azure-pipelines.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 92b33bf4a5..ecdb488710 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -115,7 +115,7 @@ jobs: mkdir build cd build call "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvars64.bat" - cmake -G "Ninja" -DCMAKE_C_COMPILER=clang-cl -DCMAKE_CXX_COMPILER=clang-cl -DCMAKE_Fortran_COMPILER=flang -DBUILD_TESTING=OFF -DCMAKE_MT=mt -DCMAKE_BUILD_TYPE=Release -DMSVC_STATIC_CRT=ON -DBUILD_SHARED_LIBS=ON -DDYNAMIC_ARCH=ON .. + cmake -G "Ninja" -DCMAKE_C_COMPILER=clang-cl -DCMAKE_CXX_COMPILER=clang-cl -DCMAKE_Fortran_COMPILER=flang -DBUILD_TESTING=OFF -DCMAKE_MT=mt -DCMAKE_BUILD_TYPE=Release -DMSVC_STATIC_CRT=ON -DBUILD_SHARED_LIBS=ON -DDYNAMIC_ARCH=ON -DDYNAMIC_LIST='HASWELL SKYLAKEX' .. cmake --build . --config Release ctest From bff7cfbf11c7df39a6d401fe09509b154a7865af Mon Sep 17 00:00:00 2001 From: Martin Kroeker Date: Sat, 27 May 2023 23:13:00 +0200 Subject: [PATCH 05/10] Update azure-pipelines.yml --- azure-pipelines.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index ecdb488710..44bf2acb4d 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -115,7 +115,7 @@ jobs: mkdir build cd build call "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvars64.bat" - cmake -G "Ninja" -DCMAKE_C_COMPILER=clang-cl -DCMAKE_CXX_COMPILER=clang-cl -DCMAKE_Fortran_COMPILER=flang -DBUILD_TESTING=OFF -DCMAKE_MT=mt -DCMAKE_BUILD_TYPE=Release -DMSVC_STATIC_CRT=ON -DBUILD_SHARED_LIBS=ON -DDYNAMIC_ARCH=ON -DDYNAMIC_LIST='HASWELL SKYLAKEX' .. + cmake -G "Ninja" -DCMAKE_C_COMPILER=clang-cl -DCMAKE_CXX_COMPILER=clang-cl -DCMAKE_Fortran_COMPILER=flang -DBUILD_TESTING=OFF -DCMAKE_MT=mt -DCMAKE_BUILD_TYPE=Release -DMSVC_STATIC_CRT=ON -DBUILD_SHARED_LIBS=ON -DDYNAMIC_ARCH=ON -DDYNAMIC_LIST="HASWELL SKYLAKEX" .. cmake --build . --config Release ctest From 2dac6f17020f678b2325f318ffa3dc31c745a2ea Mon Sep 17 00:00:00 2001 From: Martin Kroeker Date: Sun, 28 May 2023 13:03:21 +0200 Subject: [PATCH 06/10] fix DYNAMIC_LIST syntax --- azure-pipelines.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 44bf2acb4d..26231dd166 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -115,7 +115,7 @@ jobs: mkdir build cd build call "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvars64.bat" - cmake -G "Ninja" -DCMAKE_C_COMPILER=clang-cl -DCMAKE_CXX_COMPILER=clang-cl -DCMAKE_Fortran_COMPILER=flang -DBUILD_TESTING=OFF -DCMAKE_MT=mt -DCMAKE_BUILD_TYPE=Release -DMSVC_STATIC_CRT=ON -DBUILD_SHARED_LIBS=ON -DDYNAMIC_ARCH=ON -DDYNAMIC_LIST="HASWELL SKYLAKEX" .. + cmake -G "Ninja" -DCMAKE_C_COMPILER=clang-cl -DCMAKE_CXX_COMPILER=clang-cl -DCMAKE_Fortran_COMPILER=flang -DBUILD_TESTING=OFF -DCMAKE_MT=mt -DCMAKE_BUILD_TYPE=Release -DMSVC_STATIC_CRT=ON -DBUILD_SHARED_LIBS=ON -DDYNAMIC_ARCH=ON -DDYNAMIC_LIST='HASWELL;SKYLAKEX' .. cmake --build . --config Release ctest @@ -204,7 +204,7 @@ jobs: - script: | mkdir build cd build - cmake -DTARGET=CORE2 -DDYNAMIC_ARCH=1 -DDYNAMIC_LIST='NEHALEM HASWELL SKYLAKEX' -DCMAKE_C_COMPILER=gcc-10 -DCMAKE_Fortran_COMPILER=gfortran-10 -DBUILD_SHARED_LIBS=ON .. + cmake -DTARGET=CORE2 -DDYNAMIC_ARCH=1 -DDYNAMIC_LIST='NEHALEM;HASWELL;SKYLAKEX' -DCMAKE_C_COMPILER=gcc-10 -DCMAKE_Fortran_COMPILER=gfortran-10 -DBUILD_SHARED_LIBS=ON .. cmake --build . ctest From 2b053601a3f9640a052277937746985fd912a4f5 Mon Sep 17 00:00:00 2001 From: Martin Kroeker Date: Sun, 28 May 2023 14:27:16 +0200 Subject: [PATCH 07/10] rerun failed ctests with output enabled --- azure-pipelines.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 26231dd166..7c91ec5ed0 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -118,6 +118,7 @@ jobs: cmake -G "Ninja" -DCMAKE_C_COMPILER=clang-cl -DCMAKE_CXX_COMPILER=clang-cl -DCMAKE_Fortran_COMPILER=flang -DBUILD_TESTING=OFF -DCMAKE_MT=mt -DCMAKE_BUILD_TYPE=Release -DMSVC_STATIC_CRT=ON -DBUILD_SHARED_LIBS=ON -DDYNAMIC_ARCH=ON -DDYNAMIC_LIST='HASWELL;SKYLAKEX' .. cmake --build . --config Release ctest + ctest --rerun-failed --output-on-failure - job: Windows_cl_flang pool: From e75d8a8165a3fa3a9fa45d2eaf6879f264c486d1 Mon Sep 17 00:00:00 2001 From: Martin Kroeker Date: Mon, 29 May 2023 17:24:11 +0200 Subject: [PATCH 08/10] Update azure-pipelines.yml --- azure-pipelines.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 7c91ec5ed0..3fd637a645 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -109,6 +109,7 @@ jobs: set "PATH=C:\Miniconda\Scripts;C:\Miniconda\Library\bin;C:\Miniconda\Library\usr\bin;C:\Miniconda\condabin;%PATH%" set "LIB=C:\Miniconda\Library\lib;%LIB%" set "CPATH=C:\Miniconda\Library\include;%CPATH%" + set "OPENBLAS_VERBOSE=2" conda config --add channels conda-forge --force conda config --set auto_update_conda false conda install --yes --quiet ninja flang From 75720c36ab85d3d01dd7dc14ba1110ba70b73294 Mon Sep 17 00:00:00 2001 From: Martin Kroeker Date: Mon, 29 May 2023 20:03:20 +0200 Subject: [PATCH 09/10] Update azure-pipelines.yml --- azure-pipelines.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 3fd637a645..a29058bce2 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -118,6 +118,8 @@ jobs: call "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvars64.bat" cmake -G "Ninja" -DCMAKE_C_COMPILER=clang-cl -DCMAKE_CXX_COMPILER=clang-cl -DCMAKE_Fortran_COMPILER=flang -DBUILD_TESTING=OFF -DCMAKE_MT=mt -DCMAKE_BUILD_TYPE=Release -DMSVC_STATIC_CRT=ON -DBUILD_SHARED_LIBS=ON -DDYNAMIC_ARCH=ON -DDYNAMIC_LIST='HASWELL;SKYLAKEX' .. cmake --build . --config Release + ls + cp lib/*.dll ctest ctest ctest --rerun-failed --output-on-failure From cd2c64480de2cb56de4a8c08c18f58f9c1186b9b Mon Sep 17 00:00:00 2001 From: Martin Kroeker Date: Tue, 30 May 2023 18:36:26 +0200 Subject: [PATCH 10/10] Update azure-pipelines.yml --- azure-pipelines.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index a29058bce2..08f9765fee 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -120,6 +120,8 @@ jobs: cmake --build . --config Release ls cp lib/*.dll ctest + cp lib/*.dll test + ls test ctest ctest --rerun-failed --output-on-failure