From a96e0b3fe4e554069c0bf56b3aaeba1c86b4ba17 Mon Sep 17 00:00:00 2001 From: Martin Kroeker Date: Sun, 25 Oct 2026 11:59:39 +0100 Subject: [PATCH 1/2] Clamp Windows flang to 23.1.3 as the current conda 23.1.4 lacks modules --- azure-pipelines.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 4f4045bda4..866a79597f 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -142,7 +142,7 @@ jobs: $env:CPATH = "C:\Miniconda\Library\include;$env:CPATH" conda config --add channels conda-forge --force conda config --set auto_update_conda false - conda install --yes --quiet ninja flang flang-rt_win-64 + conda install --yes --quiet ninja flang=23.1.3 flang-rt_win-64=23.1.3 $vs = & "${env:ProgramFiles(x86)}\Microsoft Visual Studio\Installer\vswhere.exe" -latest -property installationPath & "$vs\Common7\Tools\Launch-VsDevShell.ps1" -Arch amd64 -HostArch amd64 -SkipAutomaticLocation mkdir build @@ -164,7 +164,7 @@ jobs: $env:CPATH = "C:\Miniconda\Library\include;$env:CPATH" conda config --add channels conda-forge --force conda config --set auto_update_conda false - conda install --yes --quiet ninja flang flang-rt_win-64 + conda install --yes --quiet ninja flang=23.1.3 flang-rt_win-64=23.1.3 $vs = & "${env:ProgramFiles(x86)}\Microsoft Visual Studio\Installer\vswhere.exe" -latest -property installationPath & "$vs\Common7\Tools\Launch-VsDevShell.ps1" -Arch amd64 -HostArch amd64 -SkipAutomaticLocation mkdir build From 47991fdca467bffeb7107b0ec0ac90357c972482 Mon Sep 17 00:00:00 2001 From: Martin Kroeker Date: Sun, 25 Oct 2026 12:32:53 +0100 Subject: [PATCH 2/2] go back to flang-22.1.8 on Windows as conda 23.1.3 lacks fortran modules too --- azure-pipelines.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 866a79597f..5ca45b51e4 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -142,7 +142,7 @@ jobs: $env:CPATH = "C:\Miniconda\Library\include;$env:CPATH" conda config --add channels conda-forge --force conda config --set auto_update_conda false - conda install --yes --quiet ninja flang=23.1.3 flang-rt_win-64=23.1.3 + conda install --yes --quiet ninja flang=22.1.8 flang-rt_win-64=22.1.8 $vs = & "${env:ProgramFiles(x86)}\Microsoft Visual Studio\Installer\vswhere.exe" -latest -property installationPath & "$vs\Common7\Tools\Launch-VsDevShell.ps1" -Arch amd64 -HostArch amd64 -SkipAutomaticLocation mkdir build @@ -164,7 +164,7 @@ jobs: $env:CPATH = "C:\Miniconda\Library\include;$env:CPATH" conda config --add channels conda-forge --force conda config --set auto_update_conda false - conda install --yes --quiet ninja flang=23.1.3 flang-rt_win-64=23.1.3 + conda install --yes --quiet ninja flang=22.1.8 flang-rt_win-64=22.1.8 $vs = & "${env:ProgramFiles(x86)}\Microsoft Visual Studio\Installer\vswhere.exe" -latest -property installationPath & "$vs\Common7\Tools\Launch-VsDevShell.ps1" -Arch amd64 -HostArch amd64 -SkipAutomaticLocation mkdir build