package: change install directory to /opt/rocm
Align with the rest of the driver stack on the new installation path /opt/rocm/* This mechanism for generating packages should be changed for something nicer and more standards compliant in the future. Change-Id: Ic31409b0d0b8f6ee4b25296d2580982a76aab564
This commit is contained in:
+7
-1
@@ -1,5 +1,5 @@
|
||||
%define name libhsakmt
|
||||
%define version 1.8.1
|
||||
%define version 2.0.0
|
||||
%define thunkroot %{getenv:OUT_DIR}
|
||||
|
||||
Name: %{name}
|
||||
@@ -21,6 +21,12 @@ for AMD KFD
|
||||
cp -R %thunkroot/build/thunk/rpm/libhsakmt $RPM_BUILD_ROOT
|
||||
find $RPM_BUILD_ROOT \! -type d | sed "s|$RPM_BUILD_ROOT||"> thunk.list
|
||||
|
||||
%post
|
||||
ldconfig
|
||||
|
||||
%postun
|
||||
ldconfig
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
|
||||
Reference in New Issue
Block a user