Debian Codegraph @

debian/rules

raw symbols SCIP
1 #!/usr/bin/make -f
2 include /usr/share/dpkg/pkg-info.mk
3 include /usr/share/dpkg/architecture.mk
4
5 NO_PIE_ARCHS := mips64el mipsel riscv64
6
7 BUILDFLAGS = $(if $(filter $(DEB_HOST_ARCH),$(NO_PIE_ARCHS)),,-buildmode=pie) \
8 -ldflags "-X main.Version=$(DEB_VERSION_UPSTREAM)"
9
10 %:
11 dh $@ --builddirectory=debian/_build --buildsystem=golang
12
13 override_dh_auto_build:
14 dh_auto_build -- $(BUILDFLAGS)
15
16 # riscv64: panic: test timed out after 10m0s
17 # https://buildd.debian.org/status/fetch.php?pkg=age&arch=riscv64&ver=1.3.1-1&stamp=1773127362&raw=0
18 # https://ci.debian.net/packages/a/age/testing/riscv64/69641367/
19 # 2705s panic: test timed out after 30m0s
20 override_dh_auto_test:
21 dh_auto_test $(DH_BUILD_OPTS) -- -timeout 75m