From 8ead62e13d1f312d1535ee87f5586557f64fd0b2 Mon Sep 17 00:00:00 2001
From: foreman
Date: Wed, 7 Jun 2017 12:55:38 -0400
Subject: [PATCH] P4 to Git Change 1419430 by lmoriche@lmoriche_palamida on
2017/06/07 12:28:09
SWDEV-102733 - [OCL-LC-ROCm] Cmake build Write CMakeLists.txt to enable building with and without the DK environment
- Enable building the ICD and clinfo.
Affected files ...
... //depot/stg/opencl/drivers/opencl/CMakeLists.txt#11 edit
... //depot/stg/opencl/drivers/opencl/tools/clinfo/CMakeLists.txt#2 edit
[ROCm/clr commit: 5adbcd8f12640cbe4460003101e46bd4389016e6]
---
projects/clr/rocclr/CMakeLists.txt | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/projects/clr/rocclr/CMakeLists.txt b/projects/clr/rocclr/CMakeLists.txt
index da53d0ac14..f8758f57ef 100644
--- a/projects/clr/rocclr/CMakeLists.txt
+++ b/projects/clr/rocclr/CMakeLists.txt
@@ -52,11 +52,11 @@ add_subdirectory(tools/bc2h)
find_package(ROCR REQUIRED)
add_subdirectory(runtime)
-#set(OPENCL_INCLUDE_DIRS
-# ${CMAKE_SOURCE_DIR}/api/opencl/khronos/headers
-# ${CMAKE_SOURCE_DIR}/api/opencl/khronos/headers/opencl2.0)
+set(OPENCL_INCLUDE_DIRS
+ ${CMAKE_SOURCE_DIR}/api/opencl/khronos/headers
+ ${CMAKE_SOURCE_DIR}/api/opencl/khronos/headers/opencl2.0)
add_subdirectory(api/opencl/amdocl)
-#add_subdirectory(api/opencl/khronos/icd)
+add_subdirectory(api/opencl/khronos/icd)
-#add_subdirectory(tools/clinfo)
+add_subdirectory(tools/clinfo)