Debian Codegraph @

debian/rules

raw symbols SCIP
1 #!/usr/bin/make -f
2
3 DH_VERBOSE := 1
4
5 export DEB_BUILD_MAINT_OPTIONS=hardening=+all
6
7 CMAKE_EXTRA_FLAGS += -DDEBIAN_BUILD=1 \
8 -DLINK=shared \
9 -DBUILD_FUNCTESTING=1 -DUSE_BAM=1
10
11 %:
12 dh $@ --no-parallel
13
14 override_dh_auto_clean:
15 dh_auto_clean
16 rm -rf ext/bifrost/build ext/bifrost/tmp ext/bifrost/src/bifrost-build ext/bifrost/src/bifrost-stamp
17
18 override_dh_auto_configure:
19 dh_auto_configure -- $(CMAKE_EXTRA_FLAGS)
20
21 override_dh_auto_test:
22 dh_auto_test || true
23 cd test && PATH=$$(find ../obj-* -name src):$(PATH) HOME=$$(mktemp --directory) XDG_CACHE_HOME=$(mktemp --directory) snakemake --cores 1 || true
24 rm -rf test/.snakemake test/bus_out test/quant_out/run_info.json test/transcripts.kidx.gz \
25 test/quant_out test/transcripts.kidx
26 # FIXME:
27 # ./src/kallisto quant -o ./func_tests/quantbasic -i ./func_tests/basic7.idx --single -l 5 -s 2 ./func_tests/small.fastq.gz
28 # ./func_tests/runtests.sh: line 12: 299146 Segmentation fault (core dumped) ./src/kallisto quant -o ./func_tests/quantbasic -i ./func_tests/basic7.idx --single -l 5 -s 2 ./func_tests/small.fastq.gz 2> /dev/null > /dev/null
29 #[Failed]
30 # This might leave a core file which should at least be removed to not make it into the final package
31 find . -name 'core' -o -name 'core.[0-9]*' | xargs rm -f