Adopt new ROCm packaging guidelines
All files should go into /opt/rocm/$component For developer convenience, a single include directory is created through symlinks, from the component include directory to /opt/rocm/include. Similarly, a unified linked directory is present in /opt/rocm/lib The component lib directory should not include linker names (library names without version numbers). This commit also fixes 'make rpm' running correctly without the need for sourcing build/envsetup.sh Change-Id: I95a680f6d3e3bd1ae688d0694934a0577dbd007c
This commit is contained in:
committed by
Andres Rodriguez
parent
82b3fad320
commit
9f355b78a0
+2
-2
@@ -1,6 +1,6 @@
|
||||
%define name libhsakmt
|
||||
%define version 2.0.0
|
||||
%define thunkroot %{getenv:OUT_DIR}
|
||||
%define packageroot %{getenv:PACKAGE_DIR}
|
||||
|
||||
Name: %{name}
|
||||
Version: %{version}
|
||||
@@ -18,7 +18,7 @@ for AMD KFD
|
||||
%setup -T -D -c -n %{name}
|
||||
|
||||
%install
|
||||
cp -R %thunkroot/build/thunk/rpm/libhsakmt $RPM_BUILD_ROOT
|
||||
cp -R %packageroot $RPM_BUILD_ROOT
|
||||
find $RPM_BUILD_ROOT \! -type d | sed "s|$RPM_BUILD_ROOT||"> thunk.list
|
||||
|
||||
%post
|
||||
|
||||
Reference in New Issue
Block a user