File: rules

package info (click to toggle)
xnnpack 0.0~git20201221.e1ffe15-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, sid
  • size: 60,460 kB
  • sloc: cpp: 592,109; ansic: 516,597; asm: 30,464; python: 8,639; sh: 3,113; makefile: 14
file content (18 lines) | stat: -rwxr-xr-x 381 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/usr/bin/make -f
export DEB_BUILD_MAINT_OPTIONS = hardening+=all
%:
	dh $@ -Scmake+ninja

override_dh_auto_configure:
	dh_auto_configure -- \
		-DBUILD_SHARED_LIBS=ON \
		-DXNNPACK_USE_SYSTEM_LIBS=ON \
		-DXNNPACK_BUILD_TESTS=OFF \
		-DXNNPACK_BUILD_BENCHMARKS=OFF \
		-DGOOGLETEST_SOURCE_DIR=/usr/src/googletest

override_dh_auto_test:
	-dh_auto_test

override_dh_dwz:
	-dh_dwz