mirror of
https://github.com/intel/compute-runtime.git
synced 2025-09-15 13:01:45 +08:00
Re-enable AubStream if AUB_STREAM_DIR set.
Change-Id: I5fee87281a434ae77e0df98aad31b462d0c5b6eb Signed-off-by: Brandon Fliflet <brandon.fliflet@intel.com>
This commit is contained in:

committed by
sys_ocldev

parent
8e1e874a76
commit
46225890a9
@ -121,13 +121,15 @@ else()
|
||||
message(FATAL_ERROR "Aub Stream headers not available!")
|
||||
endif()
|
||||
|
||||
if(NOT DEFINED AUB_STREAM_DIR AND NOT DISABLE_AUB_STREAM)
|
||||
if(NOT DEFINED AUB_STREAM_DIR)
|
||||
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()
|
||||
endif()
|
||||
|
||||
if(DISABLE_AUB_STREAM)
|
||||
unset(AUB_STREAM_DIR)
|
||||
endif()
|
||||
|
||||
|
Reference in New Issue
Block a user