From: "Nicolas Bock" <nicolasbock@gmail.com>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/sci:master commit in: sci-biology/bowtie/
Date: Fri, 27 Sep 2013 15:05:02 +0000 (UTC) [thread overview]
Message-ID: <1380224123.9ee84fa74a5bc48850d98dd49edbe223e8085e5a.nicolasbock@gentoo> (raw)
commit: 9ee84fa74a5bc48850d98dd49edbe223e8085e5a
Author: cel <cel.gentoo <AT> gmail <DOT> com>
AuthorDate: Thu Sep 26 19:35:23 2013 +0000
Commit: Nicolas Bock <nicolasbock <AT> gmail <DOT> com>
CommitDate: Thu Sep 26 19:35:23 2013 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=9ee84fa7
sci-biology/bowtie: fixed check for sse2 support.
---
sci-biology/bowtie/bowtie-2.1.0.ebuild | 21 ++++++++-------------
1 file changed, 8 insertions(+), 13 deletions(-)
diff --git a/sci-biology/bowtie/bowtie-2.1.0.ebuild b/sci-biology/bowtie/bowtie-2.1.0.ebuild
index c2c5024..26bf770 100644
--- a/sci-biology/bowtie/bowtie-2.1.0.ebuild
+++ b/sci-biology/bowtie/bowtie-2.1.0.ebuild
@@ -4,7 +4,7 @@
EAPI=5
-inherit eutils flag-o-matic toolchain-funcs
+inherit eutils toolchain-funcs
DESCRIPTION="An ultrafast memory-efficient short read aligner"
HOMEPAGE="http://bowtie-bio.sourceforge.net/"
@@ -12,23 +12,19 @@ SRC_URI="mirror://sourceforge/bowtie-bio/${P}-source.zip"
LICENSE="GPL-3"
SLOT="2"
-IUSE="sse2 examples"
+IUSE="examples"
KEYWORDS="~amd64 ~x86"
-CDEPEND="dev-lang/perl"
-DEPEND="${CDEPEND} \
+RDEPEND="dev-lang/perl"
+DEPEND="${RDEPEND}
app-arch/unzip"
-RDEPEND="${CDEPEND}"
S="${WORKDIR}/${PN}2-${PV}"
pkg_pretend() {
- if ! use sse2 ; then
- ebegin
- eerror "bowtie2 requires sse2 support. Please make sure your system supports"
- eerror "sse2 and enable the sse2 use flag."
- eend
- die
+ grep "sse2" /proc/cpuinfo > /dev/null
+ if [[ $? -ne 0 ]] ; then
+ ewarn "Your processor does not support sse2. Bowtie will probably not work on this machine."
fi
}
@@ -37,12 +33,11 @@ src_prepare() {
}
src_compile() {
- use sse2 && append-cxxflags -msse2
emake \
CC="$(tc-getCC)" \
CPP="$(tc-getCXX)" \
EXTRA_FLAGS="${LDFLAGS}" \
- RELEASE_FLAGS="${CXXFLAGS}"
+ RELEASE_FLAGS="${CXXFLAGS} -msse2"
}
src_install() {
next reply other threads:[~2013-09-27 15:05 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-09-27 15:05 Nicolas Bock [this message]
-- strict thread matches above, loose matches on Subject: below --
2013-09-28 10:57 [gentoo-commits] proj/sci:master commit in: sci-biology/bowtie/ Justin Lecher
2015-02-08 21:07 Christoph Junghans
2015-02-08 21:07 Christoph Junghans
2015-04-27 11:01 Martin Mokrejs
2015-05-01 20:38 Martin Mokrejs
2015-10-12 6:51 Marius Brehler
2015-10-12 6:51 Marius Brehler
2019-02-19 11:24 Martin Mokrejs
2019-02-19 11:26 Martin Mokrejs
2019-03-25 11:21 Martin Mokrejs
2020-02-26 8:49 Martin Mokrejs
2020-02-28 23:07 Martin Mokrejs
2020-12-30 22:52 Martin Mokrejs
2021-03-06 10:02 Andrew Ammerlaan
2021-03-16 18:15 Andrew Ammerlaan
2021-03-17 10:37 Andrew Ammerlaan
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=1380224123.9ee84fa74a5bc48850d98dd49edbe223e8085e5a.nicolasbock@gentoo \
--to=nicolasbock@gmail.com \
--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