From: "Martin Mokrejs" <mmokrejs@fold.natur.cuni.cz>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/sci:master commit in: sci-libs/libmaus2/
Date: Tue, 18 Apr 2017 12:09:20 +0000 (UTC) [thread overview]
Message-ID: <1492517346.51fe11a3b2a3519a325f9cb86f1b27ea0cf9ec62.mmokrejs@gentoo> (raw)
commit: 51fe11a3b2a3519a325f9cb86f1b27ea0cf9ec62
Author: Martin Mokrejš <mmokrejs <AT> fold <DOT> natur <DOT> cuni <DOT> cz>
AuthorDate: Tue Apr 18 12:09:06 2017 +0000
Commit: Martin Mokrejs <mmokrejs <AT> fold <DOT> natur <DOT> cuni <DOT> cz>
CommitDate: Tue Apr 18 12:09:06 2017 +0000
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=51fe11a3
sci-libs/libmaus2: make configure to enable optional but highly wanted features
The configure by default has a number of features disables, and does not enable
the option. It somehow does not even try to look for headers and libs from say
snappy unless --enable-snappy was passed.
Try to blindly enable most of the features although it is not clear whether say
gnutls should be preferred over nettle, likewise when --enable-sse4 is any better
--enable-sse3 (and should not be enabled concurrently with it).
Package-Manager: Portage-2.3.5, Repoman-2.3.2
sci-libs/libmaus2/libmaus2-9999.ebuild | 20 +++++++++++++++++---
1 file changed, 17 insertions(+), 3 deletions(-)
diff --git a/sci-libs/libmaus2/libmaus2-9999.ebuild b/sci-libs/libmaus2/libmaus2-9999.ebuild
index ab60eeb60..fcf29886d 100644
--- a/sci-libs/libmaus2/libmaus2-9999.ebuild
+++ b/sci-libs/libmaus2/libmaus2-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -12,19 +12,33 @@ EGIT_REPO_URI="https://github.com/gt1/libmaus2.git"
LICENSE="GPL-3" # BUG: a mix of licenses, see AUTHORS
SLOT="0"
KEYWORDS=""
-IUSE=""
+IUSE="cpu_flags_x86_ssse3 cpu_flags_x86_sse4_1 cpu_flags_x86_sse4_2"
DEPEND="
!sci-libs/libmaus
sci-libs/io_lib
app-arch/snappy
- sci-biology/seqan"
+ sci-biology/seqan
+ sci-libs/fftw
+ sci-libs/hdf5
+ net-libs/gnutls
+ dev-libs/nettle"
+# --with-daligner
+# --with-irods
src_prepare() {
eautoreconf
eapply_user
}
+src_configure(){
+ local CONFIG_OPTS
+ use cpu_flags_x86_ssse3 && CONFIG_OPTS+=( --enable-ssse3 )
+ ( use cpu_flags_x86_sse4_1 || use cpu_flags_x86_sse4_2 ) && CONFIG_OPTS+=( --enable-sse4 )
+ econf --with-snappy --with-seqan --with-io_lib $CONFIG_OPTS \
+ --with-lzma --with-gnutls --with-nettle --with-hdf5 --with-gmp --with-fftw
+}
+
pkg_postinst(){
einfo "The io_lib, snappy and seqan dependencies are not strictly needed"
einfo "but were forced for optimal libmaus2 performance."
next reply other threads:[~2017-04-18 12:09 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-04-18 12:09 Martin Mokrejs [this message]
-- strict thread matches above, loose matches on Subject: below --
2021-12-16 10:57 [gentoo-commits] proj/sci:master commit in: sci-libs/libmaus2/ Andrew Ammerlaan
2020-09-28 7:31 Horea Christian
2020-09-28 7:31 Horea Christian
2019-12-30 15:37 Martin Mokrejs
2019-12-30 15:20 Martin Mokrejs
2019-12-30 15:14 Martin Mokrejs
2019-01-22 15:18 Martin Mokrejs
2018-12-14 11:41 Martin Mokrejs
2017-04-29 19:25 Martin Mokrejs
2016-07-15 9:06 Martin Mokrejs
2016-07-14 18:42 Martin Mokrejs
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1492517346.51fe11a3b2a3519a325f9cb86f1b27ea0cf9ec62.mmokrejs@gentoo \
--to=mmokrejs@fold.natur.cuni.cz \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox