e4f1d95ef2
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
[ROCm/ROCR-Runtime commit: 31861c838e]
36 lines
641 B
RPMSpec
36 lines
641 B
RPMSpec
%define name libhsakmt
|
|
%define version 2.0.0
|
|
%define thunkroot %{getenv:OUT_DIR}
|
|
|
|
Name: %{name}
|
|
Version: %{version}
|
|
Release: 1
|
|
Summary: Thunk libraries for AMD KFD
|
|
|
|
Group: System Environment/Libraries
|
|
License: Advanced Micro Devices Inc.
|
|
|
|
%description
|
|
This package includes the libhsakmt (Thunk) libraries
|
|
for AMD KFD
|
|
|
|
%prep
|
|
%setup -T -D -c -n %{name}
|
|
|
|
%install
|
|
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
|
|
|
|
%files -f thunk.list
|
|
|
|
%defattr(-,root,root,-)
|