Debian Codegraph @

debian/rules

raw symbols SCIP
1 #!/usr/bin/make -f
2
3 include /usr/share/dpkg/architecture.mk
4
5 export DH_GOLANG_INSTALL_EXTRAscip-makefile . . . DH_GOLANG_INSTALL_EXTRA. := \
6 tpm2/test/testvectors/ecc_labeled_encaps.json \
7 tpm2/test/testvectors/rsa_labeled_encaps.json
8
9 export DH_GOLANG_EXCLUDESscip-makefile . . . DH_GOLANG_EXCLUDES. := \
10 examples \
11
12 %scip-makefile . . . `%`/:
13 dh $@scip-makefile . . . `@`. --builddirectory=_build --buildsystem=golang
14
15 override_dh_auto_configurescip-makefile . . . override_dh_auto_configure/:
16 # Workaound for FTBFS with error "Unsupported" from upstream
17 ifeq ($(DEB_HOST_ARCH),loong64)
18 @echo "Notice: Skipping build until upstream supported on long64."
19 else
20 dh_auto_configure
21 endif
22
23 override_dh_auto_buildscip-makefile . . . override_dh_auto_build/:
24 ifeq ($(DEB_HOST_ARCH),loong64)
25 @echo "Notice: Skipping build until upstream supported on long64."
26 else
27 dh_auto_build
28 endif
29
30 override_dh_auto_testscip-makefile . . . override_dh_auto_test/:
31 ifeq ($(DEB_HOST_ARCH),loong64)
32 @echo "Notice: Skipping test until upstream supported on long64."
33 else
34 DH_GOLANG_EXCLUDES="$(DH_GOLANG_EXCLUDESscip-makefile . . . DH_GOLANG_EXCLUDES.) tpm2/test" \
35 dh_auto_test $(DH_BUILD_OPTS)
36 endif