P4 to Git Change 1453266 by fdaniil@rocm_spec on 2017/08/30 12:27:36
SWDEV-102733 - [OCL-LC-ROCm] Cmake build Write CMakeLists.txt to enable building with and without the DK environment
Update from git http://git.amd.com:8080/#/c/103512/
1. fixed ninja warning on multiple targets generating .inc files
2. added libamdocl64.so and libOpenCL.so.1.2 libraries installation into install/lib
3. added Khronos OpenCL headers installation into install/include
4. added clinfo application installation int install/bin
5. removed installation of dozens of LLVM libs and tools
6. fixed minor misspellings in llvm options setup
Affected files ...
... //depot/stg/opencl/drivers/opencl/CMakeLists.txt#15 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/CMakeLists.txt#11 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/CMakeLists.txt#9 edit
... //depot/stg/opencl/drivers/opencl/tools/clinfo/CMakeLists.txt#3 edit
[ROCm/clr commit: bd0e789f7c]
Este commit está contenido en:
@@ -22,7 +22,7 @@ include_directories(${CMAKE_SOURCE_DIR}/compiler/lib/loaders)
|
||||
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)
|
||||
|
||||
|
||||
add_library(amdocl64 SHARED
|
||||
cl_memobj.cpp
|
||||
cl_program.cpp
|
||||
@@ -54,3 +54,5 @@ add_library(amdocl64 SHARED
|
||||
)
|
||||
|
||||
target_link_libraries(amdocl64 opencl_driver oclelf pthread dl ${ROCR_LIBRARIES})
|
||||
|
||||
install(TARGETS amdocl64 LIBRARY DESTINATION lib)
|
||||
Referencia en una nueva incidencia
Block a user