Require aub stream in ubuntu builds

Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
This commit is contained in:
Mateusz Jablonski
2022-11-21 12:02:03 +01:00
committed by Compute-Runtime-Automation
parent 7caf710508
commit 4995bddb89
3 changed files with 8 additions and 0 deletions

View File

@ -465,6 +465,10 @@ else()
endif()
message(STATUS "Engine node dir: ${ENGINE_NODE_DIR}")
if(NEO_FORCE_USE_AUB_STREAM AND NOT DEFINED AUB_STREAM_PROJECT_NAME)
message(FATAL_ERROR "Aubstream is not available but required by user")
endif()
# We want to organize our IDE targets into folders
set_property(GLOBAL PROPERTY USE_FOLDERS ON)

View File

@ -9,6 +9,7 @@ RELEASE_WITH_REGKEYS ?= FALSE
IGDRCL_FORCE_USE_LIBVA ?= FALSE
NEO_SKIP_UNIT_TESTS ?= FALSE
NEO_ENABLE_i915_PRELIM_DETECTION ?= TRUE
NEO_FORCE_USE_AUB_STREAM ?= TRUE
override_dh_auto_configure:
dh_auto_configure -- ${NEO_BUILD_EXTRA_OPTS} \
@ -20,6 +21,7 @@ override_dh_auto_configure:
-DNEO_BUILD_WITH_OCL=FALSE \
-DRELEASE_WITH_REGKEYS=${RELEASE_WITH_REGKEYS} \
-DIGDRCL_FORCE_USE_LIBVA=${IGDRCL_FORCE_USE_LIBVA} \
-DNEO_FORCE_USE_AUB_STREAM=${NEO_FORCE_USE_AUB_STREAM} \
-DL0_INSTALL_UDEV_RULES=1 \
-DUDEV_RULES_DIR=/etc/udev/rules.d/ \
-Wno-dev

View File

@ -8,6 +8,7 @@ RELEASE_WITH_REGKEYS ?= FALSE
IGDRCL_FORCE_USE_LIBVA ?= FALSE
NEO_SKIP_UNIT_TESTS ?= FALSE
NEO_ENABLE_i915_PRELIM_DETECTION ?= TRUE
NEO_FORCE_USE_AUB_STREAM ?= TRUE
override_dh_auto_configure:
dh_auto_configure -- ${NEO_BUILD_EXTRA_OPTS} \
@ -22,6 +23,7 @@ override_dh_auto_configure:
-DBUILD_WITH_L0=FALSE \
-DRELEASE_WITH_REGKEYS=${RELEASE_WITH_REGKEYS} \
-DIGDRCL_FORCE_USE_LIBVA=${IGDRCL_FORCE_USE_LIBVA} \
-DNEO_FORCE_USE_AUB_STREAM=${NEO_FORCE_USE_AUB_STREAM} \
-Wno-dev
override_dh_auto_build: