From f5800a9648d33a28e0382800cdbd7316ec5c9271 Mon Sep 17 00:00:00 2001
From: foreman
Date: Mon, 1 Oct 2018 15:35:29 -0400
Subject: [PATCH] P4 to Git Change 1613229 by wchau@wchau_OCL_cmake on
2018/10/01 15:12:47
SWDEV-165756 - [ROCm] Backport cmake back into perforce to resolve cmake build broken issue
- Back out changelist 1613181 as it causes TC build failures
Affected files ...
... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/CMakeLists.txt#16 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/libUtils.cpp#33 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/libUtils.h#33 edit
... //depot/stg/opencl/drivers/opencl/runtime/CMakeLists.txt#12 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/CMakeLists.txt#14 edit
[ROCm/clr commit: ac3ab672b8107d3cf5cf59413bae9bdebac9026e]
---
projects/clr/opencl/api/opencl/amdocl/CMakeLists.txt | 7 -------
1 file changed, 7 deletions(-)
diff --git a/projects/clr/opencl/api/opencl/amdocl/CMakeLists.txt b/projects/clr/opencl/api/opencl/amdocl/CMakeLists.txt
index 91bd42f192..ca31b8192b 100644
--- a/projects/clr/opencl/api/opencl/amdocl/CMakeLists.txt
+++ b/projects/clr/opencl/api/opencl/amdocl/CMakeLists.txt
@@ -30,12 +30,6 @@ include_directories(${CMAKE_SOURCE_DIR}/compiler/lib/loaders/elf/utils/libelf)
include_directories(${CMAKE_SOURCE_DIR}/compiler/lib/loaders/elf/utils/common)
include_directories(${CMAKE_SOURCE_DIR}/compiler/tools)
-if(UNIX)
- set(ADDITIONAL_LIBRARIES glibc_functions.cpp)
-else()
- set(ADDITIONAL_LIBRARIES "")
-endif()
-
add_library(amdocl64 SHARED
cl_memobj.cpp
cl_program.cpp
@@ -64,7 +58,6 @@ add_library(amdocl64 SHARED
cl_p2p_amd.cpp
$
$
- ${ADDITIONAL_LIBRARIES}
)
target_link_libraries(amdocl64 opencl_driver oclelf pthread dl ${ROCR_LIBRARIES})