Files
rocm-systems/projects/rocr-runtime/RPM/libhsakmt.spec
T
Andres Rodriguez e4f1d95ef2 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


[ROCm/ROCR-Runtime commit: 31861c838e]
2016-04-08 11:41:49 -04:00

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,-)