Selaa lähdekoodia

Tests: Update Module.WriteCompilerDetectionHeader for IntelLLVM

Brad King 4 vuotta sitten
vanhempi
sitoutus
f26f10184f
1 muutettua tiedostoa jossa 2 lisäystä ja 2 poistoa
  1. 2 2
      Tests/Module/WriteCompilerDetectionHeader/CMakeLists.txt

+ 2 - 2
Tests/Module/WriteCompilerDetectionHeader/CMakeLists.txt

@@ -52,7 +52,7 @@ endmacro()
 # detailed features tables, not just meta-features
 # detailed features tables, not just meta-features
 
 
 if (CMAKE_C_COMPILE_FEATURES)
 if (CMAKE_C_COMPILE_FEATURES)
-  if(NOT CMAKE_C_COMPILER_ID MATCHES "^(Cray|PGI|NVHPC|XL|XLClang)$")
+  if(NOT CMAKE_C_COMPILER_ID MATCHES "^(Cray|PGI|NVHPC|XL|XLClang|IntelLLVM)$")
     set(C_expected_features ${CMAKE_C_COMPILE_FEATURES})
     set(C_expected_features ${CMAKE_C_COMPILE_FEATURES})
     list(FILTER C_expected_features EXCLUDE REGEX "^c_std_[0-9][0-9]")
     list(FILTER C_expected_features EXCLUDE REGEX "^c_std_[0-9][0-9]")
   endif()
   endif()
@@ -95,7 +95,7 @@ if (C_expected_features)
 endif()
 endif()
 
 
 if (CMAKE_CXX_COMPILE_FEATURES)
 if (CMAKE_CXX_COMPILE_FEATURES)
-  if(NOT CMAKE_CXX_COMPILER_ID MATCHES "^(Cray|PGI|NVHPC|XL|XLClang)$")
+  if(NOT CMAKE_CXX_COMPILER_ID MATCHES "^(Cray|PGI|NVHPC|XL|XLClang|IntelLLVM)$")
     set(CXX_expected_features ${CMAKE_CXX_COMPILE_FEATURES})
     set(CXX_expected_features ${CMAKE_CXX_COMPILE_FEATURES})
     list(FILTER CXX_expected_features EXCLUDE REGEX "^cxx_std_[0-9][0-9]")
     list(FILTER CXX_expected_features EXCLUDE REGEX "^cxx_std_[0-9][0-9]")
   endif()
   endif()