File: rules

package info (click to toggle)
tensorpipe 0.0~git20200928.95ff931-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 1,280 kB
  • sloc: cpp: 16,001; python: 96; makefile: 10
file content (14 lines) | stat: -rwxr-xr-x 441 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/usr/bin/make -f
export DEB_BUILD_MAINT_OPTIONS = hardening=+all

ifneq (,$(filter $(DEB_HOST_ARCH), armel m68k mipsel powerpc riscv64 sh4))
  export DEB_LDFLAGS_MAINT_APPEND += -Wl,--no-as-needed -latomic -Wl,--as-needed
endif

%:
	dh $@ -Scmake

override_dh_auto_configure:
	-$(RM) -rfv third_party/googletest third_party/libuv
	ln -sfv /usr/src/googletest third_party/
	dh_auto_configure -- -DBUILD_SHARED_LIBS=ON -DTP_BUILD_TESTING=ON