From 3623f0d69e081df7b27409bfd3606dd6fbb10a18 Mon Sep 17 00:00:00 2001 From: foreman Date: Wed, 24 May 2017 11:49:07 -0400 Subject: [PATCH] P4 to Git Change 1413623 by lmoriche@lmoriche_palamida on 2017/05/24 11:41:52 SWDEV-102733 - [OCL-LC-ROCm] Cmake build Write CMakeLists.txt to enable building with and without the DK environment - Set the default triple to amdgcn-amd-amdhsa-opencl Affected files ... ... //depot/stg/opencl/drivers/opencl/CMakeLists.txt#9 edit --- rocclr/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/rocclr/CMakeLists.txt b/rocclr/CMakeLists.txt index 416cf0da8c..0ce1bdb798 100644 --- a/rocclr/CMakeLists.txt +++ b/rocclr/CMakeLists.txt @@ -39,6 +39,7 @@ include_directories(${CMAKE_BINARY_DIR}/compiler/llvm/lib/Target/AMDGPU) add_subdirectory(compiler/driver) +set(AMDGPU_TARGET_TRIPLE "amdgcn-amd-amdhsa-opencl") set(BUILD_HC_LIB CACHE BOOL OFF) set(ROCM_DEVICELIB_INCLUDE_TESTS CACHE BOOL OFF) add_subdirectory(library/amdgcn)