mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-18 05:52:19 +08:00
32 lines
969 B
Makefile
Executable File
32 lines
969 B
Makefile
Executable File
#!/usr/bin/make -f
|
|
ver = xxx
|
|
|
|
%:
|
|
dh $@ --builddir build/ --buildsystem=cmake+ninja
|
|
|
|
RELEASE_WITH_REGKEYS ?= FALSE
|
|
IGDRCL_FORCE_USE_LIBVA ?= FALSE
|
|
|
|
override_dh_auto_configure:
|
|
dh_auto_configure -- ${NEO_BUILD_EXTRA_OPTS} \
|
|
-DCMAKE_BUILD_TYPE=${CMAKE_BUILD_TYPE} \
|
|
-DNEO_VERSION_BUILD=$(ver) \
|
|
-DNEO_SKIP_UNIT_TESTS=${NEO_SKIP_UNIT_TESTS} \
|
|
-DRELEASE_WITH_REGKEYS=${RELEASE_WITH_REGKEYS} \
|
|
-DIGDRCL_FORCE_USE_LIBVA=${IGDRCL_FORCE_USE_LIBVA} \
|
|
-DL0_INSTALL_UDEV_RULES=1 \
|
|
-DUDEV_RULES_DIR=/etc/udev/rules.d/ \
|
|
-Wno-dev
|
|
|
|
override_dh_auto_build:
|
|
${BUILD_PREFIX} dh_auto_build
|
|
|
|
override_dh_install:
|
|
rm -rf debian/intel-level-zero-gpu/etc/
|
|
rm -rf debian/intel-level-zero-gpu/usr/lib/x86_64-linux-gnu/intel-opencl/
|
|
rm -rf debian/intel-level-zero-gpu/usr/bin/
|
|
rm -rf debian/intel-level-zero-gpu/usr/include/ocloc_api.h
|
|
rm -rf debian/intel-level-zero-gpu/usr/lib/x86_64-linux-gnu/libocloc.so
|
|
rm -rvf debian/intel-level-zero-gpu/usr/lib/debug
|
|
dh_install
|