diff options
author | Joseph Huber <jhuber6@vols.utk.edu> | 2023-03-24 14:25:38 -0500 |
---|---|---|
committer | Joseph Huber <jhuber6@vols.utk.edu> | 2023-03-24 14:26:23 -0500 |
commit | 1c43be0276a13ed1ff9d593d2e251a4f7ad69287 (patch) | |
tree | 2b322590ab2a5f38be61a6737bca869e6f7daac0 /openmp | |
parent | 3bff90e7e84aad6f0fddaf1d17a7db011052b95d (diff) | |
download | llvm-1c43be0276a13ed1ff9d593d2e251a4f7ad69287.tar.gz |
[Libomptarget] Update CMake messages if the tests aren't build
Summary:
These messages have been wrong for quite some time. Update them to be
more descriptive of why the tests weren't built.
Diffstat (limited to 'openmp')
-rw-r--r-- | openmp/libomptarget/plugins/amdgpu/CMakeLists.txt | 3 | ||||
-rw-r--r-- | openmp/libomptarget/plugins/cuda/CMakeLists.txt | 2 |
2 files changed, 2 insertions, 3 deletions
diff --git a/openmp/libomptarget/plugins/amdgpu/CMakeLists.txt b/openmp/libomptarget/plugins/amdgpu/CMakeLists.txt index 7462b4cf961a..e8abfb824793 100644 --- a/openmp/libomptarget/plugins/amdgpu/CMakeLists.txt +++ b/openmp/libomptarget/plugins/amdgpu/CMakeLists.txt @@ -117,7 +117,6 @@ if (LIBOMPTARGET_FOUND_AMDGPU_GPU OR LIBOMPTARGET_FORCE_AMDGPU_TESTS) list(APPEND LIBOMPTARGET_TESTED_PLUGINS "omptarget.rtl.amdgpu") set(LIBOMPTARGET_TESTED_PLUGINS "${LIBOMPTARGET_TESTED_PLUGINS}" PARENT_SCOPE) else() - libomptarget_say("Not generating amdgcn test targets as libhsa is not linkable") + libomptarget_say("Not generating AMDGPU tests, no supported devices detected. Use 'LIBOMPTARGET_FORCE_AMDGPU_TESTS' to override.") return() endif() - diff --git a/openmp/libomptarget/plugins/cuda/CMakeLists.txt b/openmp/libomptarget/plugins/cuda/CMakeLists.txt index d330291ef319..c4c460569361 100644 --- a/openmp/libomptarget/plugins/cuda/CMakeLists.txt +++ b/openmp/libomptarget/plugins/cuda/CMakeLists.txt @@ -72,5 +72,5 @@ if (LIBOMPTARGET_FOUND_NVIDIA_GPU OR LIBOMPTARGET_FORCE_NVIDIA_TESTS) list(APPEND LIBOMPTARGET_TESTED_PLUGINS "omptarget.rtl.cuda") set(LIBOMPTARGET_TESTED_PLUGINS "${LIBOMPTARGET_TESTED_PLUGINS}" PARENT_SCOPE) else() - libomptarget_say("Disabling tests using CUDA plugin as cuda may not be available") + libomptarget_say("Not generating NVIDIA tests, no supported devices detected. Use 'LIBOMPTARGET_FORCE_NVIDIA_TESTS' to override.") endif() |