Debian Codegraph @

debian/rules

raw symbols SCIP
1 #!/usr/bin/make -f
2
3 export DH_GOLANG_EXCLUDES := github.com/dgraph-io/badger$
4 export DH_GOLANG_EXCLUDES_ALL := 0
5 export DH_GOLANG_INSTALL_EXTRA := fb/gen.sh pb/gen.sh
6
7 %:
8 dh $@ --builddirectory=_build --buildsystem=golang
9
10 ifeq ($(DEB_HOST_ARCH_BITS),32)
11 override_dh_auto_test:
12 -dh_auto_test
13 endif
14
15 ifneq (,$(filter $(DEB_TARGET_ARCH), ppc64el))
16 ifeq (,$(filter $(DEB_BUILD_OPTIONS), nocheck))
17 execute_after_dh_auto_test:
18 # intermittent test failure? Failing explicitly. See #1078496
19 echo "Test failure on ppc64el, see https://bugs.debian.org/1078496"
20 exit 1
21 endif
22 endif
23
24 execute_after_dh_auto_install:
25 # Badger Integration test for value log GC.
26 -rm -fv debian/tmp/usr/bin/testgc