From 4efa7e217ec93905e227fde96667f99b7df6e772 Mon Sep 17 00:00:00 2001 From: Maneesh Gupta Date: Fri, 24 Jun 2016 21:10:37 +0530 Subject: [PATCH] hip_samples package now contains uncompressed samples Change-Id: I69e773ebeff59733e016abd5a90bd1637798b1f5 --- packaging/hip_samples.txt | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/packaging/hip_samples.txt b/packaging/hip_samples.txt index 6adf9160bf..f289f2a8e5 100644 --- a/packaging/hip_samples.txt +++ b/packaging/hip_samples.txt @@ -1,17 +1,13 @@ cmake_minimum_required(VERSION 2.8.3) project(hip_samples) -add_custom_target(create_installer_script ALL - COMMAND tar cvzf ${PROJECT_BINARY_DIR}/samples.tgz --exclude='*.o' . - COMMAND @hip_SOURCE_DIR@/packaging/create_hip_samples_installer.sh ${PROJECT_BINARY_DIR}/samples.tgz ${PROJECT_BINARY_DIR}/unpack_hip_samples.sh - WORKING_DIRECTORY @hip_SOURCE_DIR@/samples) -install(PROGRAMS unpack_hip_samples.sh DESTINATION bin) +install(DIRECTORY @hip_SOURCE_DIR@/samples DESTINATION .) ############################# # Packaging steps ############################# set(CPACK_SET_DESTDIR TRUE) -set(CPACK_INSTALL_PREFIX "/opt/rocm") +set(CPACK_INSTALL_PREFIX "/opt/rocm/hip") set(CPACK_PACKAGE_NAME "hip_samples") set(CPACK_PACKAGE_DESCRIPTION_SUMMARY "HIP: Heterogenous-computing Interface for Portability [SAMPLES]") set(CPACK_PACKAGE_VENDOR "Advanced Micro Devices, Inc.")