We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 18fbeda commit 4ef7508Copy full SHA for 4ef7508
flang-rt/lib/CufRuntime/CMakeLists.txt
@@ -6,6 +6,9 @@
6
#
7
#===------------------------------------------------------------------------===#
8
9
+# Phony build target that does not include the CUDA version.
10
+add_custom_target(CufRuntime)
11
+
12
# libCufRuntime depends on a certain version of CUDA. To be able to have
13
# multiple build of this library with different CUDA version, the version is
14
# added to the library name.
@@ -19,6 +22,7 @@ add_flangrt_library(${CUFRT_LIBNAME}
19
22
memory.cpp
20
23
registration.cpp
21
24
)
25
+add_dependencies(CufRuntime ${CUFRT_LIBNAME})
26
target_include_directories(${CUFRT_LIBNAME} PRIVATE ${CUDAToolkit_INCLUDE_DIRS})
27
28
if (BUILD_SHARED_LIBS)
0 commit comments