3786e18d99
Pick up the thunk from the correct location. It is no longer inside THUNK_ROOT, but instead part of the OUT folder. Change-Id: I41dd7dae243e66270d0ea7182f1ba119b18a1cfb
30 строки
616 B
RPMSpec
30 строки
616 B
RPMSpec
%define name libhsakmt
|
|
%define version 1.6.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/build_thunk.sh/rpm/libhsakmt $RPM_BUILD_ROOT
|
|
find $RPM_BUILD_ROOT \! -type d | sed "s|$RPM_BUILD_ROOT||"> thunk.list
|
|
|
|
%clean
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
%files -f thunk.list
|
|
|
|
%defattr(-,root,root,-)
|