From debd366bfd51a37658f9350c20982d75d9916b37 Mon Sep 17 00:00:00 2001
From: foreman
Date: Thu, 27 Apr 2017 00:42:38 -0400
Subject: [PATCH] P4 to Git Change 1403108 by lmoriche@lmoriche_palamida on
2017/04/27 00:33:06
SWDEV-102733 - [OCL-LC-ROCm] Cmake build Write CMakeLists.txt to enable building with and without the DK environment
- Remove the dependency on libHSAIL
Affected files ...
... //depot/stg/opencl/drivers/opencl/CMakeLists.txt#6 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/CMakeLists.txt#2 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocprogram.hpp#24 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocvirtual.cpp#37 edit
---
opencl/CMakeLists.txt | 4 ----
1 file changed, 4 deletions(-)
diff --git a/opencl/CMakeLists.txt b/opencl/CMakeLists.txt
index 1ba68e03d3..9396d5fd4b 100644
--- a/opencl/CMakeLists.txt
+++ b/opencl/CMakeLists.txt
@@ -30,10 +30,6 @@ include_directories(${CMAKE_BINARY_DIR}/compiler/llvm/tools/clang/include)
include_directories(${CMAKE_SOURCE_DIR}/compiler/llvm/lib/Target/AMDGPU)
include_directories(${CMAKE_BINARY_DIR}/compiler/llvm/lib/Target/AMDGPU)
-set(AMD_EXTENSIONS CACHE BOOL OFF)
-set(BUILD_HSAILASM CACHE BOOL OFF)
-add_subdirectory(compiler/sc/HSAIL/hsail-tools)
-
add_subdirectory(compiler/driver)
set(CMAKE_C_COMPILER "${PROJECT_BINARY_DIR}/compiler/llvm/bin/clang")