diff options
author | Justin Lecher <jlec@gentoo.org> | 2015-12-08 16:25:09 +0100 |
---|---|---|
committer | Justin Lecher <jlec@gentoo.org> | 2015-12-08 16:25:09 +0100 |
commit | 23f10c612d85c8aef50ecdc14efbe05a4e2f05e8 (patch) | |
tree | a60597b5edbc4a16b911532e94f409e82b0ddffb /sci-libs | |
parent | sci-biology/repeatmasker: actually the the utilities do not include Libraries... (diff) | |
download | sci-23f10c612d85c8aef50ecdc14efbe05a4e2f05e8.tar.gz sci-23f10c612d85c8aef50ecdc14efbe05a4e2f05e8.tar.bz2 sci-23f10c612d85c8aef50ecdc14efbe05a4e2f05e8.zip |
sci-libs/atlas: Optionally build deprecated lapack routines
Package-Manager: portage-2.2.26
Signed-off-by: Justin Lecher <jlec@gentoo.org>
Diffstat (limited to 'sci-libs')
-rw-r--r-- | sci-libs/atlas/atlas-3.11.38-r1.ebuild | 11 | ||||
-rw-r--r-- | 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 4a7d1933e..3c760fef6 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 77d74d963..ba20464d1 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> |