mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-04 23:56:39 +08:00
build: build aub_stream_stubs even if AubStream is available
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
ddd1e8df5e
commit
6510c725e3
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# Copyright (C) 2020-2021 Intel Corporation
|
||||
# Copyright (C) 2020-2023 Intel Corporation
|
||||
#
|
||||
# SPDX-License-Identifier: MIT
|
||||
#
|
||||
@@ -21,6 +21,13 @@ if(NOT DEFINED AUB_STREAM_PROJECT_NAME)
|
||||
list(APPEND NEO_CORE_AUB_MEM_DUMP
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/aub_stream_stubs.cpp
|
||||
)
|
||||
else()
|
||||
add_library(aub_stream_stubs STATIC
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/aub_stream_stubs.cpp
|
||||
)
|
||||
target_include_directories(aub_stream_stubs PRIVATE
|
||||
${AUB_STREAM_HEADERS_DIR}
|
||||
)
|
||||
endif()
|
||||
|
||||
if(SUPPORT_XEHP_AND_LATER)
|
||||
|
||||
@@ -7,6 +7,8 @@
|
||||
|
||||
#include "aubstream/aubstream.h"
|
||||
|
||||
#include <limits>
|
||||
|
||||
namespace aub_stream_stubs {
|
||||
uint16_t tbxServerPort = 4321;
|
||||
std::string tbxServerIp = "127.0.0.1";
|
||||
|
||||
Reference in New Issue
Block a user