[med-svn] [Git][med-team/gbwt][master] 3 commits: skip tests for now

Michael R. Crusoe gitlab at salsa.debian.org
Thu Jan 10 15:52:34 GMT 2019


Michael R. Crusoe pushed to branch master at Debian Med / gbwt


Commits:
aeea3452 by Michael R. Crusoe at 2018-12-14T07:37:14Z
skip tests for now

- - - - -
51f3fca4 by Michael R. Crusoe at 2018-12-14T07:40:59Z
install the static library

- - - - -
7a13f094 by Michael R. Crusoe at 2019-01-10T15:44:27Z
set -DNDEBUG as per upstream

https://github.com/jltsiren/gbwt/issues/2#issuecomment-447283489

- - - - -


3 changed files:

- debian/control
- debian/rules
- debian/tests/control


Changes:

=====================================
debian/control
=====================================
@@ -12,7 +12,7 @@ Homepage: https://github.com/jltsiren/gbwt
 Package: libgbwt-dev
 Section: libdevel
 Architecture: any
-Depends: ${shlibs:Depends}, ${misc:Depends}
+Depends: ${misc:Depends}
 Description: Substring index for paths in a graph
  Graph BWT is an independent implementation of the graph extension (gPBWT) of 
  the positional Burrows-Wheeler transform (PBWT). Its initial purpose is to


=====================================
debian/rules
=====================================
@@ -15,15 +15,21 @@ include /usr/share/dpkg/default.mk
 #                    specified by <https://reproducible-builds.org/specs/source-date-epoch/>
 
 # for hardening you might like to uncomment this:
-# export DEB_BUILD_MAINT_OPTIONS=hardening=+all
+export DEB_BUILD_MAINT_OPTIONS=hardening=+all
+CXXFLAGS:=$(shell dpkg-buildflags --get CXXFLAGS) -DNDEBUG
 
 %:
 	dh $@
 
 override_dh_auto_build:
-	dh_auto_build -- MY_CXX=g++ INC_DIR=/usr/include LIB_DIR=/usr/lib
+	dh_auto_build -- CXXFLAGS="$(CXXFLAGS)" MY_CXX=g++ INC_DIR=/usr/include LIB_DIR=/usr/lib
+
+override_dh_auto_install:
+	dh_auto_install
+	mkdir -p debian/libgbwt-dev/usr/lib/$(shell dpkg-architecture --query DEB_HOST_MULTIARCH)/
+	cp libgbwt.a debian/libgbwt-dev/usr/lib/$(shell dpkg-architecture --query DEB_HOST_MULTIARCH)/
 
 override_dh_auto_test:
 ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
-	dh_auto_test -- MY_CXX=g++ INC_DIR=/usr/include LIB_DIR=/usr/lib
+	dh_auto_test -- CXXFLAGS="$(CXXFLAGS)" MY_CXX=g++ INC_DIR=/usr/include LIB_DIR=/usr/lib
 endif


=====================================
debian/tests/control
=====================================
@@ -1,3 +1,3 @@
-Tests: run-unit-test
-Depends: @
-Restrictions: allow-stderr
+#Tests: run-unit-test
+#Depends: @
+#Restrictions: allow-stderr



View it on GitLab: https://salsa.debian.org/med-team/gbwt/compare/25d7af4b0ba43273e22ae5a49efaaf728065b2f1...7a13f09417ec471ab92ade8bd5b714cfa3efeaec

-- 
View it on GitLab: https://salsa.debian.org/med-team/gbwt/compare/25d7af4b0ba43273e22ae5a49efaaf728065b2f1...7a13f09417ec471ab92ade8bd5b714cfa3efeaec
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-med-commit/attachments/20190110/cdd4eb34/attachment-0001.html>


More information about the debian-med-commit mailing list