From 9aed94de6d78beddb218baaebce809193b8160fc Mon Sep 17 00:00:00 2001 From: Martin Kroeker Date: Fri, 17 Apr 2026 12:23:14 +0200 Subject: [PATCH] Update flang to 22 (requiring newer cmake and Visual Studio 2017 too) --- .appveyor.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.appveyor.yml b/.appveyor.yml index 3d985e94a..2cd6cf760 100644 --- a/.appveyor.yml +++ b/.appveyor.yml @@ -19,15 +19,16 @@ environment: install: - call %CONDA_INSTALL_LOCN%\Scripts\activate.bat # - conda config --set auto_update_conda false - - conda install -c conda-forge --yes --quiet flang=11.0.1 jom - - call "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" amd64 + - conda install -c conda-forge --yes --quiet flang flang-rt_win-64 cmake ninja + - call "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvarsall.bat" amd64 - set "LIB=%CONDA_INSTALL_LOCN%\Library\lib;%LIB%" - set "CPATH=%CONDA_INSTALL_LOCN%\Library\include;%CPATH%" before_build: - ps: if (-Not (Test-Path .\build)) { mkdir build } - cd build - - cmake -G "NMake Makefiles JOM" -DCMAKE_Fortran_COMPILER=flang -DCMAKE_BUILD_TYPE=Release -DBUILD_TESTING=ON .. + - cmake -G "Ninja" -DCMAKE_Fortran_COMPILER=flang -DCMAKE_BUILD_TYPE=Release -DBUILD_TESTING=ON .. +# - cmake -G "NMake Makefiles JOM" -DCMAKE_Fortran_COMPILER=flang -DCMAKE_BUILD_TYPE=Release -DBUILD_TESTING=ON .. build_script: - cmake --build .