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
[ROCm/clr commit: debd366bfd]
This commit is contained in:
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user