ci: Test Windows Clang modules without a developer environment

This commit is contained in:
Vito Gamberini authored and Brad King committed 2026-10-05 10:02:48 -04:00
1 parent 23df9ff972
commit 54dcd459ff
3 files changed
+3 -1

No files matched your search

@@ -0,0 +1 @@
set(CMake_TEST_MODULE_COMPILATION "named,compile_commands,collation,partitions,internal_partitions,export_bmi,install_bmi,shared,bmionly,build_database,import_std23" CACHE STRING "")
@@ -1,7 +1,7 @@
set(CMake_TEST_MODULE_COMPILATION "named,compile_commands,collation,partitions,internal_partitions,export_bmi,install_bmi,shared,bmionly,build_database,import_std23" CACHE STRING "")
if("$ENV{CMAKE_CI_BUILD_NAME}" MATCHES "(^|_)cl(_|$)")
set(CMAKE_Fortran_COMPILER "flang" CACHE STRING "")
set(CMAKE_Fortran_COMPILER_ID "LLVMFlang" CACHE STRING "")
set(CMAKE_Fortran_COMPILER_SUPPORTS_F90 "1" CACHE BOOL "")
endif()
include("${CMAKE_CURRENT_LIST_DIR}/configure_windows_clang_cxx_modules_common.cmake")
include("${CMAKE_CURRENT_LIST_DIR}/configure_windows_clang_common.cmake")
@@ -5,4 +5,5 @@ set(CMake_TEST_FindOpenMP "OFF" CACHE BOOL "")
set(CMake_TEST_ASM_MASM "OFF" CACHE BOOL "")
set(CMake_TEST_ASM_MARMASM "OFF" CACHE BOOL "")
include("${CMAKE_CURRENT_LIST_DIR}/configure_windows_clang_cxx_modules_common.cmake")
include("${CMAKE_CURRENT_LIST_DIR}/configure_windows_clang_common.cmake")