Debian Codegraph @

debian/rules

raw
1 #!/usr/bin/make -f
2
3 # Don't build the examples or mmvdump binary
4 export DH_GOLANG_EXCLUDES := examples/ mmvdump/cmd/mmvdump
5
6 %:
7 dh $@ --builddirectory=_build --buildsystem=golang --with=golang
8
9 # The tests expect test data to match the endianness of the system where the
10 # tests are run. This breaks tests on s390x (big endian), so for now don't run
11 # the tests on that architecture. (Reported upstream as
12 # https://github.com/performancecopilot/speed/issues/64)
13 override_dh_auto_test:
14 ifneq ($(DEB_HOST_ARCH),s390x)
15 dh_auto_test
16 endif