public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Justin Lecher" <jlec@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/sci:master commit in: sci-libs/atlas/
Date: Tue,  8 Dec 2015 15:25:22 +0000 (UTC)	[thread overview]
Message-ID: <1449588309.23f10c612d85c8aef50ecdc14efbe05a4e2f05e8.jlec@gentoo> (raw)

commit:     23f10c612d85c8aef50ecdc14efbe05a4e2f05e8
Author:     Justin Lecher <jlec <AT> gentoo <DOT> org>
AuthorDate: Tue Dec  8 15:25:09 2015 +0000
Commit:     Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Tue Dec  8 15:25:09 2015 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=23f10c61

sci-libs/atlas: Optionally build deprecated lapack routines

Package-Manager: portage-2.2.26
Signed-off-by: Justin Lecher <jlec <AT> gentoo.org>

 sci-libs/atlas/atlas-3.11.38-r1.ebuild | 11 ++++++++---
 sci-libs/atlas/metadata.xml            |  1 +
 2 files changed, 9 insertions(+), 3 deletions(-)

diff --git a/sci-libs/atlas/atlas-3.11.38-r1.ebuild b/sci-libs/atlas/atlas-3.11.38-r1.ebuild
index 4a7d193..3c760fe 100644
--- a/sci-libs/atlas/atlas-3.11.38-r1.ebuild
+++ b/sci-libs/atlas/atlas-3.11.38-r1.ebuild
@@ -18,10 +18,11 @@ SRC_URI="mirror://sourceforge/math-atlas/${PN}${PV}.tar.bz2
 LICENSE="BSD"
 SLOT="0"
 KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
-IUSE="doc fortran generic ifko lapack static-libs threads"
+IUSE="+deprecated doc fortran generic ifko lapack static-libs threads"
 
-RDEPEND=""
-DEPEND="${RDEPEND}"
+REQUIRED_USE="
+	deprecated? ( lapack )
+	lapack? ( fortran )"
 
 S="${WORKDIR}/ATLAS"
 
@@ -111,6 +112,10 @@ src_configure() {
 		# for debugging
 		echo ${myconf[@]} > myconf.out
 		"${S}"/configure ${myconf[@]} || die "configure in ${confdir} failed"
+
+		if use deprecated; then
+			echo "BUILD_DEPRECATED=1" >> src/lapack/reference/make.inc.example || die
+		fi
 	}
 
 	atlas_configure shared "-Fa alg -fPIC" ${EXTRA_ECONF}

diff --git a/sci-libs/atlas/metadata.xml b/sci-libs/atlas/metadata.xml
index 77d74d9..ba20464 100644
--- a/sci-libs/atlas/metadata.xml
+++ b/sci-libs/atlas/metadata.xml
@@ -11,6 +11,7 @@
   LAPACK using the reference LAPACK from Netlib.
 </longdescription>
   <use>
+    <flag name="deprecated">Build deprecated routines</flag>
     <flag name="generic">Build atlas assuming a fairly generic architecture (sse2 for x86, core2 for amd64)</flag>
     <flag name="ifko">Use iFKO to improve ATLAS performance (ATTENTION!!! Increases builtime enormously)</flag>
   </use>


             reply	other threads:[~2015-12-08 15:25 UTC|newest]

Thread overview: 32+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-12-08 15:25 Justin Lecher [this message]
  -- strict thread matches above, loose matches on Subject: below --
2017-06-26 20:35 [gentoo-commits] proj/sci:master commit in: sci-libs/atlas/ Justin Lecher
2017-02-03 10:25 Marius Brehler
2016-12-02  9:06 Marius Brehler
2016-09-07 13:15 Marius Brehler
2016-01-03 10:33 Alexey Shvetsov
2015-12-14 11:39 Justin Lecher
2015-12-05 13:32 Justin Lecher
2014-02-02 17:01 Reinis Danne
2014-01-28 19:01 Sebastien Fabbro
2013-10-14  9:38 Justin Lecher
2013-10-13 14:39 Justin Lecher
2013-05-23  5:13 Sebastien Fabbro
2013-02-25  1:20 Sebastien Fabbro
2013-02-20 19:09 Sebastien Fabbro
2013-01-28 22:51 Sebastien Fabbro
2012-07-10 21:28 Sebastien Fabbro
2012-06-26 22:27 Sebastien Fabbro
2012-06-18 22:01 Sebastien Fabbro
2012-06-07 16:35 Sebastien Fabbro
2012-05-07 15:09 Andrea Arteaga
2012-03-25  0:32 Andrea Arteaga
2012-03-16 21:41 Sebastien Fabbro
2012-02-23 19:05 Sebastien Fabbro
2012-02-20 23:21 Sebastien Fabbro
2012-02-16  4:26 Sebastien Fabbro
2011-10-12 15:29 Andrea Arteaga
2011-09-06  9:35 Andrea Arteaga
2011-08-15 17:18 Kacper Kowalik
2011-08-06 14:00 Alexey Shvetsov
2011-08-06  2:11 Andrea Arteaga
2011-08-06  0:25 Andrea Arteaga

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=1449588309.23f10c612d85c8aef50ecdc14efbe05a4e2f05e8.jlec@gentoo \
    --to=jlec@gentoo.org \
    --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