You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
#!/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)
|
|
|
|
|
|
|
|
%:
|
|
|
|
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})
|