Files
compute-runtime/scripts/packaging/opencl/ubuntu_20.04/debian/rules
Pawel Cieslak fc86810978 Add arm64 architecture for osv packaging
Related-To: NEO-5854
Signed-off-by: Pawel Cieslak <pawel.cieslak@intel.com>
2021-10-11 14:23:50 +02:00

27 lines
758 B
Makefile
Executable File

#!/usr/bin/make -f
%:
dh $@ --builddir build/ --buildsystem=cmake+ninja
NEO_DISABLE_BUILTINS_COMPILATION ?= FALSE
override_dh_auto_configure:
dh_auto_configure -- ${NEO_BUILD_EXTRA_OPTS} \
-DCMAKE_BUILD_TYPE=${CMAKE_BUILD_TYPE} \
-DNEO_OCL_VERSION_MAJOR=${NEO_OCL_VERSION_MAJOR} \
-DNEO_OCL_VERSION_MINOR=${NEO_OCL_VERSION_MINOR} \
-DNEO_VERSION_BUILD=${NEO_OCL_VERSION_BUILD} \
-DDO_NOT_RUN_AUB_TESTS=${DO_NOT_RUN_AUB_TESTS} \
-DSKIP_UNIT_TESTS=${SKIP_UNIT_TESTS} \
-DNEO_DISABLE_BUILTINS_COMPILATION=${NEO_DISABLE_BUILTINS_COMPILATION} \
-DBUILD_WITH_L0=0 \
-DRELEASE_WITH_REGKEYS=1 \
-Wno-dev
override_dh_auto_build:
${BUILD_PREFIX} dh_auto_build
override_dh_install:
rm -rvf debian/intel-opencl-icd/usr/lib/debug
dh_install