* [gentoo-commits] repo/gentoo:master commit in: sci-libs/lapack-reference/
@ 2015-12-29 10:02 Justin Lecher
0 siblings, 0 replies; 11+ messages in thread
From: Justin Lecher @ 2015-12-29 10:02 UTC (permalink / raw
To: gentoo-commits
commit: 3075872ee248a23dc963be4064cb99d269b5fe0f
Author: Justin Lecher <jlec <AT> gentoo <DOT> org>
AuthorDate: Tue Dec 29 08:32:17 2015 +0000
Commit: Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Tue Dec 29 10:01:53 2015 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3075872e
sci-libs/lapack-reference: Use original eselect module
Package-Manager: portage-2.2.26
Signed-off-by: Justin Lecher <jlec <AT> gentoo.org>
sci-libs/lapack-reference/lapack-reference-3.2.1-r4.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sci-libs/lapack-reference/lapack-reference-3.2.1-r4.ebuild b/sci-libs/lapack-reference/lapack-reference-3.2.1-r4.ebuild
index ee152b6..6e6e06e 100644
--- a/sci-libs/lapack-reference/lapack-reference-3.2.1-r4.ebuild
+++ b/sci-libs/lapack-reference/lapack-reference-3.2.1-r4.ebuild
@@ -56,7 +56,7 @@ src_prepare() {
make.inc.example > make.inc \
|| die "Failed to set up make.inc"
- cp "${FILESDIR}"/eselect.lapack.reference-ng "${T}"/eselect.lapack.reference || die
+ cp "${FILESDIR}"/eselect.lapack.reference "${T}"/eselect.lapack.reference || die
sed -i -e "s:/usr:${EPREFIX}/usr:" "${T}"/eselect.lapack.reference || die
if [[ ${CHOST} == *-darwin* ]] ; then
sed -i -e 's/\.so\([\.0-9]\+\)\?/\1.dylib/g' \
^ permalink raw reply related [flat|nested] 11+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-libs/lapack-reference/
@ 2019-05-16 19:30 Aaron Bauman
0 siblings, 0 replies; 11+ messages in thread
From: Aaron Bauman @ 2019-05-16 19:30 UTC (permalink / raw
To: gentoo-commits
commit: d78b49cd586df0606383b5086a4f0a322619642c
Author: Aaron Bauman <bman <AT> gentoo <DOT> org>
AuthorDate: Thu May 16 15:10:27 2019 +0000
Commit: Aaron Bauman <bman <AT> gentoo <DOT> org>
CommitDate: Thu May 16 19:27:20 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d78b49cd
sci-libs/lapack-reference: arm64 stable
Signed-off-by: Aaron Bauman <bman <AT> gentoo.org>
Package-Manager: Portage-2.3.66, Repoman-2.3.12
RepoMan-Options: --include-arches="arm64"
sci-libs/lapack-reference/lapack-reference-3.2.1-r4.ebuild | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/sci-libs/lapack-reference/lapack-reference-3.2.1-r4.ebuild b/sci-libs/lapack-reference/lapack-reference-3.2.1-r4.ebuild
index e8d5f5d55d1..b58d917776d 100644
--- a/sci-libs/lapack-reference/lapack-reference-3.2.1-r4.ebuild
+++ b/sci-libs/lapack-reference/lapack-reference-3.2.1-r4.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=5
@@ -16,7 +16,7 @@ SRC_URI="
LICENSE="BSD"
SLOT="0"
-KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 s390 sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos"
+KEYWORDS="alpha amd64 arm arm64 hppa ia64 ppc ppc64 s390 sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos"
IUSE="doc"
RDEPEND="
^ permalink raw reply related [flat|nested] 11+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-libs/lapack-reference/
@ 2018-08-17 2:05 Mikle Kolyada
0 siblings, 0 replies; 11+ messages in thread
From: Mikle Kolyada @ 2018-08-17 2:05 UTC (permalink / raw
To: gentoo-commits
commit: eccdc519d269ee2f721ac8052740ded32e42b071
Author: Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
AuthorDate: Fri Aug 17 02:00:33 2018 +0000
Commit: Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
CommitDate: Fri Aug 17 02:05:14 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eccdc519
sci-libs/lapack-reference: mark s390 stable
Package-Manager: Portage-2.3.40, Repoman-2.3.9
sci-libs/lapack-reference/lapack-reference-3.2.1-r4.ebuild | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/sci-libs/lapack-reference/lapack-reference-3.2.1-r4.ebuild b/sci-libs/lapack-reference/lapack-reference-3.2.1-r4.ebuild
index 26258bbf0c5..e8d5f5d55d1 100644
--- a/sci-libs/lapack-reference/lapack-reference-3.2.1-r4.ebuild
+++ b/sci-libs/lapack-reference/lapack-reference-3.2.1-r4.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
@@ -16,7 +16,7 @@ SRC_URI="
LICENSE="BSD"
SLOT="0"
-KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 ~s390 sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos"
+KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 s390 sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos"
IUSE="doc"
RDEPEND="
^ permalink raw reply related [flat|nested] 11+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-libs/lapack-reference/
@ 2017-10-16 3:34 David Seifert
0 siblings, 0 replies; 11+ messages in thread
From: David Seifert @ 2017-10-16 3:34 UTC (permalink / raw
To: gentoo-commits
commit: 73f79f8effc24497fc600909168f29b49e9dc636
Author: David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Mon Oct 16 03:01:19 2017 +0000
Commit: David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Mon Oct 16 03:01:19 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=73f79f8e
sci-libs/lapack-reference: [QA] Add cmake-utils_src_prepare
Package-Manager: Portage-2.3.11, Repoman-2.3.3
sci-libs/lapack-reference/lapack-reference-3.6.0.ebuild | 4 +---
sci-libs/lapack-reference/lapack-reference-3.7.0.ebuild | 4 +---
2 files changed, 2 insertions(+), 6 deletions(-)
diff --git a/sci-libs/lapack-reference/lapack-reference-3.6.0.ebuild b/sci-libs/lapack-reference/lapack-reference-3.6.0.ebuild
index f7f204af067..e3312e7d791 100644
--- a/sci-libs/lapack-reference/lapack-reference-3.6.0.ebuild
+++ b/sci-libs/lapack-reference/lapack-reference-3.6.0.ebuild
@@ -23,9 +23,7 @@ S="${WORKDIR}/lapack-${PV}"
PATCHES=( "${FILESDIR}/${P}-fix-build-system.patch" )
src_prepare() {
- epatch "${PATCHES[@]}"
-
- eapply_user
+ cmake-utils_src_prepare
ESELECT_PROF=reference
diff --git a/sci-libs/lapack-reference/lapack-reference-3.7.0.ebuild b/sci-libs/lapack-reference/lapack-reference-3.7.0.ebuild
index 2bc7edc7b4f..e72c51c93e9 100644
--- a/sci-libs/lapack-reference/lapack-reference-3.7.0.ebuild
+++ b/sci-libs/lapack-reference/lapack-reference-3.7.0.ebuild
@@ -23,9 +23,7 @@ S="${WORKDIR}/lapack-${PV}"
PATCHES=( "${FILESDIR}/${P}-fix-build-system.patch" )
src_prepare() {
- epatch "${PATCHES[@]}"
-
- eapply_user
+ cmake-utils_src_prepare
ESELECT_PROF=reference
^ permalink raw reply related [flat|nested] 11+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-libs/lapack-reference/
@ 2017-06-26 12:48 Alexis Ballier
0 siblings, 0 replies; 11+ messages in thread
From: Alexis Ballier @ 2017-06-26 12:48 UTC (permalink / raw
To: gentoo-commits
commit: e5aebb556a2039599c6660909d53e772670dfe8c
Author: Alexis Ballier <aballier <AT> gentoo <DOT> org>
AuthorDate: Mon Jun 26 12:47:38 2017 +0000
Commit: Alexis Ballier <aballier <AT> gentoo <DOT> org>
CommitDate: Mon Jun 26 12:48:18 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e5aebb55
sci-libs/lapack-reference: keyword ~arm64
Package-Manager: Portage-2.3.6, Repoman-2.3.2
sci-libs/lapack-reference/lapack-reference-3.7.0.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sci-libs/lapack-reference/lapack-reference-3.7.0.ebuild b/sci-libs/lapack-reference/lapack-reference-3.7.0.ebuild
index 81850f1f267..2bc7edc7b4f 100644
--- a/sci-libs/lapack-reference/lapack-reference-3.7.0.ebuild
+++ b/sci-libs/lapack-reference/lapack-reference-3.7.0.ebuild
@@ -11,7 +11,7 @@ SRC_URI="http://www.netlib.org/lapack/lapack-${PV}.tgz"
LICENSE="BSD"
SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos"
IUSE="+deprecated"
DEPEND="app-eselect/eselect-lapack
^ permalink raw reply related [flat|nested] 11+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-libs/lapack-reference/
@ 2017-02-06 19:22 Fabian Groffen
0 siblings, 0 replies; 11+ messages in thread
From: Fabian Groffen @ 2017-02-06 19:22 UTC (permalink / raw
To: gentoo-commits
commit: 91bd82d2f67285e00829f7b5463bcbcef80e1b29
Author: Fabian Groffen <grobian <AT> gentoo <DOT> org>
AuthorDate: Mon Feb 6 19:21:48 2017 +0000
Commit: Fabian Groffen <grobian <AT> gentoo <DOT> org>
CommitDate: Mon Feb 6 19:21:48 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=91bd82d2
sci-libs/lapack-reference: fix installation on Prefix, bug #608266
Package-Manager: portage-2.3.3
sci-libs/lapack-reference/lapack-reference-3.7.0.ebuild | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/sci-libs/lapack-reference/lapack-reference-3.7.0.ebuild b/sci-libs/lapack-reference/lapack-reference-3.7.0.ebuild
index f03d2b3..a96e881 100644
--- a/sci-libs/lapack-reference/lapack-reference-3.7.0.ebuild
+++ b/sci-libs/lapack-reference/lapack-reference-3.7.0.ebuild
@@ -71,6 +71,13 @@ src_install() {
mkdir -p "${ED}/usr/$(get_libdir)/lapack/reference" || die
mv "${ED}/usr/$(get_libdir)"/lib* "${ED}/usr/$(get_libdir)/pkgconfig"/* \
"${ED}/usr/$(get_libdir)/lapack/reference" || die
+ if [[ ${CHOST} == *-darwin* ]] ; then
+ # modify install_names accordingly, bug #608266
+ local lib
+ for lib in "${ED}"/usr/$(get_libdir)/lapack/reference/*.dylib ; do
+ install_name_tool -id "${lib#${D%/}}" "${lib}"
+ done
+ fi
rmdir "${ED}/usr/$(get_libdir)/pkgconfig" || die
eselect lapack add $(get_libdir) "${T}"/eselect.lapack.reference ${ESELECT_PROF}
^ permalink raw reply related [flat|nested] 11+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-libs/lapack-reference/
@ 2016-10-12 1:45 Matthias Maier
0 siblings, 0 replies; 11+ messages in thread
From: Matthias Maier @ 2016-10-12 1:45 UTC (permalink / raw
To: gentoo-commits
commit: 26d97e9632138e5fcfe879ea30bc6b897269d55f
Author: Matthias Maier <tamiko <AT> gentoo <DOT> org>
AuthorDate: Wed Oct 12 01:44:55 2016 +0000
Commit: Matthias Maier <tamiko <AT> gentoo <DOT> org>
CommitDate: Wed Oct 12 01:45:19 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=26d97e96
sci-libs/lapack-reference: do not remove /usr/lib, bug #596036
Non non-amd64 systems "$(get_libdir)" might actually be "lib". So do not
blindly delete this folder.
Package-Manager: portage-2.3.0
sci-libs/lapack-reference/lapack-reference-3.6.0.ebuild | 1 -
1 file changed, 1 deletion(-)
diff --git a/sci-libs/lapack-reference/lapack-reference-3.6.0.ebuild b/sci-libs/lapack-reference/lapack-reference-3.6.0.ebuild
index 273bf10..8758ed7 100644
--- a/sci-libs/lapack-reference/lapack-reference-3.6.0.ebuild
+++ b/sci-libs/lapack-reference/lapack-reference-3.6.0.ebuild
@@ -72,7 +72,6 @@ src_install() {
mv "${ED}/usr/$(get_libdir)"/lib* "${ED}/usr/$(get_libdir)/pkgconfig"/* \
"${ED}/usr/$(get_libdir)/lapack/reference" || die
rmdir "${ED}/usr/$(get_libdir)/pkgconfig" || die
- rm -rf "${ED}"/usr/lib/ || die
eselect lapack add $(get_libdir) "${T}"/eselect.lapack.reference ${ESELECT_PROF}
}
^ permalink raw reply related [flat|nested] 11+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-libs/lapack-reference/
@ 2016-02-06 6:41 Jeroen Roovers
0 siblings, 0 replies; 11+ messages in thread
From: Jeroen Roovers @ 2016-02-06 6:41 UTC (permalink / raw
To: gentoo-commits
commit: 82afdae9f07620b9710cb93a015f18c9bdf6c040
Author: Jeroen Roovers <jer <AT> gentoo <DOT> org>
AuthorDate: Sat Feb 6 06:38:08 2016 +0000
Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org>
CommitDate: Sat Feb 6 06:41:09 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=82afdae9
sci-libs/lapack-reference: Stable for HPPA (bug #570058).
Package-Manager: portage-2.2.27
RepoMan-Options: --ignore-arches
sci-libs/lapack-reference/lapack-reference-3.2.1-r4.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sci-libs/lapack-reference/lapack-reference-3.2.1-r4.ebuild b/sci-libs/lapack-reference/lapack-reference-3.2.1-r4.ebuild
index 90aa049..8db3cf8 100644
--- a/sci-libs/lapack-reference/lapack-reference-3.2.1-r4.ebuild
+++ b/sci-libs/lapack-reference/lapack-reference-3.2.1-r4.ebuild
@@ -17,7 +17,7 @@ SRC_URI="
LICENSE="BSD"
SLOT="0"
-KEYWORDS="alpha amd64 arm ~hppa ia64 ppc ~ppc64 ~s390 sparc x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos"
+KEYWORDS="alpha amd64 arm hppa ia64 ppc ~ppc64 ~s390 sparc x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos"
IUSE="doc"
RDEPEND="
^ permalink raw reply related [flat|nested] 11+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-libs/lapack-reference/
@ 2016-01-05 13:42 Agostino Sarubbo
0 siblings, 0 replies; 11+ messages in thread
From: Agostino Sarubbo @ 2016-01-05 13:42 UTC (permalink / raw
To: gentoo-commits
commit: 0093901ed8a50f66d791a96fa05e278220ec397c
Author: Agostino Sarubbo <ago <AT> gentoo <DOT> org>
AuthorDate: Tue Jan 5 13:41:56 2016 +0000
Commit: Agostino Sarubbo <ago <AT> gentoo <DOT> org>
CommitDate: Tue Jan 5 13:42:45 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0093901e
sci-libs/lapack-reference: amd64 stable wrt bug #570058
Package-Manager: portage-2.2.26
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo <ago <AT> gentoo.org>
sci-libs/lapack-reference/lapack-reference-3.2.1-r4.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sci-libs/lapack-reference/lapack-reference-3.2.1-r4.ebuild b/sci-libs/lapack-reference/lapack-reference-3.2.1-r4.ebuild
index 6e6e06e..06040a3 100644
--- a/sci-libs/lapack-reference/lapack-reference-3.2.1-r4.ebuild
+++ b/sci-libs/lapack-reference/lapack-reference-3.2.1-r4.ebuild
@@ -17,7 +17,7 @@ SRC_URI="
LICENSE="BSD"
SLOT="0"
-KEYWORDS="~alpha ~amd64 arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos"
+KEYWORDS="~alpha amd64 arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos"
IUSE="doc"
RDEPEND="
^ permalink raw reply related [flat|nested] 11+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-libs/lapack-reference/
@ 2015-12-29 10:02 Justin Lecher
0 siblings, 0 replies; 11+ messages in thread
From: Justin Lecher @ 2015-12-29 10:02 UTC (permalink / raw
To: gentoo-commits
commit: 3b2e4b095d6358cb459deff7799e5c6bef173798
Author: Justin Lecher <jlec <AT> gentoo <DOT> org>
AuthorDate: Tue Dec 29 07:31:22 2015 +0000
Commit: Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Tue Dec 29 10:01:53 2015 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3b2e4b09
sci-libs/lapack-reference: Add KEYWORDs back
Package-Manager: portage-2.2.26
Signed-off-by: Justin Lecher <jlec <AT> gentoo.org>
sci-libs/lapack-reference/lapack-reference-3.2.1-r4.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sci-libs/lapack-reference/lapack-reference-3.2.1-r4.ebuild b/sci-libs/lapack-reference/lapack-reference-3.2.1-r4.ebuild
index 6f7fb7d..ee152b6 100644
--- a/sci-libs/lapack-reference/lapack-reference-3.2.1-r4.ebuild
+++ b/sci-libs/lapack-reference/lapack-reference-3.2.1-r4.ebuild
@@ -17,7 +17,7 @@ SRC_URI="
LICENSE="BSD"
SLOT="0"
-KEYWORDS=""
+KEYWORDS="~alpha ~amd64 arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos"
IUSE="doc"
RDEPEND="
^ permalink raw reply related [flat|nested] 11+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-libs/lapack-reference/
@ 2015-12-28 19:20 Justin Lecher
0 siblings, 0 replies; 11+ messages in thread
From: Justin Lecher @ 2015-12-28 19:20 UTC (permalink / raw
To: gentoo-commits
commit: 09bb153b2560f26a605ff3c06b3e97c6e089a642
Author: Justin Lecher <jlec <AT> gentoo <DOT> org>
AuthorDate: Mon Dec 28 16:53:43 2015 +0000
Commit: Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Mon Dec 28 19:19:59 2015 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=09bb153b
sci-libs/lapack-reference: Bump to EAPI=5
Package-Manager: portage-2.2.26
Signed-off-by: Justin Lecher <jlec <AT> gentoo.org>
.../lapack-reference-3.2.1-r4.ebuild | 101 +++++++++++++++++++++
1 file changed, 101 insertions(+)
diff --git a/sci-libs/lapack-reference/lapack-reference-3.2.1-r4.ebuild b/sci-libs/lapack-reference/lapack-reference-3.2.1-r4.ebuild
new file mode 100644
index 0000000..6f7fb7d
--- /dev/null
+++ b/sci-libs/lapack-reference/lapack-reference-3.2.1-r4.ebuild
@@ -0,0 +1,101 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit autotools eutils fortran-2 flag-o-matic multilib toolchain-funcs
+
+MyPN="${PN/-reference/}"
+PATCH_V="3.2.1"
+
+DESCRIPTION="FORTRAN reference implementation of LAPACK Linear Algebra PACKage"
+HOMEPAGE="http://www.netlib.org/lapack/index.html"
+SRC_URI="
+ mirror://gentoo/${MyPN}-${PV}.tgz
+ mirror://gentoo/${PN}-${PATCH_V}-autotools.patch.bz2"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS=""
+IUSE="doc"
+
+RDEPEND="
+ app-eselect/eselect-lapack
+ virtual/blas"
+DEPEND="
+ ${RDEPEND}
+ virtual/pkgconfig
+ doc? ( app-doc/lapack-docs )"
+
+S="${WORKDIR}/${MyPN}-${PV}"
+
+pkg_setup() {
+ fortran-2_pkg_setup
+ if [[ $(tc-getFC) =~ if ]]; then
+ ewarn "Using Intel Fortran at your own risk"
+ export LDFLAGS="$(raw-ldflags)"
+ export NOOPT_FFLAGS=-O
+ fi
+ ESELECT_PROF=reference
+}
+
+src_prepare() {
+ epatch \
+ "${WORKDIR}"/${PN}-${PATCH_V}-autotools.patch \
+ "${FILESDIR}"/${P}-parallel-make.patch
+ eautoreconf
+
+ # set up the testing routines
+ sed \
+ -e "s:g77:$(tc-getFC):" \
+ -e "s:-funroll-all-loops -O3:${FFLAGS} $($(tc-getPKG_CONFIG) --cflags blas):" \
+ -e "s:LOADOPTS =:LOADOPTS = ${LDFLAGS} $($(tc-getPKG_CONFIG) --cflags blas):" \
+ -e "s:../../blas\$(PLAT).a:$($(tc-getPKG_CONFIG) --libs blas):" \
+ -e "s:lapack\$(PLAT).a:SRC/.libs/liblapack.a:" \
+ make.inc.example > make.inc \
+ || die "Failed to set up make.inc"
+
+ cp "${FILESDIR}"/eselect.lapack.reference-ng "${T}"/eselect.lapack.reference || die
+ sed -i -e "s:/usr:${EPREFIX}/usr:" "${T}"/eselect.lapack.reference || die
+ if [[ ${CHOST} == *-darwin* ]] ; then
+ sed -i -e 's/\.so\([\.0-9]\+\)\?/\1.dylib/g' \
+ "${T}"/eselect.lapack.reference || die
+ fi
+ sed \
+ -e '/Libs:/s|: |: -L${libdir} |g' \
+ -i lapack.pc.in || die
+}
+
+src_configure() {
+ econf \
+ --libdir="${EPREFIX}/usr/$(get_libdir)/lapack/reference" \
+ --with-blas="$($(tc-getPKG_CONFIG) --libs blas)"
+}
+
+src_install() {
+ default
+ eselect lapack add $(get_libdir) "${T}"/eselect.lapack.reference ${ESELECT_PROF}
+}
+
+src_test() {
+ MAKEOPTS+=" -j1"
+ cd "${S}"/TESTING/MATGEN && emake || die
+ cd "${S}"/TESTING && emake || die
+}
+
+pkg_postinst() {
+ local p=lapack
+ local current_lib=$(eselect ${p} show | cut -d' ' -f2)
+ if [[ ${current_lib} == ${ESELECT_PROF} || -z ${current_lib} ]]; then
+ # work around eselect bug #189942
+ local configfile="${EROOT}"/etc/env.d/${p}/$(get_libdir)/config
+ [[ -e ${configfile} ]] && rm -f ${configfile}
+ eselect ${p} set ${ESELECT_PROF}
+ elog "${p} has been eselected to ${ESELECT_PROF}"
+ else
+ elog "Current eselected ${p} is ${current_lib}"
+ elog "To use ${p} ${ESELECT_PROF} implementation, you have to issue (as root):"
+ elog "\t eselect ${p} set ${ESELECT_PROF}"
+ fi
+}
^ permalink raw reply related [flat|nested] 11+ messages in thread
end of thread, other threads:[~2019-05-16 19:30 UTC | newest]
Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-12-29 10:02 [gentoo-commits] repo/gentoo:master commit in: sci-libs/lapack-reference/ Justin Lecher
-- strict thread matches above, loose matches on Subject: below --
2019-05-16 19:30 Aaron Bauman
2018-08-17 2:05 Mikle Kolyada
2017-10-16 3:34 David Seifert
2017-06-26 12:48 Alexis Ballier
2017-02-06 19:22 Fabian Groffen
2016-10-12 1:45 Matthias Maier
2016-02-06 6:41 Jeroen Roovers
2016-01-05 13:42 Agostino Sarubbo
2015-12-29 10:02 Justin Lecher
2015-12-28 19:20 Justin Lecher
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox