Skip to content

Commit aec3016

Browse files
authored
[flang][cuda] Use minor version in flang_rt.cuda lib name (#148085)
Add minor version in the lib name to be able to distinguish between specific version.
1 parent 3c4c2fa commit aec3016

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

flang-rt/lib/cuda/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ add_flangrt_library(flang_rt.cuda STATIC SHARED
2121
# libflang_rt.runtime depends on a certain version of CUDA. To be able to have
2222
# multiple build of this library with different CUDA version, the version is
2323
# added to the library name.
24-
OUTPUT_NAME "flang_rt.cuda_${CUDAToolkit_VERSION_MAJOR}"
24+
OUTPUT_NAME "flang_rt.cuda_${CUDAToolkit_VERSION_MAJOR}.${CUDAToolkit_VERSION_MINOR}"
2525
INCLUDE_DIRECTORIES
2626
PRIVATE ${CUDAToolkit_INCLUDE_DIRS}
2727
INSTALL_WITH_TOOLCHAIN

0 commit comments

Comments
 (0)