hsakmt: Fix ROCr static lib build in new layout

Change-Id: Idc71524924b96a44d63be9b1d0fccbe0e328d96e
This commit is contained in:
Chris Freehill
2024-08-20 18:36:59 -05:00
committed by Chris Freehill
orang tua 4dc9d49aa6
melakukan 7e13b9e62f
3 mengubah file dengan 52 tambahan dan 48 penghapusan
+3
Melihat File
@@ -47,6 +47,8 @@ cmake_minimum_required ( VERSION 3.7 )
## Need an update to CMake 3.12 to remove this hack. See CMake policy change CMP0073.
unset ( hsa-runtime64_LIB_DEPENDS CACHE )
set(CMAKE_VERBOSE_MAKEFILE ON)
## Set core runtime module name and project name.
set ( CORE_RUNTIME_NAME "hsa-runtime64" )
set ( CORE_RUNTIME_TARGET "${CORE_RUNTIME_NAME}" )
@@ -87,6 +89,7 @@ endif() # if (ROCM_CCACHE_BUILD)
## Find external dependencies.
find_package(PkgConfig)
find_package(LibElf REQUIRED)
pkg_check_modules(drm REQUIRED IMPORTED_TARGET libdrm)
## Create the rocr target.