This repository was archived by the owner on Mar 21, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +1
-17
lines changed Expand file tree Collapse file tree 3 files changed +1
-17
lines changed Original file line number Diff line number Diff line change @@ -2,14 +2,6 @@ thrust_update_system_found_flags()
2
2
3
3
set (extra_cmake_flags)
4
4
5
- # Need to pass these when testing NVC++.
6
- if ("NVCXX" STREQUAL "${CMAKE_CUDA_COMPILER_ID} " )
7
- set (extra_cmake_flags
8
- -D "CMAKE_CUDA_COMPILER_ID=${CMAKE_CUDA_COMPILER_ID} "
9
- -D "CMAKE_CUDA_COMPILER_FORCED=${CMAKE_CUDA_COMPILER_FORCED} "
10
- )
11
- endif ()
12
-
13
5
if (THRUST_CPP_FOUND AND THRUST_CUDA_FOUND)
14
6
# Do a basic check of the cmake/ThrustAddSubdir.cmake mechanism:
15
7
add_test (
Original file line number Diff line number Diff line change @@ -2,14 +2,6 @@ thrust_update_system_found_flags()
2
2
3
3
set (extra_cmake_flags)
4
4
5
- # Need to pass these when testing NVC++.
6
- if ("NVCXX" STREQUAL "${CMAKE_CUDA_COMPILER_ID} " )
7
- set (extra_cmake_flags
8
- -D "CMAKE_CUDA_COMPILER_ID=${CMAKE_CUDA_COMPILER_ID} "
9
- -D "CMAKE_CUDA_COMPILER_FORCED=${CMAKE_CUDA_COMPILER_FORCED} "
10
- )
11
- endif ()
12
-
13
5
if (THRUST_CPP_FOUND AND THRUST_CUDA_FOUND)
14
6
# Test that we can use `find_package` on an installed Thrust:
15
7
add_test (
Original file line number Diff line number Diff line change @@ -5,6 +5,6 @@ target_link_libraries(${test_target} PRIVATE thrust.silence_unreachable_code_war
5
5
6
6
# The machinery behind this test is not compatible with NVC++.
7
7
# See https://github.com/NVIDIA/thrust/issues/1397
8
- if ("NVCXX " STREQUAL "${CMAKE_CUDA_COMPILER_ID} " )
8
+ if ("NVHPC " STREQUAL "${CMAKE_CUDA_COMPILER_ID} " )
9
9
set_tests_properties (${test_target} PROPERTIES DISABLED True )
10
10
endif ()
You can’t perform that action at this time.
0 commit comments