From 650232b83b5928f5ac5b5cd7a0145da843293a26 Mon Sep 17 00:00:00 2001 From: Kent Russell Date: Mon, 9 Nov 2015 16:13:21 -0500 Subject: [PATCH] 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: 3786e18d990e0baae5c0b95ed8585dbb8da72177] --- projects/rocr-runtime/RPM/libhsakmt.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/projects/rocr-runtime/RPM/libhsakmt.spec b/projects/rocr-runtime/RPM/libhsakmt.spec index 15e78e3361..afce127bc8 100644 --- a/projects/rocr-runtime/RPM/libhsakmt.spec +++ b/projects/rocr-runtime/RPM/libhsakmt.spec @@ -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