From bfeb26c58a48148a838b2648f4bb17925f42d495 Mon Sep 17 00:00:00 2001
From: foreman
Date: Thu, 27 Apr 2017 11:15:31 -0400
Subject: [PATCH] P4 to Git Change 1403323 by lmoriche@lmoriche_opencl_dev2 on
2017/04/27 10:58:55
SWDEV-102733 - [OCL-LC-ROCm] Cmake build Write CMakeLists.txt to enable building with and without the DK environment
- Fix the Makefile and CMakeLists after removing libHSAIL.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/CMakeLists.txt#3 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/build/Makefile.oclrocm#14 edit
[ROCm/clr commit: 0a139b16700614410733f2bf399943710e5d61ee]
---
projects/clr/rocclr/runtime/device/rocm/CMakeLists.txt | 2 --
1 file changed, 2 deletions(-)
diff --git a/projects/clr/rocclr/runtime/device/rocm/CMakeLists.txt b/projects/clr/rocclr/runtime/device/rocm/CMakeLists.txt
index 0075b636d9..2641622290 100644
--- a/projects/clr/rocclr/runtime/device/rocm/CMakeLists.txt
+++ b/projects/clr/rocclr/runtime/device/rocm/CMakeLists.txt
@@ -48,8 +48,6 @@ add_library(oclrocm OBJECT
)
set_target_properties(oclrocm PROPERTIES POSITION_INDEPENDENT_CODE ON)
-add_dependencies(oclrocm libhsail-includes)
-
foreach(header ${headers})
string(REGEX REPLACE "([^._-]*)(.*).amdgcn.inc" "${CMAKE_BINARY_DIR}/library/amdgcn/\\1/\\1\\2.lib.bc" bclib ${header})
string(REGEX REPLACE ".inc$" "" target ${header})