diff --git a/scripts/packaging/l0_gpu_driver/rhel_8.4/SPECS/l0_gpu_driver.spec b/scripts/packaging/l0_gpu_driver/rhel_8.4/SPECS/l0_gpu_driver.spec index dbf545ffb3..020c4f8839 100644 --- a/scripts/packaging/l0_gpu_driver/rhel_8.4/SPECS/l0_gpu_driver.spec +++ b/scripts/packaging/l0_gpu_driver/rhel_8.4/SPECS/l0_gpu_driver.spec @@ -43,6 +43,7 @@ cd build %cmake .. \ -DNEO_VERSION_BUILD=%{build_id} \ -DCMAKE_BUILD_TYPE=Release \ + -DNEO_BUILD_WITH_OCL=FALSE \ -DNEO_SKIP_UNIT_TESTS=1 \ -DCMAKE_INSTALL_PREFIX=/usr \ -DL0_INSTALL_UDEV_RULES=1 \ diff --git a/scripts/packaging/l0_gpu_driver/sles_15.3/SPECS/l0_gpu_driver.spec b/scripts/packaging/l0_gpu_driver/sles_15.3/SPECS/l0_gpu_driver.spec index d7714b76e7..0743b40326 100644 --- a/scripts/packaging/l0_gpu_driver/sles_15.3/SPECS/l0_gpu_driver.spec +++ b/scripts/packaging/l0_gpu_driver/sles_15.3/SPECS/l0_gpu_driver.spec @@ -54,6 +54,7 @@ exposing hardware capabilities to applications. -DNEO_VERSION_BUILD=%{build_id} \ -DCMAKE_BUILD_TYPE=%{build_type} \ -DCMAKE_INSTALL_PREFIX=/usr \ + -DNEO_BUILD_WITH_OCL=FALSE \ -DNEO_SKIP_UNIT_TESTS=TRUE \ -DRELEASE_WITH_REGKEYS=TRUE \ -DL0_INSTALL_UDEV_RULES=1 \ diff --git a/scripts/packaging/l0_gpu_driver/ubuntu_20.04/debian/rules b/scripts/packaging/l0_gpu_driver/ubuntu_20.04/debian/rules index cdcc51f9df..69921c800a 100755 --- a/scripts/packaging/l0_gpu_driver/ubuntu_20.04/debian/rules +++ b/scripts/packaging/l0_gpu_driver/ubuntu_20.04/debian/rules @@ -6,6 +6,7 @@ ver = xxx RELEASE_WITH_REGKEYS ?= FALSE IGDRCL_FORCE_USE_LIBVA ?= FALSE +NEO_SKIP_UNIT_TESTS ?= FALSE override_dh_auto_configure: dh_auto_configure -- ${NEO_BUILD_EXTRA_OPTS} \ @@ -14,6 +15,7 @@ override_dh_auto_configure: -DNEO_SKIP_UNIT_TESTS=${NEO_SKIP_UNIT_TESTS} \ -DRELEASE_WITH_REGKEYS=${RELEASE_WITH_REGKEYS} \ -DIGDRCL_FORCE_USE_LIBVA=${IGDRCL_FORCE_USE_LIBVA} \ + -DNEO_BUILD_WITH_OCL=FALSE \ -DL0_INSTALL_UDEV_RULES=1 \ -DUDEV_RULES_DIR=/etc/udev/rules.d/ \ -Wno-dev diff --git a/scripts/packaging/opencl/rhel_8.4/SPECS/opencl.spec b/scripts/packaging/opencl/rhel_8.4/SPECS/opencl.spec index a499947ae0..c30f91354b 100644 --- a/scripts/packaging/opencl/rhel_8.4/SPECS/opencl.spec +++ b/scripts/packaging/opencl/rhel_8.4/SPECS/opencl.spec @@ -44,7 +44,7 @@ cd build %cmake .. \ -DNEO_VERSION_BUILD=%{ver} \ -DCMAKE_BUILD_TYPE=Release \ - -DBUILD_WITH_L0=0 \ + -DBUILD_WITH_L0=FALSE \ -DNEO_SKIP_UNIT_TESTS=TRUE \ -DCMAKE_INSTALL_PREFIX=/usr \ -DRELEASE_WITH_REGKEYS=1 diff --git a/scripts/packaging/opencl/sles_15.3/SPECS/opencl.spec b/scripts/packaging/opencl/sles_15.3/SPECS/opencl.spec index 9f30c97041..fcfd6c10dd 100644 --- a/scripts/packaging/opencl/sles_15.3/SPECS/opencl.spec +++ b/scripts/packaging/opencl/sles_15.3/SPECS/opencl.spec @@ -52,7 +52,7 @@ Summary: ocloc package for opencl %cmake .. \ -DCMAKE_BUILD_TYPE=%{build_type} \ -DNEO_VERSION_BUILD=%{ver} \ - -DBUILD_WITH_L0=0 \ + -DBUILD_WITH_L0=FALSE \ -DCMAKE_INSTALL_PREFIX=/usr \ -DNEO_SKIP_UNIT_TESTS=TRUE \ -DRELEASE_WITH_REGKEYS=1 \ diff --git a/scripts/packaging/opencl/ubuntu_20.04/debian/rules b/scripts/packaging/opencl/ubuntu_20.04/debian/rules index 73b849c0ca..06c703092b 100755 --- a/scripts/packaging/opencl/ubuntu_20.04/debian/rules +++ b/scripts/packaging/opencl/ubuntu_20.04/debian/rules @@ -16,7 +16,7 @@ override_dh_auto_configure: -DDO_NOT_RUN_AUB_TESTS=${DO_NOT_RUN_AUB_TESTS} \ -DNEO_SKIP_UNIT_TESTS=${NEO_SKIP_UNIT_TESTS} \ -DNEO_DISABLE_BUILTINS_COMPILATION=${NEO_DISABLE_BUILTINS_COMPILATION} \ - -DBUILD_WITH_L0=0 \ + -DBUILD_WITH_L0=FALSE \ -DRELEASE_WITH_REGKEYS=${RELEASE_WITH_REGKEYS} \ -DIGDRCL_FORCE_USE_LIBVA=${IGDRCL_FORCE_USE_LIBVA} \ -Wno-dev