15 lines
502 B
Plaintext
Raw Permalink Normal View History

2024-10-21 20:40:46 -05:00
#!/usr/bin/make -f
export DH_VERBOSE = 1
export GO111MODULE = off
export GOPATH=/usr/share/gocode
export GOCACHE=$(CURDIR)/.gocache
export NUM_CPUS = $(shell nproc)
2024-10-21 20:40:46 -05:00
%:
dh $@
override_dh_auto_build:
(cd snapd-seed-glue && go build -gcflags="all=-N -l" -ldflags="-compressdwarf=false" -o snapd-seed-glue)
(cd snapd-seed-glue/tests && cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo . && make -j${NUM_CPUS})
(cd snapd-installation-monitor && cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo . && make -j${NUM_CPUS})