summaryrefslogtreecommitdiffstats
path: root/Tests/Module
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2021-01-28 14:03:01 (GMT)
committerKitware Robot <kwrobot@kitware.com>2021-01-28 14:03:10 (GMT)
commitb369aee24d4c79ce263eaa4badb4f840ee5f0a2e (patch)
tree77e895a2bf62106d08681f4ed1a3668e7e345896 /Tests/Module
parentc498a8ad0bd8c4eaec5cecff67d04412386495b6 (diff)
parent4de28ba4e6348f99de57bd2961b00dcd4cda213b (diff)
downloadCMake-b369aee24d4c79ce263eaa4badb4f840ee5f0a2e.zip
CMake-b369aee24d4c79ce263eaa4badb4f840ee5f0a2e.tar.gz
CMake-b369aee24d4c79ce263eaa4badb4f840ee5f0a2e.tar.bz2
Merge topic 'nvhpc-compiler'
4de28ba4e6 Tests: Update tests for NVHPC compiler 90502d76b7 FindOpenMP: Add support for NVHPC compiler 76dee5831b FindOpenACC: Add support for NVHPC compiler ff7bab83c2 GenerateExportHeader: Add support for NVHPC compiler 83ea49818f NVHPC: Add support for NVIDIA HPC SDK compilers based on PGI Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5475
Diffstat (limited to 'Tests/Module')
-rw-r--r--Tests/Module/WriteCompilerDetectionHeader/CMakeLists.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/Tests/Module/WriteCompilerDetectionHeader/CMakeLists.txt b/Tests/Module/WriteCompilerDetectionHeader/CMakeLists.txt
index cffef5a..7339222 100644
--- a/Tests/Module/WriteCompilerDetectionHeader/CMakeLists.txt
+++ b/Tests/Module/WriteCompilerDetectionHeader/CMakeLists.txt
@@ -52,7 +52,7 @@ endmacro()
# detailed features tables, not just meta-features
if (CMAKE_C_COMPILE_FEATURES)
- if(NOT CMAKE_C_COMPILER_ID MATCHES "^(Cray|PGI|XL|XLClang)$")
+ if(NOT CMAKE_C_COMPILER_ID MATCHES "^(Cray|PGI|NVHPC|XL|XLClang)$")
set(C_expected_features ${CMAKE_C_COMPILE_FEATURES})
list(FILTER C_expected_features EXCLUDE REGEX "^c_std_[0-9][0-9]")
endif()
@@ -95,7 +95,7 @@ if (C_expected_features)
endif()
if (CMAKE_CXX_COMPILE_FEATURES)
- if(NOT CMAKE_CXX_COMPILER_ID MATCHES "^(Cray|PGI|XL|XLClang)$")
+ if(NOT CMAKE_CXX_COMPILER_ID MATCHES "^(Cray|PGI|NVHPC|XL|XLClang)$")
set(CXX_expected_features ${CMAKE_CXX_COMPILE_FEATURES})
list(FILTER CXX_expected_features EXCLUDE REGEX "^cxx_std_[0-9][0-9]")
endif()