summaryrefslogtreecommitdiffstats
path: root/Modules/Compiler/Clang-HIP.cmake
diff options
context:
space:
mode:
authorMarc Chevrier <marc.chevrier@gmail.com>2023-05-27 14:41:56 (GMT)
committerMarc Chevrier <marc.chevrier@gmail.com>2023-05-28 09:28:08 (GMT)
commit0626b62cf2c7a10c789f2e1b9543f0adac2e2c53 (patch)
tree98fa06b17f015b52d797734feb9f0163f76b3ad4 /Modules/Compiler/Clang-HIP.cmake
parent5d39aad169f9e9258bf8ac34dd4b5ae66dc24f20 (diff)
downloadCMake-0626b62cf2c7a10c789f2e1b9543f0adac2e2c53.zip
CMake-0626b62cf2c7a10c789f2e1b9543f0adac2e2c53.tar.gz
CMake-0626b62cf2c7a10c789f2e1b9543f0adac2e2c53.tar.bz2
Link Step: ensure the correct linker is used for depfile configuration
This is related to MR !8443.
Diffstat (limited to 'Modules/Compiler/Clang-HIP.cmake')
-rw-r--r--Modules/Compiler/Clang-HIP.cmake8
1 files changed, 0 insertions, 8 deletions
diff --git a/Modules/Compiler/Clang-HIP.cmake b/Modules/Compiler/Clang-HIP.cmake
index 7e3c99c..92925f1 100644
--- a/Modules/Compiler/Clang-HIP.cmake
+++ b/Modules/Compiler/Clang-HIP.cmake
@@ -1,13 +1,5 @@
include(Compiler/Clang)
-#
-# For now, deactivate globally linker dependency file support because
-# HIP compiler is based on Clang which provides support of other languages
-#
-foreach (lang IN ITEMS "C" "CXX" "OBJC" "OBJCXX" "Fortran" "ASM")
- set(CMAKE_${lang}_LINKER_DEPFILE_SUPPORTED FALSE)
-endforeach()
-
__compiler_clang(HIP)
__compiler_clang_cxx_standards(HIP)