mirror of
https://github.com/Kitware/CMake.git
synced 2025-10-14 10:47:59 +08:00
ci: Drop now-unnecessary Clang rules for CXXModules tests
Starting with LLVM/Clang 17 we can use C++ modules with compiler extensions enabled.
This commit is contained in:
@@ -1,4 +1,3 @@
|
||||
set(CMake_TEST_MODULE_COMPILATION "named,compile_commands,collation,partitions,internal_partitions,export_bmi,install_bmi,shared,bmionly" CACHE STRING "")
|
||||
set(CMake_TEST_MODULE_COMPILATION_RULES "${CMAKE_CURRENT_LIST_DIR}/cxx_modules_rules_clang.cmake" CACHE STRING "")
|
||||
|
||||
include("${CMAKE_CURRENT_LIST_DIR}/configure_fedora39_common_clang.cmake")
|
||||
|
@@ -1,4 +1,3 @@
|
||||
set(CMake_TEST_MODULE_COMPILATION "named,compile_commands,collation,partitions,internal_partitions,export_bmi,install_bmi,shared,bmionly" CACHE STRING "")
|
||||
set(CMake_TEST_MODULE_COMPILATION_RULES "${CMAKE_CURRENT_LIST_DIR}/cxx_modules_rules_clang.cmake" CACHE STRING "")
|
||||
|
||||
include("${CMAKE_CURRENT_LIST_DIR}/configure_fedora39_common_clang.cmake")
|
||||
|
@@ -1,5 +1,4 @@
|
||||
if("$ENV{CMAKE_CI_BUILD_NAME}" MATCHES "(^|_)gnu(_|$)")
|
||||
set(CMake_TEST_MODULE_COMPILATION "named,compile_commands,collation,partitions,internal_partitions,export_bmi,install_bmi,shared,bmionly" CACHE STRING "")
|
||||
set(CMake_TEST_MODULE_COMPILATION_RULES "${CMAKE_CURRENT_LIST_DIR}/cxx_modules_rules_clang.cmake" CACHE STRING "")
|
||||
endif()
|
||||
include("${CMAKE_CURRENT_LIST_DIR}/configure_windows_clang_common.cmake")
|
||||
|
@@ -1,3 +0,0 @@
|
||||
# Default to C++ extensions being off. Clang's modules support have trouble
|
||||
# with extensions right now.
|
||||
set(CMAKE_CXX_EXTENSIONS OFF)
|
Reference in New Issue
Block a user