[Openmp-commits] [openmp] 11908c2 - [Libomptarget][NFC] Silence unknown CUDA version warnings
Joseph Huber via Openmp-commits
openmp-commits at lists.llvm.org
Mon Jan 23 06:56:22 PST 2023
Author: Joseph Huber
Date: 2023-01-23T08:56:03-06:00
New Revision: 11908c20cd01cb695f17c8b27a091d11f3ed09e6
URL: https://github.com/llvm/llvm-project/commit/11908c20cd01cb695f17c8b27a091d11f3ed09e6
DIFF: https://github.com/llvm/llvm-project/commit/11908c20cd01cb695f17c8b27a091d11f3ed09e6.diff
LOG: [Libomptarget][NFC] Silence unknown CUDA version warnings
Summary:
These warnings are very loud considering they get repeated at least 30
times each build. This patch just silences them.
Added:
Modified:
openmp/libomptarget/DeviceRTL/CMakeLists.txt
Removed:
################################################################################
diff --git a/openmp/libomptarget/DeviceRTL/CMakeLists.txt b/openmp/libomptarget/DeviceRTL/CMakeLists.txt
index cb6466a720f98..872dcb4a4f657 100644
--- a/openmp/libomptarget/DeviceRTL/CMakeLists.txt
+++ b/openmp/libomptarget/DeviceRTL/CMakeLists.txt
@@ -127,6 +127,7 @@ set(bc_flags -c -emit-llvm -std=c++17 -fvisibility=hidden
${clang_opt_flags} --offload-device-only
-nocudalib -nogpulib -nostdinc
-fopenmp -fopenmp-cuda-mode
+ -Wno-unknown-cuda-version
-I${include_directory}
-I${devicertl_base_directory}/../include
${LIBOMPTARGET_LLVM_INCLUDE_DIRS_DEVICERTL}
More information about the Openmp-commits
mailing list