Skip to content

Commit 330326a

Browse files
authored
[runtimes] - Ensure device-libs installs into proper libdir (#618)
Some systems will install the cmake config into lib64.
1 parent 1096c52 commit 330326a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

llvm/runtimes/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -576,6 +576,7 @@ if(build_runtimes)
576576
CMAKE_ARGS -DCMAKE_INSTALL_PREFIX=${ROCM_DEVICE_LIBS_INSTALL_PREFIX_PATH}
577577
-DROCM_DEVICE_LIBS_BITCODE_INSTALL_LOC_NEW=${ROCM_DEVICE_LIBS_BITCODE_INSTALL_LOC}
578578
-DROCM_DEVICE_LIBS_BITCODE_INSTALL_LOC_OLD=amdgcn
579+
-DCMAKE_INSTALL_LIBDIR=lib
579580
${extra_cmake_args})
580581
else()
581582
ExternalProject_Add(rocm-device-libs

0 commit comments

Comments
 (0)