2
0

Use OUT_DIR for thunkroot variable

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

[ROCm/ROCR-Runtime commit: 3786e18d99]
Este cometimento está contido em:
Kent Russell
2015-11-09 16:13:21 -05:00
ascendente 63c43d3404
cometimento 650232b83b
+2 -2
Ver ficheiro
@@ -1,6 +1,6 @@
%define name libhsakmt
%define version 1.6.0
%define thunkroot %{getenv:THUNK_ROOT}
%define thunkroot %{getenv:OUT_DIR}
Name: %{name}
Version: %{version}
@@ -18,7 +18,7 @@ for AMD KFD
%setup -T -D -c -n %{name}
%install
cp -R %thunkroot/build/rpm/libhsakmt $RPM_BUILD_ROOT
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