[med-svn] [Git][med-team/lambda-align2][master] 2 commits: enable verbose mode in d/rules
Sascha Steinbiss
gitlab at salsa.debian.org
Sat Jan 19 22:25:46 GMT 2019
Sascha Steinbiss pushed to branch master at Debian Med / lambda-align2
Commits:
8f5302b0 by Sascha Steinbiss at 2019-01-19T22:24:49Z
enable verbose mode in d/rules
- - - - -
d3f174cc by Sascha Steinbiss at 2019-01-19T22:25:28Z
selectively build with multiopt support
- - - - -
2 changed files:
- debian/changelog
- debian/rules
Changes:
=====================================
debian/changelog
=====================================
@@ -1,3 +1,11 @@
+lambda-align2 (2.0.0-2) unstable; urgency=medium
+
+ * Enable verbose mode in d/rules.
+ * Only activate multiopt builds on archs that support the required
+ compiler flags.
+
+ -- Sascha Steinbiss <satta at debian.org> Sat, 19 Jan 2019 23:19:18 +0100
+
lambda-align2 (2.0.0-1) unstable; urgency=medium
* Initial packaging for 2.x series (Closes: #919726)
=====================================
debian/rules
=====================================
@@ -1,7 +1,18 @@
#!/usr/bin/make -f
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
+export DH_VERBOSE=1
+
include /usr/share/dpkg/pkg-info.mk
+include /usr/share/dpkg/architecture.mk
+
+MULTIOPT_ARCHS = amd64 kfreebsd-amd64
+
+ifneq (,$(findstring $(DEB_HOST_ARCH),$(MULTIOPT_ARCHS)))
+ ENABLE_MULTIOPT="-DLAMBDA_MULTIOPT_BUILD=1"
+else
+ ENABLE_MULTIOPT="-DLAMBDA_MULTIOPT_BUILD=0"
+endif
%:
dh $@ --builddirectory=build
@@ -15,7 +26,7 @@ override_dh_auto_configure:
-DLAMBDA_NATIVE_BUILD=OFF \
-DLAMBDA_MMAPPED_DB=OFF \
-DCMAKE_BUILD_TYPE=Release \
- -DLAMBDA_MULTIOPT_BUILD=1 \
+ $(ENABLE_MULTIOPT) \
-DLAMBDA_COMPILE_THREADS=$(shell nproc)
override_dh_auto_test:
View it on GitLab: https://salsa.debian.org/med-team/lambda-align2/compare/c81da7b9e7972b0d6217f3a8753f6e5cd873f8c7...d3f174cc3d09fc5c5fc00da3c69dea1b8a6f4728
--
View it on GitLab: https://salsa.debian.org/med-team/lambda-align2/compare/c81da7b9e7972b0d6217f3a8753f6e5cd873f8c7...d3f174cc3d09fc5c5fc00da3c69dea1b8a6f4728
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/20190119/f48b0a97/attachment-0001.html>
More information about the debian-med-commit
mailing list