P4 to Git Change 1975195 by pghafari@pghafari-gera-win10 on 2019/07/29 14:54:55

SWDEV-197122 - updated cmake for hip-vdi-rorc

Affected files ...

... //depot/stg/opencl/drivers/opencl/CMakeLists.txt#25 edit
... //depot/stg/opencl/drivers/opencl/api/hip/CMakeLists.txt#2 edit


[ROCm/clr commit: 12175a7af9]
This commit is contained in:
foreman
2019-07-29 15:01:09 -04:00
parent c3408865c1
commit 14068911a8
+3
View File
@@ -60,6 +60,9 @@ if(${USE_COMGR_LIBRARY} MATCHES "yes")
add_definitions(-DCOMGR_DYN_DLL="yes")
include_directories(${CMAKE_SOURCE_DIR}/compiler/llvm/include)
add_definitions(-DUSE_COMGR_LIBRARY)
if( ${BUILD_HIP} MATCHES "yes")
add_subdirectory(api/hip)
endif()
else()
add_subdirectory(compiler/driver EXCLUDE_FROM_ALL)
endif()