[med-svn] [spades] 06/06: build with debug symbols
Sascha Steinbiss
satta at debian.org
Mon Jul 11 10:02:06 UTC 2016
This is an automated email from the git hooks/post-receive script.
satta pushed a commit to branch master
in repository spades.
commit 3331fab3bb95f1bf34808bac5176e34938bdfec1
Author: Sascha Steinbiss <satta at debian.org>
Date: Mon Jul 11 10:01:02 2016 +0000
build with debug symbols
---
debian/changelog | 1 +
debian/patches/0117_build_with_debug.patch | 13 +++++++++++++
debian/patches/series | 1 +
3 files changed, 15 insertions(+)
diff --git a/debian/changelog b/debian/changelog
index 5ef1865..87c533a 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -3,6 +3,7 @@ spades (3.8.2+dfsg-1) unstable; urgency=medium
* New upstream release.
* Adapt patches for new upstream code.
* Remove unused override.
+ * Build with debug symbols.
-- Sascha Steinbiss <satta at debian.org> Mon, 11 Jul 2016 08:39:53 +0000
diff --git a/debian/patches/0117_build_with_debug.patch b/debian/patches/0117_build_with_debug.patch
new file mode 100644
index 0000000..08d2b83
--- /dev/null
+++ b/debian/patches/0117_build_with_debug.patch
@@ -0,0 +1,13 @@
+Description: enable building with debug symbols
+Author: Sascha Steinbiss <satta at debian.org>
+--- a/spades_compile.sh
++++ b/spades_compile.sh
+@@ -19,7 +19,7 @@
+ mkdir -p "$BASEDIR/$BUILD_DIR"
+ set -e
+ cd "$BASEDIR/$BUILD_DIR"
+-cmake -G "Unix Makefiles" -DCMAKE_INSTALL_PREFIX="$PREFIX" "$BASEDIR/src" $*
++cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_INSTALL_PREFIX="$PREFIX" "$BASEDIR/src" $*
+ make -j 1 VERBOSE=1
+ make install
+ cd $PREFIX
diff --git a/debian/patches/series b/debian/patches/series
index a6de90a..f3d6337 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -15,3 +15,4 @@
0115_enable_compiler_messages.patch
0111_use_full_config_dirs.patch
0116_stable_link_order.patch
+0117_build_with_debug.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/spades.git
More information about the debian-med-commit
mailing list