mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-18 22:08:53 +08:00
Allow to disable AubStream
Change-Id: I442e0f14d65099d245b54ec29cb3c7c7098f6cef Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
This commit is contained in:
committed by
sys_ocldev
parent
30c57fd507
commit
bc62b385a0
@@ -121,12 +121,14 @@ else()
|
||||
message(FATAL_ERROR "Aub Stream headers not available!")
|
||||
endif()
|
||||
|
||||
if(NOT DEFINED AUB_STREAM_DIR)
|
||||
if(NOT DEFINED AUB_STREAM_DIR AND NOT DISABLE_AUB_STREAM)
|
||||
get_filename_component(TEMP_DIR "${CMAKE_CURRENT_SOURCE_DIR}/../aub_stream/aub_mem_dump" ABSOLUTE)
|
||||
if(IS_DIRECTORY ${TEMP_DIR})
|
||||
set(AUB_STREAM_DIR "${CMAKE_CURRENT_SOURCE_DIR}/../aub_stream")
|
||||
message(STATUS "Aub Stream dir: ${AUB_STREAM_DIR}")
|
||||
endif()
|
||||
else()
|
||||
unset(AUB_STREAM_DIR)
|
||||
endif(NOT DEFINED AUB_STREAM_DIR)
|
||||
|
||||
if(LIBDRM_DIR)
|
||||
|
||||
Reference in New Issue
Block a user