SWDEV-209747 - Add compiletime variable DEV_LOG_ENABLE
Change-Id: Ie8ff8abafa6b5e0f83209da42778688a047562c3
[ROCm/hip commit: 8f53157057]
This commit is contained in:
committed by
Karthik Jayaprakash
parent
aa6d86bf38
commit
5fd3b0b786
Regular → Executable
+4
@@ -204,6 +204,10 @@ if(CMAKE_INSTALL_PREFIX_INITIALIZED_TO_DEFAULT)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
if(DEV_LOG_ENABLE MATCHES "yes")
|
||||
add_definitions(-DDEV_LOG_ENABLE)
|
||||
endif()
|
||||
|
||||
# Set default install path as "/opt/rocm/hip", can override the path from cmake build.
|
||||
set(CPACK_INSTALL_PREFIX ${HIP_DEFAULT_INSTALL_PREFIX} CACHE PATH "Package Installation path for HIP")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user