[gentoo-commits] repo/gentoo:master commit in: sci-libs/lapack/

2024-04-04 Thread Arthur Zamarin
commit: aa9fc4da08332c87c16fe6eb91e14e19838dad09
Author: Matoro Mahri  matoro  tk>
AuthorDate: Tue Apr  2 20:15:38 2024 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Thu Apr  4 16:22:19 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aa9fc4da

sci-libs/lapack: Stabilize 3.12.0-r1 hppa, #923553

Signed-off-by: Matoro Mahri  matoro.tk>
Signed-off-by: Arthur Zamarin  gentoo.org>

 sci-libs/lapack/lapack-3.12.0-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-libs/lapack/lapack-3.12.0-r1.ebuild 
b/sci-libs/lapack/lapack-3.12.0-r1.ebuild
index 91f32d3c4f23..c8770940f40e 100644
--- a/sci-libs/lapack/lapack-3.12.0-r1.ebuild
+++ b/sci-libs/lapack/lapack-3.12.0-r1.ebuild
@@ -13,7 +13,7 @@ 
SRC_URI="https://github.com/Reference-LAPACK/lapack/archive/v${PV}.tar.gz -> ${P
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv 
~s390 sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos"
+KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv 
~s390 sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos"
 # TODO: static-libs 64bit-index
 IUSE="lapacke deprecated doc eselect-ldso test"
 RESTRICT="!test? ( test )"



[gentoo-commits] repo/gentoo:master commit in: sci-libs/lapack/

2024-03-16 Thread Arthur Zamarin
commit: d5d4d9f041095aa08acc0b9878b3a27fb4ce483c
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sat Mar 16 08:41:29 2024 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sat Mar 16 08:41:29 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d5d4d9f0

sci-libs/lapack: Stabilize 3.12.0-r1 sparc, #923553

Signed-off-by: Arthur Zamarin  gentoo.org>

 sci-libs/lapack/lapack-3.12.0-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-libs/lapack/lapack-3.12.0-r1.ebuild 
b/sci-libs/lapack/lapack-3.12.0-r1.ebuild
index b9d44ea8d4c4..91f32d3c4f23 100644
--- a/sci-libs/lapack/lapack-3.12.0-r1.ebuild
+++ b/sci-libs/lapack/lapack-3.12.0-r1.ebuild
@@ -13,7 +13,7 @@ 
SRC_URI="https://github.com/Reference-LAPACK/lapack/archive/v${PV}.tar.gz -> ${P
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv 
~s390 ~sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv 
~s390 sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos"
 # TODO: static-libs 64bit-index
 IUSE="lapacke deprecated doc eselect-ldso test"
 RESTRICT="!test? ( test )"



[gentoo-commits] repo/gentoo:master commit in: sci-libs/lapack/

2024-03-15 Thread Arthur Zamarin
commit: 60a1491bbbaee7feb1563cef5e74085b4e857210
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Fri Mar 15 21:47:09 2024 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Fri Mar 15 21:47:09 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=60a1491b

sci-libs/lapack: Stabilize 3.12.0-r1 amd64, #923553

Signed-off-by: Arthur Zamarin  gentoo.org>

 sci-libs/lapack/lapack-3.12.0-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-libs/lapack/lapack-3.12.0-r1.ebuild 
b/sci-libs/lapack/lapack-3.12.0-r1.ebuild
index b9356b4d6dec..b9d44ea8d4c4 100644
--- a/sci-libs/lapack/lapack-3.12.0-r1.ebuild
+++ b/sci-libs/lapack/lapack-3.12.0-r1.ebuild
@@ -13,7 +13,7 @@ 
SRC_URI="https://github.com/Reference-LAPACK/lapack/archive/v${PV}.tar.gz -> ${P
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv 
~s390 ~sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv 
~s390 ~sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos"
 # TODO: static-libs 64bit-index
 IUSE="lapacke deprecated doc eselect-ldso test"
 RESTRICT="!test? ( test )"



[gentoo-commits] repo/gentoo:master commit in: sci-libs/lapack/

2024-03-15 Thread Arthur Zamarin
commit: fd04994565431910e1fcd5904dc57b7244af08c5
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Fri Mar 15 16:18:04 2024 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Fri Mar 15 16:18:04 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fd049945

sci-libs/lapack: Stabilize 3.12.0-r1 arm64, #923553

Signed-off-by: Arthur Zamarin  gentoo.org>

 sci-libs/lapack/lapack-3.12.0-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-libs/lapack/lapack-3.12.0-r1.ebuild 
b/sci-libs/lapack/lapack-3.12.0-r1.ebuild
index d134f0660e6d..b9356b4d6dec 100644
--- a/sci-libs/lapack/lapack-3.12.0-r1.ebuild
+++ b/sci-libs/lapack/lapack-3.12.0-r1.ebuild
@@ -13,7 +13,7 @@ 
SRC_URI="https://github.com/Reference-LAPACK/lapack/archive/v${PV}.tar.gz -> ${P
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 arm ~arm64 ~hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv 
~s390 ~sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos"
+KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv 
~s390 ~sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos"
 # TODO: static-libs 64bit-index
 IUSE="lapacke deprecated doc eselect-ldso test"
 RESTRICT="!test? ( test )"



[gentoo-commits] repo/gentoo:master commit in: sci-libs/lapack/

2024-03-15 Thread Arthur Zamarin
commit: 99b3a0d3fe07df296691e3052906001f44c3feca
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Fri Mar 15 16:04:52 2024 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Fri Mar 15 16:04:52 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=99b3a0d3

sci-libs/lapack: Stabilize 3.12.0-r1 arm, #923553

Signed-off-by: Arthur Zamarin  gentoo.org>

 sci-libs/lapack/lapack-3.12.0-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-libs/lapack/lapack-3.12.0-r1.ebuild 
b/sci-libs/lapack/lapack-3.12.0-r1.ebuild
index 071d04a22310..d134f0660e6d 100644
--- a/sci-libs/lapack/lapack-3.12.0-r1.ebuild
+++ b/sci-libs/lapack/lapack-3.12.0-r1.ebuild
@@ -13,7 +13,7 @@ 
SRC_URI="https://github.com/Reference-LAPACK/lapack/archive/v${PV}.tar.gz -> ${P
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv 
~s390 ~sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos"
+KEYWORDS="~alpha ~amd64 arm ~arm64 ~hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv 
~s390 ~sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos"
 # TODO: static-libs 64bit-index
 IUSE="lapacke deprecated doc eselect-ldso test"
 RESTRICT="!test? ( test )"



[gentoo-commits] repo/gentoo:master commit in: sci-libs/lapack/

2024-03-15 Thread Arthur Zamarin
commit: 0946453cfeaba4e043e875424796c66ccfdb
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Fri Mar 15 15:39:02 2024 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Fri Mar 15 15:39:02 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0946453c

sci-libs/lapack: Stabilize 3.12.0-r1 ppc64, #923553

Signed-off-by: Arthur Zamarin  gentoo.org>

 sci-libs/lapack/lapack-3.12.0-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-libs/lapack/lapack-3.12.0-r1.ebuild 
b/sci-libs/lapack/lapack-3.12.0-r1.ebuild
index 855eed37e6c3..071d04a22310 100644
--- a/sci-libs/lapack/lapack-3.12.0-r1.ebuild
+++ b/sci-libs/lapack/lapack-3.12.0-r1.ebuild
@@ -13,7 +13,7 @@ 
SRC_URI="https://github.com/Reference-LAPACK/lapack/archive/v${PV}.tar.gz -> ${P
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ppc ~ppc64 ~riscv 
~s390 ~sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv 
~s390 ~sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos"
 # TODO: static-libs 64bit-index
 IUSE="lapacke deprecated doc eselect-ldso test"
 RESTRICT="!test? ( test )"



[gentoo-commits] repo/gentoo:master commit in: sci-libs/lapack/

2024-03-15 Thread Arthur Zamarin
commit: 623c675f258c001be79e69dd6f5d9d0e64335927
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Fri Mar 15 15:39:01 2024 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Fri Mar 15 15:39:01 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=623c675f

sci-libs/lapack: Stabilize 3.12.0-r1 ppc, #923553

Signed-off-by: Arthur Zamarin  gentoo.org>

 sci-libs/lapack/lapack-3.12.0-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-libs/lapack/lapack-3.12.0-r1.ebuild 
b/sci-libs/lapack/lapack-3.12.0-r1.ebuild
index 930932eb8eb9..855eed37e6c3 100644
--- a/sci-libs/lapack/lapack-3.12.0-r1.ebuild
+++ b/sci-libs/lapack/lapack-3.12.0-r1.ebuild
@@ -13,7 +13,7 @@ 
SRC_URI="https://github.com/Reference-LAPACK/lapack/archive/v${PV}.tar.gz -> ${P
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos 
~x64-macos"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ppc ~ppc64 ~riscv 
~s390 ~sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos"
 # TODO: static-libs 64bit-index
 IUSE="lapacke deprecated doc eselect-ldso test"
 RESTRICT="!test? ( test )"



[gentoo-commits] repo/gentoo:master commit in: sci-libs/lapack/

2024-03-15 Thread Arthur Zamarin
commit: c2d7343791bc790392700a4404059d73c9dd874b
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Fri Mar 15 15:37:02 2024 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Fri Mar 15 15:37:02 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c2d73437

sci-libs/lapack: Stabilize 3.12.0-r1 x86, #923553

Signed-off-by: Arthur Zamarin  gentoo.org>

 sci-libs/lapack/lapack-3.12.0-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-libs/lapack/lapack-3.12.0-r1.ebuild 
b/sci-libs/lapack/lapack-3.12.0-r1.ebuild
index 743021f3426f..930932eb8eb9 100644
--- a/sci-libs/lapack/lapack-3.12.0-r1.ebuild
+++ b/sci-libs/lapack/lapack-3.12.0-r1.ebuild
@@ -13,7 +13,7 @@ 
SRC_URI="https://github.com/Reference-LAPACK/lapack/archive/v${PV}.tar.gz -> ${P
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos 
~x64-macos"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos 
~x64-macos"
 # TODO: static-libs 64bit-index
 IUSE="lapacke deprecated doc eselect-ldso test"
 RESTRICT="!test? ( test )"



[gentoo-commits] repo/gentoo:master commit in: sci-libs/lapack/files/, sci-libs/lapack/

2024-03-14 Thread Sam James
commit: 3452a5d07e2f52b6d4a6a17316edde99ccc132cc
Author: Sam James  gentoo  org>
AuthorDate: Fri Mar 15 04:20:02 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Mar 15 04:20:42 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3452a5d0

sci-libs/lapack: backport test summary fix

Closes: https://bugs.gentoo.org/924929
Signed-off-by: Sam James  gentoo.org>

 .../lapack/files/lapack-3.12.0-test-summary.patch   | 21 +
 sci-libs/lapack/lapack-3.12.0-r1.ebuild |  1 +
 2 files changed, 22 insertions(+)

diff --git a/sci-libs/lapack/files/lapack-3.12.0-test-summary.patch 
b/sci-libs/lapack/files/lapack-3.12.0-test-summary.patch
new file mode 100644
index ..1d2303cdb018
--- /dev/null
+++ b/sci-libs/lapack/files/lapack-3.12.0-test-summary.patch
@@ -0,0 +1,21 @@
+https://bugs.gentoo.org/924929
+https://github.com/Reference-LAPACK/lapack/commit/a4298d5ff68047acfa44d6394ceb3a688a3b2534
+
+From 5b0687f429cf420629c0eeafba6a74a2564d4131 Mon Sep 17 00:00:00 2001
+From: Simon Maertens 
+Date: Fri, 1 Dec 2023 14:05:54 +
+Subject: [PATCH] Fixed search phrase for determining the amount of successful
+ tests
+
+--- a/lapack_testing.py
 b/lapack_testing.py
+@@ -136,7 +136,7 @@ def run_summary_test( f, cmdline, short_summary):
+ for line in pipe.readlines():
+ f.write(str(line))
+ words_in_line=line.split()
+-if (line.find("run")!=-1):
++if (line.find("run)")!=-1):
+ #  print line
+ whereisrun=words_in_line.index("run)")
+ nb_test_run+=int(words_in_line[whereisrun-2])
+

diff --git a/sci-libs/lapack/lapack-3.12.0-r1.ebuild 
b/sci-libs/lapack/lapack-3.12.0-r1.ebuild
index b1b9e9824637..743021f3426f 100644
--- a/sci-libs/lapack/lapack-3.12.0-r1.ebuild
+++ b/sci-libs/lapack/lapack-3.12.0-r1.ebuild
@@ -39,6 +39,7 @@ PATCHES=(
# 
https://github.com/Reference-LAPACK/lapack/issues/990#issuecomment-1973258284
# https://bugs.gentoo.org/878891
"${FILESDIR}"/lapack-3.12.0-correct-64bit-interface.patch
+   "${FILESDIR}"/lapack-3.12.0-test-summary.patch
 )
 
 pkg_setup() {



[gentoo-commits] repo/gentoo:master commit in: sci-libs/lapack/

2024-03-04 Thread Sam James
commit: da031412d390064ce364fe2b6f39ffba66d6fcdd
Author: Sam James  gentoo  org>
AuthorDate: Mon Mar  4 11:33:42 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Mar  4 11:33:42 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=da031412

sci-libs/lapack: drop 3.10.1

Signed-off-by: Sam James  gentoo.org>

 sci-libs/lapack/Manifest |  1 -
 sci-libs/lapack/lapack-3.10.1.ebuild | 93 
 2 files changed, 94 deletions(-)

diff --git a/sci-libs/lapack/Manifest b/sci-libs/lapack/Manifest
index b3a926d208b1..dd55df1f8618 100644
--- a/sci-libs/lapack/Manifest
+++ b/sci-libs/lapack/Manifest
@@ -1,3 +1,2 @@
-DIST lapack-3.10.1.tar.gz 7632257 BLAKE2B 
f2653239029ed9c136173fc2e54773a785ad3e469d581ca2b7f6a72697e6bb9d22879edaf8327ada510df259c08fe984202d14cb3860c0d2a711eb55a1cc11dd
 SHA512 
050048483208c0a35b74972ff0059c389da6032824a2079637266a99fa980882eedf7f1fc490219ee4ff27812ac8c6afe118e25f40a9c2387e7b997762fb
 DIST lapack-3.11.tar.gz 7723909 BLAKE2B 
b3f8ec8cd439d790ba5869b8b071fe924a4ac53328bce77d46032602b45353670966ed9223324a0780aabc2e95624f439e03f90a89586f96afbe1374c4261bc5
 SHA512 
d2f23c5f6ae14fb868312a25235459bd0c04f4b43b82a5ade01314776ade9a75dc518a457eb58595f29f64cb0bb86f1a12ce8beea3ec87ef9caf49493ce29fb3
 DIST lapack-3.12.0.tar.gz 7933607 BLAKE2B 
dafb1f9a717f2cbc00a26f8cff2c7a1ebb720714fe6d7bd5fabb511a2f4af317165814340864c9d601e4e16c7762f643fbbafc058170ebcdc6529a9b4f2d70b6
 SHA512 
f8f3c733a0221be0b3f5618235408ac59cbd4e5f1c4eab5f509b831a6ec6a9ef14b8849aa6ea10810df1aff90186ca454d15e9438d1dd271c2449d42d3da9dda

diff --git a/sci-libs/lapack/lapack-3.10.1.ebuild 
b/sci-libs/lapack/lapack-3.10.1.ebuild
deleted file mode 100644
index 16b9d22e73df..
--- a/sci-libs/lapack/lapack-3.10.1.ebuild
+++ /dev/null
@@ -1,93 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit cmake fortran-2
-
-DESCRIPTION="BLAS,CBLAS,LAPACK,LAPACKE reference implementations"
-HOMEPAGE="https://www.netlib.org/lapack/;
-SRC_URI="https://github.com/Reference-LAPACK/lapack/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~mips ~ppc ppc64 ~riscv 
~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos"
-# TODO: static-libs 64bit-index
-IUSE="lapacke deprecated doc eselect-ldso test"
-RESTRICT="!test? ( test )"
-
-BDEPEND="virtual/pkgconfig"
-RDEPEND="
-   !app-eselect/eselect-cblas
-   virtual/fortran
-   eselect-ldso? (
-   >=app-eselect/eselect-blas-0.2
-   >=app-eselect/eselect-lapack-0.2
-   )
-   doc? ( app-doc/blas-docs )"
-DEPEND="${RDEPEND}"
-
-src_configure() {
-   local mycmakeargs=(
-   -DCBLAS=ON
-   -DLAPACKE=$(usex lapacke)
-   -DBUILD_DEPRECATED=$(usex deprecated)
-   -DBUILD_SHARED_LIBS=ON
-   -DBUILD_TESTING=$(usex test)
-   )
-
-   cmake_src_configure
-}
-
-src_install() {
-   cmake_src_install
-
-   use eselect-ldso || return
-   # Create private lib directory for eselect::blas (ld.so.conf)
-   dodir /usr/$(get_libdir)/blas/reference
-   dosym ../../libblas.so usr/$(get_libdir)/blas/reference/libblas.so
-   dosym ../../libblas.so.3 usr/$(get_libdir)/blas/reference/libblas.so.3
-   dosym ../../libcblas.so usr/$(get_libdir)/blas/reference/libcblas.so
-   dosym ../../libcblas.so.3 usr/$(get_libdir)/blas/reference/libcblas.so.3
-
-   # Create private lib directory for eselect::lapack (ld.so.conf)
-   dodir /usr/$(get_libdir)/lapack/reference
-   dosym ../../liblapack.so usr/$(get_libdir)/lapack/reference/liblapack.so
-   dosym ../../liblapack.so.3 
usr/$(get_libdir)/lapack/reference/liblapack.so.3
-}
-
-pkg_postinst() {
-   use eselect-ldso || return
-
-   local me=reference libdir=$(get_libdir)
-   # check eselect-blas
-   eselect blas add ${libdir} "${EROOT}"/usr/${libdir}/blas/${me} ${me}
-   local current_blas=$(eselect blas show ${libdir} | cut -d' ' -f2)
-   if [[ ${current_blas} == ${me} || -z ${current_blas} ]]; then
-   eselect blas set ${libdir} ${me}
-   elog "Current eselect: BLAS ($libdir) -> [${current_blas}]."
-   else
-   elog "Current eselect: BLAS ($libdir) -> [${current_blas}]."
-   elog "To use blas [${me}] implementation, you have to issue (as 
root):"
-   elog "\t eselect blas set ${libdir} ${me}"
-   fi
-
-   # check eselect-lapack
-   eselect lapack add ${libdir} "${EROOT}"/usr/${libdir}/lapack/${me} ${me}
-   local current_lapack=$(eselect lapack show ${libdir} | cut -d' ' -f2)
-   if [[ ${current_lapack} == ${me} || -z ${current_lapack} ]]; then
-   eselect lapack set ${libdir} ${me}
-   elog "Current eselect: LAPACK ($libdir) -> [${current_lapack}]."
- 

[gentoo-commits] repo/gentoo:master commit in: sci-libs/lapack/

2024-03-03 Thread Sam James
commit: fb7d223bb97be7db2af28d511e2342d45d59211e
Author: Sam James  gentoo  org>
AuthorDate: Mon Mar  4 05:20:07 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Mar  4 05:20:40 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fb7d223b

sci-libs/lapack: restore filter-lto

In 58d080c1bad9b1c0d307f2cf2d0251d60025efb1, we dropped filter-lto, but
the testsuite still fails to build with LTO, so put it back.

Bug: https://bugs.gentoo.org/878891
Signed-off-by: Sam James  gentoo.org>

 sci-libs/lapack/lapack-3.12.0-r1.ebuild | 5 -
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/sci-libs/lapack/lapack-3.12.0-r1.ebuild 
b/sci-libs/lapack/lapack-3.12.0-r1.ebuild
index 9ccdd64e8562..b1b9e9824637 100644
--- a/sci-libs/lapack/lapack-3.12.0-r1.ebuild
+++ b/sci-libs/lapack/lapack-3.12.0-r1.ebuild
@@ -5,7 +5,7 @@ EAPI=8
 
 # Some additional tests are run if Python is found
 PYTHON_COMPAT=( python3_{10..11} )
-inherit cmake fortran-2 python-any-r1
+inherit cmake flag-o-matic fortran-2 python-any-r1
 
 DESCRIPTION="BLAS, CBLAS, LAPACK, LAPACKE reference implementations"
 HOMEPAGE="https://www.netlib.org/lapack/;
@@ -47,6 +47,9 @@ pkg_setup() {
 }
 
 src_configure() {
+   # bug #878891
+   filter-lto
+
local mycmakeargs=(
-DCBLAS=ON
-DLAPACKE=$(usex lapacke)



[gentoo-commits] repo/gentoo:master commit in: sci-libs/lapack/

2024-03-02 Thread Sam James
commit: 0108a1e82f54eeace8ce2a0c58190edfb1cb56ce
Author: Sam James  gentoo  org>
AuthorDate: Sun Mar  3 04:01:30 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Mar  3 04:01:30 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0108a1e8

sci-libs/lapack: drop unused flag-o-matic

Signed-off-by: Sam James  gentoo.org>

 sci-libs/lapack/lapack-3.12.0-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-libs/lapack/lapack-3.12.0-r1.ebuild 
b/sci-libs/lapack/lapack-3.12.0-r1.ebuild
index 3a8b93eb620a..9ccdd64e8562 100644
--- a/sci-libs/lapack/lapack-3.12.0-r1.ebuild
+++ b/sci-libs/lapack/lapack-3.12.0-r1.ebuild
@@ -5,7 +5,7 @@ EAPI=8
 
 # Some additional tests are run if Python is found
 PYTHON_COMPAT=( python3_{10..11} )
-inherit cmake flag-o-matic fortran-2 python-any-r1
+inherit cmake fortran-2 python-any-r1
 
 DESCRIPTION="BLAS, CBLAS, LAPACK, LAPACKE reference implementations"
 HOMEPAGE="https://www.netlib.org/lapack/;



[gentoo-commits] repo/gentoo:master commit in: sci-libs/lapack/, sci-libs/lapack/files/

2024-03-02 Thread Sam James
commit: 58d080c1bad9b1c0d307f2cf2d0251d60025efb1
Author: Eli Schwartz  gmail  com>
AuthorDate: Sun Mar  3 03:47:31 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Mar  3 04:00:13 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=58d080c1

sci-libs/lapack: backport 64-bit API fix detected by LTO warnings

https://github.com/Reference-LAPACK/lapack/issues/990#issuecomment-1973258284

Bug: https://bugs.gentoo.org/878891
Signed-off-by: Eli Schwartz  gmail.com>
Signed-off-by: Sam James  gentoo.org>

 .../lapack-3.12.0-correct-64bit-interface.patch|  38 +++
 sci-libs/lapack/lapack-3.12.0-r1.ebuild| 115 +
 2 files changed, 153 insertions(+)

diff --git a/sci-libs/lapack/files/lapack-3.12.0-correct-64bit-interface.patch 
b/sci-libs/lapack/files/lapack-3.12.0-correct-64bit-interface.patch
new file mode 100644
index ..c9c9479f4522
--- /dev/null
+++ b/sci-libs/lapack/files/lapack-3.12.0-correct-64bit-interface.patch
@@ -0,0 +1,38 @@
+From 26db2da3eb84856d997e05caf9904a6b56eac1e8 Mon Sep 17 00:00:00 2001
+From: Simon Maertens 
+Date: Wed, 29 Nov 2023 14:30:30 +
+Subject: [PATCH] Fixed Fortran compiler flags check for nagfor compiler and
+ usage in CBLAS target
+
+---
+ CBLAS/CMakeLists.txt | 4 
+ CMAKE/CheckLAPACKCompilerFlags.cmake | 1 +
+ 2 files changed, 5 insertions(+)
+
+diff --git a/CBLAS/CMakeLists.txt b/CBLAS/CMakeLists.txt
+index c276f7da3d..b01d795af9 100644
+--- a/CBLAS/CMakeLists.txt
 b/CBLAS/CMakeLists.txt
+@@ -14,6 +14,10 @@ if(CMAKE_Fortran_COMPILER)
+   FortranCInterface_HEADER(${LAPACK_BINARY_DIR}/include/cblas_mangling.h
+   MACRO_NAMESPACE "F77_"
+   SYMBOL_NAMESPACE "F77_")
++
++  # Check for any necessary platform specific compiler flags
++  include(CheckLAPACKCompilerFlags)
++  CheckLAPACKCompilerFlags()
+ endif()
+ if(NOT FortranCInterface_GLOBAL_FOUND OR NOT FortranCInterface_MODULE_FOUND)
+   message(WARNING "Reverting to pre-defined include/cblas_mangling.h")
+diff --git a/CMAKE/CheckLAPACKCompilerFlags.cmake 
b/CMAKE/CheckLAPACKCompilerFlags.cmake
+index ecb5009ae5..653b817583 100644
+--- a/CMAKE/CheckLAPACKCompilerFlags.cmake
 b/CMAKE/CheckLAPACKCompilerFlags.cmake
+@@ -177,6 +177,7 @@ elseif( CMAKE_Fortran_COMPILER_ID STREQUAL "NAG" )
+   endif()
+ 
+   # Suppress compiler banner and summary
++  include(CheckFortranCompilerFlag)
+   check_fortran_compiler_flag("-quiet" _quiet)
+   if( _quiet AND NOT ("${CMAKE_Fortran_FLAGS}" MATCHES "[-/]quiet") )
+ set(CMAKE_Fortran_FLAGS "${CMAKE_Fortran_FLAGS} -quiet")

diff --git a/sci-libs/lapack/lapack-3.12.0-r1.ebuild 
b/sci-libs/lapack/lapack-3.12.0-r1.ebuild
new file mode 100644
index ..3a8b93eb620a
--- /dev/null
+++ b/sci-libs/lapack/lapack-3.12.0-r1.ebuild
@@ -0,0 +1,115 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+# Some additional tests are run if Python is found
+PYTHON_COMPAT=( python3_{10..11} )
+inherit cmake flag-o-matic fortran-2 python-any-r1
+
+DESCRIPTION="BLAS, CBLAS, LAPACK, LAPACKE reference implementations"
+HOMEPAGE="https://www.netlib.org/lapack/;
+SRC_URI="https://github.com/Reference-LAPACK/lapack/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos 
~x64-macos"
+# TODO: static-libs 64bit-index
+IUSE="lapacke deprecated doc eselect-ldso test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+   !app-eselect/eselect-cblas
+   virtual/fortran
+   eselect-ldso? (
+   >=app-eselect/eselect-blas-0.2
+   >=app-eselect/eselect-lapack-0.2
+   )
+   doc? ( app-doc/blas-docs )
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
+   virtual/pkgconfig
+   test? ( ${PYTHON_DEPS} )
+"
+
+PATCHES=(
+   # fix -Werror=lto-type-mismatch caused by a bug that breaks
+   # the 64-bit interface for cblas
+   # 
https://github.com/Reference-LAPACK/lapack/issues/990#issuecomment-1973258284
+   # https://bugs.gentoo.org/878891
+   "${FILESDIR}"/lapack-3.12.0-correct-64bit-interface.patch
+)
+
+pkg_setup() {
+   fortran-2_pkg_setup
+   use test && python-any-r1_pkg_setup
+}
+
+src_configure() {
+   local mycmakeargs=(
+   -DCBLAS=ON
+   -DLAPACKE=$(usex lapacke)
+   -DBUILD_DEPRECATED=$(usex deprecated)
+   -DBUILD_SHARED_LIBS=ON
+   -DBUILD_TESTING=$(usex test)
+   -DLAPACK_TESTING_USE_PYTHON=$(usex test)
+   # Breaks cross
+   -DTEST_FORTRAN_COMPILER=OFF
+   )
+
+   cmake_src_configure
+}
+
+src_install() {
+   cmake_src_install
+
+   use eselect-ldso || return
+   # Create private lib directory for eselect::blas (ld.so.conf)
+   dodir 

[gentoo-commits] repo/gentoo:master commit in: sci-libs/lapack/

2024-02-28 Thread Sam James
commit: 91b7a7537de9f4c49d9ef8abb6eaba2b0fbbe79b
Author: Eli Schwartz  gmail  com>
AuthorDate: Wed Feb 28 06:28:08 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Feb 28 15:26:27 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=91b7a753

sci-libs/lapack: mark as LTO-unsafe

Bug: https://bugs.gentoo.org/878891
Signed-off-by: Eli Schwartz  gmail.com>
Signed-off-by: Sam James  gentoo.org>

 sci-libs/lapack/lapack-3.11.ebuild   | 9 +++--
 sci-libs/lapack/lapack-3.12.0.ebuild | 7 ++-
 2 files changed, 13 insertions(+), 3 deletions(-)

diff --git a/sci-libs/lapack/lapack-3.11.ebuild 
b/sci-libs/lapack/lapack-3.11.ebuild
index 7e2764d7f209..91d893cac281 100644
--- a/sci-libs/lapack/lapack-3.11.ebuild
+++ b/sci-libs/lapack/lapack-3.11.ebuild
@@ -1,11 +1,11 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
 
 # Some additional tests are run if Python is found
 PYTHON_COMPAT=( python3_{10..11} )
-inherit cmake fortran-2 python-any-r1
+inherit cmake flag-o-matic fortran-2 python-any-r1
 
 DESCRIPTION="BLAS,CBLAS,LAPACK,LAPACKE reference implementations"
 HOMEPAGE="https://www.netlib.org/lapack/;
@@ -39,6 +39,11 @@ pkg_setup() {
 }
 
 src_configure() {
+   # -Werror=lto-type-mismatch
+   # https://bugs.gentoo.org/878891
+   # https://github.com/Reference-LAPACK/lapack/issues/990
+   filter-lto
+
local mycmakeargs=(
-DCBLAS=ON
-DLAPACKE=$(usex lapacke)

diff --git a/sci-libs/lapack/lapack-3.12.0.ebuild 
b/sci-libs/lapack/lapack-3.12.0.ebuild
index 229d8a10774d..4cc2f91f5f67 100644
--- a/sci-libs/lapack/lapack-3.12.0.ebuild
+++ b/sci-libs/lapack/lapack-3.12.0.ebuild
@@ -5,7 +5,7 @@ EAPI=8
 
 # Some additional tests are run if Python is found
 PYTHON_COMPAT=( python3_{10..11} )
-inherit cmake fortran-2 python-any-r1
+inherit cmake flag-o-matic fortran-2 python-any-r1
 
 DESCRIPTION="BLAS, CBLAS, LAPACK, LAPACKE reference implementations"
 HOMEPAGE="https://www.netlib.org/lapack/;
@@ -39,6 +39,11 @@ pkg_setup() {
 }
 
 src_configure() {
+   # -Werror=lto-type-mismatch
+   # https://bugs.gentoo.org/878891
+   # https://github.com/Reference-LAPACK/lapack/issues/990
+   filter-lto
+
local mycmakeargs=(
-DCBLAS=ON
-DLAPACKE=$(usex lapacke)



[gentoo-commits] repo/gentoo:master commit in: sci-libs/lapack/

2024-02-06 Thread Sam James
commit: ff99a6a4a820ac0e036954fef6b3cab7e94ac9a5
Author: Sam James  gentoo  org>
AuthorDate: Tue Feb  6 22:40:32 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Feb  6 22:40:59 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ff99a6a4

sci-libs/lapack: Stabilize 3.12.0 hppa, #923553

Signed-off-by: Sam James  gentoo.org>

 sci-libs/lapack/lapack-3.12.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-libs/lapack/lapack-3.12.0.ebuild 
b/sci-libs/lapack/lapack-3.12.0.ebuild
index 505568329166..db09c93034a9 100644
--- a/sci-libs/lapack/lapack-3.12.0.ebuild
+++ b/sci-libs/lapack/lapack-3.12.0.ebuild
@@ -13,7 +13,7 @@ 
SRC_URI="https://github.com/Reference-LAPACK/lapack/archive/v${PV}.tar.gz -> ${P
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv 
~s390 ~sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos"
+KEYWORDS="~alpha ~amd64 arm arm64 hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv 
~s390 ~sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos"
 # TODO: static-libs 64bit-index
 IUSE="lapacke deprecated doc eselect-ldso test"
 RESTRICT="!test? ( test )"



[gentoo-commits] repo/gentoo:master commit in: sci-libs/lapack/

2024-02-02 Thread Sam James
commit: b8c5cab404a7262e09c80bb86933c75e6df3da43
Author: Sam James  gentoo  org>
AuthorDate: Sat Feb  3 06:55:02 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Feb  3 06:55:02 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b8c5cab4

sci-libs/lapack: Stabilize 3.12.0 arm64, #923553

Signed-off-by: Sam James  gentoo.org>

 sci-libs/lapack/lapack-3.12.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-libs/lapack/lapack-3.12.0.ebuild 
b/sci-libs/lapack/lapack-3.12.0.ebuild
index b7edb88d86b7..505568329166 100644
--- a/sci-libs/lapack/lapack-3.12.0.ebuild
+++ b/sci-libs/lapack/lapack-3.12.0.ebuild
@@ -13,7 +13,7 @@ 
SRC_URI="https://github.com/Reference-LAPACK/lapack/archive/v${PV}.tar.gz -> ${P
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 arm ~arm64 ~hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv 
~s390 ~sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos"
+KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv 
~s390 ~sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos"
 # TODO: static-libs 64bit-index
 IUSE="lapacke deprecated doc eselect-ldso test"
 RESTRICT="!test? ( test )"



[gentoo-commits] repo/gentoo:master commit in: sci-libs/lapack/

2024-02-02 Thread Arthur Zamarin
commit: 1f29bcac44feaf9278a5c9bdcb1d356bbef95703
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Fri Feb  2 15:39:10 2024 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Fri Feb  2 15:39:10 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1f29bcac

sci-libs/lapack: Stabilize 3.12.0 x86, #923553

Signed-off-by: Arthur Zamarin  gentoo.org>

 sci-libs/lapack/lapack-3.12.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-libs/lapack/lapack-3.12.0.ebuild 
b/sci-libs/lapack/lapack-3.12.0.ebuild
index 9c26ebf46192..b7edb88d86b7 100644
--- a/sci-libs/lapack/lapack-3.12.0.ebuild
+++ b/sci-libs/lapack/lapack-3.12.0.ebuild
@@ -13,7 +13,7 @@ 
SRC_URI="https://github.com/Reference-LAPACK/lapack/archive/v${PV}.tar.gz -> ${P
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 arm ~arm64 ~hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv 
~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos"
+KEYWORDS="~alpha ~amd64 arm ~arm64 ~hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv 
~s390 ~sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos"
 # TODO: static-libs 64bit-index
 IUSE="lapacke deprecated doc eselect-ldso test"
 RESTRICT="!test? ( test )"



[gentoo-commits] repo/gentoo:master commit in: sci-libs/lapack/

2024-02-01 Thread Sam James
commit: 512497c0e32df12aae00cb07e6c7763152c85a30
Author: Sam James  gentoo  org>
AuthorDate: Fri Feb  2 06:37:34 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Feb  2 06:38:41 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=512497c0

sci-libs/lapack: Stabilize 3.12.0 ppc, #923553

Signed-off-by: Sam James  gentoo.org>

 sci-libs/lapack/lapack-3.12.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-libs/lapack/lapack-3.12.0.ebuild 
b/sci-libs/lapack/lapack-3.12.0.ebuild
index 9bf4353dd320..9c26ebf46192 100644
--- a/sci-libs/lapack/lapack-3.12.0.ebuild
+++ b/sci-libs/lapack/lapack-3.12.0.ebuild
@@ -13,7 +13,7 @@ 
SRC_URI="https://github.com/Reference-LAPACK/lapack/archive/v${PV}.tar.gz -> ${P
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ppc64 ~riscv 
~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos"
+KEYWORDS="~alpha ~amd64 arm ~arm64 ~hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv 
~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos"
 # TODO: static-libs 64bit-index
 IUSE="lapacke deprecated doc eselect-ldso test"
 RESTRICT="!test? ( test )"



[gentoo-commits] repo/gentoo:master commit in: sci-libs/lapack/

2024-02-01 Thread Sam James
commit: b2b0848e6080d6b5ab4499b3992a957331eb8804
Author: Sam James  gentoo  org>
AuthorDate: Fri Feb  2 04:42:40 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Feb  2 04:42:40 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b2b0848e

sci-libs/lapack: Stabilize 3.12.0 arm, #923553

Signed-off-by: Sam James  gentoo.org>

 sci-libs/lapack/lapack-3.12.0.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sci-libs/lapack/lapack-3.12.0.ebuild 
b/sci-libs/lapack/lapack-3.12.0.ebuild
index 28f108f8c14c..33233573967d 100644
--- a/sci-libs/lapack/lapack-3.12.0.ebuild
+++ b/sci-libs/lapack/lapack-3.12.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -13,7 +13,7 @@ 
SRC_URI="https://github.com/Reference-LAPACK/lapack/archive/v${PV}.tar.gz -> ${P
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos 
~x64-macos"
+KEYWORDS="~alpha ~amd64 arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv 
~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos"
 # TODO: static-libs 64bit-index
 IUSE="lapacke deprecated doc eselect-ldso test"
 RESTRICT="!test? ( test )"



[gentoo-commits] repo/gentoo:master commit in: sci-libs/lapack/

2024-02-01 Thread Sam James
commit: e672a38340c4513f2aba1a0eba56251eed751f72
Author: Sam James  gentoo  org>
AuthorDate: Fri Feb  2 04:42:41 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Feb  2 04:42:41 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e672a383

sci-libs/lapack: Stabilize 3.12.0 ppc64, #923553

Signed-off-by: Sam James  gentoo.org>

 sci-libs/lapack/lapack-3.12.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-libs/lapack/lapack-3.12.0.ebuild 
b/sci-libs/lapack/lapack-3.12.0.ebuild
index 33233573967d..9bf4353dd320 100644
--- a/sci-libs/lapack/lapack-3.12.0.ebuild
+++ b/sci-libs/lapack/lapack-3.12.0.ebuild
@@ -13,7 +13,7 @@ 
SRC_URI="https://github.com/Reference-LAPACK/lapack/archive/v${PV}.tar.gz -> ${P
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv 
~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos"
+KEYWORDS="~alpha ~amd64 arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ppc64 ~riscv 
~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos"
 # TODO: static-libs 64bit-index
 IUSE="lapacke deprecated doc eselect-ldso test"
 RESTRICT="!test? ( test )"



[gentoo-commits] repo/gentoo:master commit in: sci-libs/lapack/

2023-11-24 Thread Sam James
commit: feaacf962aa404c652e9d3bfe71164037f41818a
Author: Sam James  gentoo  org>
AuthorDate: Fri Nov 24 21:22:27 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Nov 24 21:49:57 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=feaacf96

sci-libs/lapack: add 3.12.0

Signed-off-by: Sam James  gentoo.org>

 sci-libs/lapack/Manifest |   1 +
 sci-libs/lapack/lapack-3.12.0.ebuild | 107 +++
 2 files changed, 108 insertions(+)

diff --git a/sci-libs/lapack/Manifest b/sci-libs/lapack/Manifest
index d2af6557b1ba..b3a926d208b1 100644
--- a/sci-libs/lapack/Manifest
+++ b/sci-libs/lapack/Manifest
@@ -1,2 +1,3 @@
 DIST lapack-3.10.1.tar.gz 7632257 BLAKE2B 
f2653239029ed9c136173fc2e54773a785ad3e469d581ca2b7f6a72697e6bb9d22879edaf8327ada510df259c08fe984202d14cb3860c0d2a711eb55a1cc11dd
 SHA512 
050048483208c0a35b74972ff0059c389da6032824a2079637266a99fa980882eedf7f1fc490219ee4ff27812ac8c6afe118e25f40a9c2387e7b997762fb
 DIST lapack-3.11.tar.gz 7723909 BLAKE2B 
b3f8ec8cd439d790ba5869b8b071fe924a4ac53328bce77d46032602b45353670966ed9223324a0780aabc2e95624f439e03f90a89586f96afbe1374c4261bc5
 SHA512 
d2f23c5f6ae14fb868312a25235459bd0c04f4b43b82a5ade01314776ade9a75dc518a457eb58595f29f64cb0bb86f1a12ce8beea3ec87ef9caf49493ce29fb3
+DIST lapack-3.12.0.tar.gz 7933607 BLAKE2B 
dafb1f9a717f2cbc00a26f8cff2c7a1ebb720714fe6d7bd5fabb511a2f4af317165814340864c9d601e4e16c7762f643fbbafc058170ebcdc6529a9b4f2d70b6
 SHA512 
f8f3c733a0221be0b3f5618235408ac59cbd4e5f1c4eab5f509b831a6ec6a9ef14b8849aa6ea10810df1aff90186ca454d15e9438d1dd271c2449d42d3da9dda

diff --git a/sci-libs/lapack/lapack-3.12.0.ebuild 
b/sci-libs/lapack/lapack-3.12.0.ebuild
new file mode 100644
index ..28f108f8c14c
--- /dev/null
+++ b/sci-libs/lapack/lapack-3.12.0.ebuild
@@ -0,0 +1,107 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+# Some additional tests are run if Python is found
+PYTHON_COMPAT=( python3_{10..11} )
+inherit cmake fortran-2 python-any-r1
+
+DESCRIPTION="BLAS, CBLAS, LAPACK, LAPACKE reference implementations"
+HOMEPAGE="https://www.netlib.org/lapack/;
+SRC_URI="https://github.com/Reference-LAPACK/lapack/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos 
~x64-macos"
+# TODO: static-libs 64bit-index
+IUSE="lapacke deprecated doc eselect-ldso test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+   !app-eselect/eselect-cblas
+   virtual/fortran
+   eselect-ldso? (
+   >=app-eselect/eselect-blas-0.2
+   >=app-eselect/eselect-lapack-0.2
+   )
+   doc? ( app-doc/blas-docs )
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
+   virtual/pkgconfig
+   test? ( ${PYTHON_DEPS} )
+"
+
+pkg_setup() {
+   fortran-2_pkg_setup
+   use test && python-any-r1_pkg_setup
+}
+
+src_configure() {
+   local mycmakeargs=(
+   -DCBLAS=ON
+   -DLAPACKE=$(usex lapacke)
+   -DBUILD_DEPRECATED=$(usex deprecated)
+   -DBUILD_SHARED_LIBS=ON
+   -DBUILD_TESTING=$(usex test)
+   -DLAPACK_TESTING_USE_PYTHON=$(usex test)
+   # Breaks cross
+   -DTEST_FORTRAN_COMPILER=OFF
+   )
+
+   cmake_src_configure
+}
+
+src_install() {
+   cmake_src_install
+
+   use eselect-ldso || return
+   # Create private lib directory for eselect::blas (ld.so.conf)
+   dodir /usr/$(get_libdir)/blas/reference
+   dosym -r /usr/$(get_libdir)/libblas.so 
/usr/$(get_libdir)/blas/reference/libblas.so
+   dosym -r /usr/$(get_libdir)/libblas.so.3 
/usr/$(get_libdir)/blas/reference/libblas.so.3
+   dosym -r /usr/$(get_libdir)/libcblas.so 
/usr/$(get_libdir)/blas/reference/libcblas.so
+   dosym -r /usr/$(get_libdir)/libcblas.so.3 
/usr/$(get_libdir)/blas/reference/libcblas.so.3
+
+   # Create private lib directory for eselect::lapack (ld.so.conf)
+   dodir /usr/$(get_libdir)/lapack/reference
+   dosym -r /usr/$(get_libdir)/liblapack.so 
/usr/$(get_libdir)/lapack/reference/liblapack.so
+   dosym -r /usr/$(get_libdir)/liblapack.so.3 
/usr/$(get_libdir)/lapack/reference/liblapack.so.3
+}
+
+pkg_postinst() {
+   use eselect-ldso || return
+
+   local me=reference libdir=$(get_libdir)
+   # check eselect-blas
+   eselect blas add ${libdir} "${EPREFIX}"/usr/${libdir}/blas/${me} ${me}
+   local current_blas=$(eselect blas show ${libdir} | cut -d' ' -f2)
+   if [[ ${current_blas} == ${me} || -z ${current_blas} ]]; then
+   eselect blas set ${libdir} ${me}
+   elog "Current eselect: BLAS ($libdir) -> [${current_blas}]."
+   else
+   elog "Current eselect: BLAS ($libdir) -> [${current_blas}]."
+   elog "To use blas [${me}] 

[gentoo-commits] repo/gentoo:master commit in: sci-libs/lapack/

2023-08-24 Thread Sam James
commit: a3ab8231602c8af892facac582b5770f3834c21f
Author: Sam James  gentoo  org>
AuthorDate: Thu Aug 24 23:14:13 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Aug 24 23:14:13 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a3ab8231

sci-libs/lapack: use fortran-2.eclass

Not strictly related to bug #908798 but noticed while looking at it.

Bug: https://bugs.gentoo.org/908798
Signed-off-by: Sam James  gentoo.org>

 sci-libs/lapack/lapack-3.10.1.ebuild | 2 +-
 sci-libs/lapack/lapack-3.11.ebuild   | 3 ++-
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/sci-libs/lapack/lapack-3.10.1.ebuild 
b/sci-libs/lapack/lapack-3.10.1.ebuild
index 218c49029127..16b9d22e73df 100644
--- a/sci-libs/lapack/lapack-3.10.1.ebuild
+++ b/sci-libs/lapack/lapack-3.10.1.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=8
 
-inherit cmake
+inherit cmake fortran-2
 
 DESCRIPTION="BLAS,CBLAS,LAPACK,LAPACKE reference implementations"
 HOMEPAGE="https://www.netlib.org/lapack/;

diff --git a/sci-libs/lapack/lapack-3.11.ebuild 
b/sci-libs/lapack/lapack-3.11.ebuild
index 8d0bfc529500..72fc5a9ad67d 100644
--- a/sci-libs/lapack/lapack-3.11.ebuild
+++ b/sci-libs/lapack/lapack-3.11.ebuild
@@ -5,7 +5,7 @@ EAPI=8
 
 # Some additional tests are run if Python is found
 PYTHON_COMPAT=( python3_{9..11} )
-inherit cmake python-any-r1
+inherit cmake fortran-2 python-any-r1
 
 DESCRIPTION="BLAS,CBLAS,LAPACK,LAPACKE reference implementations"
 HOMEPAGE="https://www.netlib.org/lapack/;
@@ -34,6 +34,7 @@ BDEPEND="
 "
 
 pkg_setup() {
+   fortran-2_pkg_setup
use test && python-any-r1_pkg_setup
 }
 



[gentoo-commits] repo/gentoo:master commit in: sci-libs/lapack/

2023-08-24 Thread Sam James
commit: 09e34f194d3dd032beecdc2e5db30d81c86d9a54
Author: Sam James  gentoo  org>
AuthorDate: Thu Aug 24 23:15:08 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Aug 24 23:15:08 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=09e34f19

sci-libs/lapack: disable py3.9

Signed-off-by: Sam James  gentoo.org>

 sci-libs/lapack/lapack-3.11.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-libs/lapack/lapack-3.11.ebuild 
b/sci-libs/lapack/lapack-3.11.ebuild
index 72fc5a9ad67d..7e2764d7f209 100644
--- a/sci-libs/lapack/lapack-3.11.ebuild
+++ b/sci-libs/lapack/lapack-3.11.ebuild
@@ -4,7 +4,7 @@
 EAPI=8
 
 # Some additional tests are run if Python is found
-PYTHON_COMPAT=( python3_{9..11} )
+PYTHON_COMPAT=( python3_{10..11} )
 inherit cmake fortran-2 python-any-r1
 
 DESCRIPTION="BLAS,CBLAS,LAPACK,LAPACKE reference implementations"



[gentoo-commits] repo/gentoo:master commit in: sci-libs/lapack/

2023-03-18 Thread James Le Cuirot
commit: 36aa1b85c50f1c6eac0106d7c1ae7ca6b8da8e9b
Author: James Le Cuirot  gentoo  org>
AuthorDate: Mon Feb 27 23:37:30 2023 +
Commit: James Le Cuirot  gentoo  org>
CommitDate: Sat Mar 18 21:44:42 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=36aa1b85

sci-libs/lapack: Don't include ROOT in directory of eselect entries

ROOT is not applicable at runtime, so only the EPREFIX should be present.

Signed-off-by: James Le Cuirot  gentoo.org>

 sci-libs/lapack/lapack-3.11.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sci-libs/lapack/lapack-3.11.ebuild 
b/sci-libs/lapack/lapack-3.11.ebuild
index c13b5b123b6d..737bed9e5fdb 100644
--- a/sci-libs/lapack/lapack-3.11.ebuild
+++ b/sci-libs/lapack/lapack-3.11.ebuild
@@ -74,7 +74,7 @@ pkg_postinst() {
 
local me=reference libdir=$(get_libdir)
# check eselect-blas
-   eselect blas add ${libdir} "${EROOT}"/usr/${libdir}/blas/${me} ${me}
+   eselect blas add ${libdir} "${EPREFIX}"/usr/${libdir}/blas/${me} ${me}
local current_blas=$(eselect blas show ${libdir} | cut -d' ' -f2)
if [[ ${current_blas} == ${me} || -z ${current_blas} ]]; then
eselect blas set ${libdir} ${me}
@@ -86,7 +86,7 @@ pkg_postinst() {
fi
 
# check eselect-lapack
-   eselect lapack add ${libdir} "${EROOT}"/usr/${libdir}/lapack/${me} ${me}
+   eselect lapack add ${libdir} "${EPREFIX}"/usr/${libdir}/lapack/${me} 
${me}
local current_lapack=$(eselect lapack show ${libdir} | cut -d' ' -f2)
if [[ ${current_lapack} == ${me} || -z ${current_lapack} ]]; then
eselect lapack set ${libdir} ${me}



[gentoo-commits] repo/gentoo:master commit in: sci-libs/lapack/

2023-03-18 Thread James Le Cuirot
commit: 25157d5097afc35aafa55a286d244fcf8d48597e
Author: James Le Cuirot  gentoo  org>
AuthorDate: Mon Feb 27 23:38:53 2023 +
Commit: James Le Cuirot  gentoo  org>
CommitDate: Sat Mar 18 21:36:32 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=25157d50

sci-libs/lapack: Fix cross-compiling by disabling Fortran compiler tests

Upstream has already decided to disable these tests by default in the
next release for this and other reasons.

Signed-off-by: James Le Cuirot  gentoo.org>

 sci-libs/lapack/lapack-3.11.ebuild | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/sci-libs/lapack/lapack-3.11.ebuild 
b/sci-libs/lapack/lapack-3.11.ebuild
index d6b016878d7d..c13b5b123b6d 100644
--- a/sci-libs/lapack/lapack-3.11.ebuild
+++ b/sci-libs/lapack/lapack-3.11.ebuild
@@ -44,6 +44,9 @@ src_configure() {
-DBUILD_DEPRECATED=$(usex deprecated)
-DBUILD_SHARED_LIBS=ON
-DBUILD_TESTING=$(usex test)
+
+   # Breaks cross, will default to OFF in next release.
+   -DTEST_FORTRAN_COMPILER=OFF
)
 
cmake_src_configure



[gentoo-commits] repo/gentoo:master commit in: sci-libs/lapack/

2023-03-04 Thread Arthur Zamarin
commit: 7e92f77127ff3ae4d5f4ed01b2f9d26851603d15
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sat Mar  4 17:25:45 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sat Mar  4 17:25:45 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7e92f771

sci-libs/lapack: Stabilize 3.11 hppa, #899466

Signed-off-by: Arthur Zamarin  gentoo.org>

 sci-libs/lapack/lapack-3.11.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-libs/lapack/lapack-3.11.ebuild 
b/sci-libs/lapack/lapack-3.11.ebuild
index f5d718a74687..d6b016878d7d 100644
--- a/sci-libs/lapack/lapack-3.11.ebuild
+++ b/sci-libs/lapack/lapack-3.11.ebuild
@@ -13,7 +13,7 @@ 
SRC_URI="https://github.com/Reference-LAPACK/lapack/archive/v${PV}.tar.gz -> ${P
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv 
~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos"
+KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv 
~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos"
 # TODO: static-libs 64bit-index
 IUSE="lapacke deprecated doc eselect-ldso test"
 RESTRICT="!test? ( test )"



[gentoo-commits] repo/gentoo:master commit in: sci-libs/lapack/

2023-03-04 Thread Arthur Zamarin
commit: 4f69f92f3b2144d6714cbd33dce2b94a602c718b
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sat Mar  4 11:22:48 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sat Mar  4 11:22:48 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4f69f92f

sci-libs/lapack: Stabilize 3.11 ppc, #899466

Signed-off-by: Arthur Zamarin  gentoo.org>

 sci-libs/lapack/lapack-3.11.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-libs/lapack/lapack-3.11.ebuild 
b/sci-libs/lapack/lapack-3.11.ebuild
index 319c0397ca7a..f5d718a74687 100644
--- a/sci-libs/lapack/lapack-3.11.ebuild
+++ b/sci-libs/lapack/lapack-3.11.ebuild
@@ -13,7 +13,7 @@ 
SRC_URI="https://github.com/Reference-LAPACK/lapack/archive/v${PV}.tar.gz -> ${P
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ~ppc ppc64 ~riscv 
~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv 
~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos"
 # TODO: static-libs 64bit-index
 IUSE="lapacke deprecated doc eselect-ldso test"
 RESTRICT="!test? ( test )"



[gentoo-commits] repo/gentoo:master commit in: sci-libs/lapack/

2023-03-04 Thread Arthur Zamarin
commit: cb422c0393d69ee36d8c0c5daaa06df904c51e0f
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sat Mar  4 09:26:25 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sat Mar  4 09:26:25 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cb422c03

sci-libs/lapack: Stabilize 3.11 amd64, #899466

Signed-off-by: Arthur Zamarin  gentoo.org>

 sci-libs/lapack/lapack-3.11.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-libs/lapack/lapack-3.11.ebuild 
b/sci-libs/lapack/lapack-3.11.ebuild
index dab925b8fe56..319c0397ca7a 100644
--- a/sci-libs/lapack/lapack-3.11.ebuild
+++ b/sci-libs/lapack/lapack-3.11.ebuild
@@ -13,7 +13,7 @@ 
SRC_URI="https://github.com/Reference-LAPACK/lapack/archive/v${PV}.tar.gz -> ${P
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ~ppc ppc64 ~riscv 
~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ~ppc ppc64 ~riscv 
~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos"
 # TODO: static-libs 64bit-index
 IUSE="lapacke deprecated doc eselect-ldso test"
 RESTRICT="!test? ( test )"



[gentoo-commits] repo/gentoo:master commit in: sci-libs/lapack/

2023-03-04 Thread Arthur Zamarin
commit: a5a527808de8689741a4b6da06db1931e9087ad0
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sat Mar  4 08:07:22 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sat Mar  4 08:07:22 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a5a52780

sci-libs/lapack: Stabilize 3.11 ppc64, #899466

Signed-off-by: Arthur Zamarin  gentoo.org>

 sci-libs/lapack/lapack-3.11.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-libs/lapack/lapack-3.11.ebuild 
b/sci-libs/lapack/lapack-3.11.ebuild
index 6a5cae883c09..dab925b8fe56 100644
--- a/sci-libs/lapack/lapack-3.11.ebuild
+++ b/sci-libs/lapack/lapack-3.11.ebuild
@@ -13,7 +13,7 @@ 
SRC_URI="https://github.com/Reference-LAPACK/lapack/archive/v${PV}.tar.gz -> ${P
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv 
~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos"
+KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ~ppc ppc64 ~riscv 
~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos"
 # TODO: static-libs 64bit-index
 IUSE="lapacke deprecated doc eselect-ldso test"
 RESTRICT="!test? ( test )"



[gentoo-commits] repo/gentoo:master commit in: sci-libs/lapack/

2023-03-03 Thread Arthur Zamarin
commit: cbb270a90d60ede8c963bc5a50702da204acb65d
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sat Mar  4 07:51:47 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sat Mar  4 07:51:47 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cbb270a9

sci-libs/lapack: Stabilize 3.11 x86, #899466

Signed-off-by: Arthur Zamarin  gentoo.org>

 sci-libs/lapack/lapack-3.11.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-libs/lapack/lapack-3.11.ebuild 
b/sci-libs/lapack/lapack-3.11.ebuild
index f7bb4fc273bd..6a5cae883c09 100644
--- a/sci-libs/lapack/lapack-3.11.ebuild
+++ b/sci-libs/lapack/lapack-3.11.ebuild
@@ -13,7 +13,7 @@ 
SRC_URI="https://github.com/Reference-LAPACK/lapack/archive/v${PV}.tar.gz -> ${P
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv 
~s390 sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos"
+KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv 
~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos"
 # TODO: static-libs 64bit-index
 IUSE="lapacke deprecated doc eselect-ldso test"
 RESTRICT="!test? ( test )"



[gentoo-commits] repo/gentoo:master commit in: sci-libs/lapack/

2023-03-03 Thread Arthur Zamarin
commit: 4422070b40a9eb4c00faed4d2327a98b2a4024e9
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sat Mar  4 06:16:37 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sat Mar  4 06:16:37 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4422070b

sci-libs/lapack: Stabilize 3.11 arm, #899466

Signed-off-by: Arthur Zamarin  gentoo.org>

 sci-libs/lapack/lapack-3.11.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-libs/lapack/lapack-3.11.ebuild 
b/sci-libs/lapack/lapack-3.11.ebuild
index 31a5deffbc19..f7bb4fc273bd 100644
--- a/sci-libs/lapack/lapack-3.11.ebuild
+++ b/sci-libs/lapack/lapack-3.11.ebuild
@@ -13,7 +13,7 @@ 
SRC_URI="https://github.com/Reference-LAPACK/lapack/archive/v${PV}.tar.gz -> ${P
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv 
~s390 sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos"
+KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv 
~s390 sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos"
 # TODO: static-libs 64bit-index
 IUSE="lapacke deprecated doc eselect-ldso test"
 RESTRICT="!test? ( test )"



[gentoo-commits] repo/gentoo:master commit in: sci-libs/lapack/

2023-03-03 Thread Arthur Zamarin
commit: 560f296ef9015f0059f695fd8b76e84984554aee
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sat Mar  4 06:06:03 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sat Mar  4 06:06:03 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=560f296e

sci-libs/lapack: Stabilize 3.11 sparc, #899466

Signed-off-by: Arthur Zamarin  gentoo.org>

 sci-libs/lapack/lapack-3.11.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-libs/lapack/lapack-3.11.ebuild 
b/sci-libs/lapack/lapack-3.11.ebuild
index d2c81a7051f8..31a5deffbc19 100644
--- a/sci-libs/lapack/lapack-3.11.ebuild
+++ b/sci-libs/lapack/lapack-3.11.ebuild
@@ -13,7 +13,7 @@ 
SRC_URI="https://github.com/Reference-LAPACK/lapack/archive/v${PV}.tar.gz -> ${P
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv 
~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos"
+KEYWORDS="~alpha ~amd64 ~arm arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv 
~s390 sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos"
 # TODO: static-libs 64bit-index
 IUSE="lapacke deprecated doc eselect-ldso test"
 RESTRICT="!test? ( test )"



[gentoo-commits] repo/gentoo:master commit in: sci-libs/lapack/

2023-03-03 Thread Arthur Zamarin
commit: 517177bf6c3045b7442ea004f3ae9ebdf935872e
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sat Mar  4 05:55:44 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sat Mar  4 05:55:44 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=517177bf

sci-libs/lapack: Stabilize 3.11 arm64, #899466

Signed-off-by: Arthur Zamarin  gentoo.org>

 sci-libs/lapack/lapack-3.11.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-libs/lapack/lapack-3.11.ebuild 
b/sci-libs/lapack/lapack-3.11.ebuild
index bda8c3000ab9..d2c81a7051f8 100644
--- a/sci-libs/lapack/lapack-3.11.ebuild
+++ b/sci-libs/lapack/lapack-3.11.ebuild
@@ -13,7 +13,7 @@ 
SRC_URI="https://github.com/Reference-LAPACK/lapack/archive/v${PV}.tar.gz -> ${P
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos"
+KEYWORDS="~alpha ~amd64 ~arm arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv 
~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos"
 # TODO: static-libs 64bit-index
 IUSE="lapacke deprecated doc eselect-ldso test"
 RESTRICT="!test? ( test )"



[gentoo-commits] repo/gentoo:master commit in: sci-libs/lapack/

2022-12-19 Thread Andreas Sturmlechner
commit: dfaac37c3a8c6f08a80ffbae53053b351dd4ad60
Author: Andreas Sturmlechner  gentoo  org>
AuthorDate: Sun Dec 18 11:39:47 2022 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Mon Dec 19 14:44:55 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dfaac37c

sci-libs/lapack: drop 3.10.0

Signed-off-by: Andreas Sturmlechner  gentoo.org>

 sci-libs/lapack/Manifest |  1 -
 sci-libs/lapack/lapack-3.10.0.ebuild | 97 
 2 files changed, 98 deletions(-)

diff --git a/sci-libs/lapack/Manifest b/sci-libs/lapack/Manifest
index d545bd858148..d2af6557b1ba 100644
--- a/sci-libs/lapack/Manifest
+++ b/sci-libs/lapack/Manifest
@@ -1,3 +1,2 @@
-DIST lapack-3.10.0.tar.gz 7630775 BLAKE2B 
fd2f920dd3f69eab471aa8c20d1b8178fb5c6e80337a2ed6948aba3ec639a816f8d368bb59ff6fb513b2f5cda9e61c2a547182f22fbc84a8c34191acefc3406a
 SHA512 
56055000c241bab8f318ebd79249ea012c33be0c4c3eca6a78e247f35ad9e8088f46605a0ba52fd5ad3e7898be3b7bc6c50ceb3af327c4986a266b06fe768cbf
 DIST lapack-3.10.1.tar.gz 7632257 BLAKE2B 
f2653239029ed9c136173fc2e54773a785ad3e469d581ca2b7f6a72697e6bb9d22879edaf8327ada510df259c08fe984202d14cb3860c0d2a711eb55a1cc11dd
 SHA512 
050048483208c0a35b74972ff0059c389da6032824a2079637266a99fa980882eedf7f1fc490219ee4ff27812ac8c6afe118e25f40a9c2387e7b997762fb
 DIST lapack-3.11.tar.gz 7723909 BLAKE2B 
b3f8ec8cd439d790ba5869b8b071fe924a4ac53328bce77d46032602b45353670966ed9223324a0780aabc2e95624f439e03f90a89586f96afbe1374c4261bc5
 SHA512 
d2f23c5f6ae14fb868312a25235459bd0c04f4b43b82a5ade01314776ade9a75dc518a457eb58595f29f64cb0bb86f1a12ce8beea3ec87ef9caf49493ce29fb3

diff --git a/sci-libs/lapack/lapack-3.10.0.ebuild 
b/sci-libs/lapack/lapack-3.10.0.ebuild
deleted file mode 100644
index 0c071e5d12d0..
--- a/sci-libs/lapack/lapack-3.10.0.ebuild
+++ /dev/null
@@ -1,97 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit cmake
-
-DESCRIPTION="BLAS,CBLAS,LAPACK,LAPACKE reference implementations"
-HOMEPAGE="https://www.netlib.org/lapack/;
-SRC_URI="https://github.com/Reference-LAPACK/lapack/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 ~riscv ~s390 sparc 
x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos"
-# TODO: static-libs 64bit-index
-IUSE="lapacke deprecated doc eselect-ldso test"
-RESTRICT="!test? ( test )"
-
-BDEPEND="virtual/pkgconfig"
-RDEPEND="
-   !app-eselect/eselect-cblas
-   virtual/fortran
-   eselect-ldso? (
-   >=app-eselect/eselect-blas-0.2
-   >=app-eselect/eselect-lapack-0.2
-   )
-   doc? ( app-doc/blas-docs )"
-DEPEND="${RDEPEND}"
-
-src_prepare() {
-   cmake_src_prepare
-}
-
-src_configure() {
-   local mycmakeargs=(
-   -DCBLAS=ON
-   -DLAPACKE=$(usex lapacke)
-   -DBUILD_DEPRECATED=$(usex deprecated)
-   -DBUILD_SHARED_LIBS=ON
-   -DBUILD_TESTING=$(usex test)
-   )
-
-   cmake_src_configure
-}
-
-src_install() {
-   cmake_src_install
-
-   use eselect-ldso || return
-   # Create private lib directory for eselect::blas (ld.so.conf)
-   dodir /usr/$(get_libdir)/blas/reference
-   dosym ../../libblas.so usr/$(get_libdir)/blas/reference/libblas.so
-   dosym ../../libblas.so.3 usr/$(get_libdir)/blas/reference/libblas.so.3
-   dosym ../../libcblas.so usr/$(get_libdir)/blas/reference/libcblas.so
-   dosym ../../libcblas.so.3 usr/$(get_libdir)/blas/reference/libcblas.so.3
-
-   # Create private lib directory for eselect::lapack (ld.so.conf)
-   dodir /usr/$(get_libdir)/lapack/reference
-   dosym ../../liblapack.so usr/$(get_libdir)/lapack/reference/liblapack.so
-   dosym ../../liblapack.so.3 
usr/$(get_libdir)/lapack/reference/liblapack.so.3
-}
-
-pkg_postinst() {
-   use eselect-ldso || return
-
-   local me=reference libdir=$(get_libdir)
-   # check eselect-blas
-   eselect blas add ${libdir} "${EROOT}"/usr/${libdir}/blas/${me} ${me}
-   local current_blas=$(eselect blas show ${libdir} | cut -d' ' -f2)
-   if [[ ${current_blas} == ${me} || -z ${current_blas} ]]; then
-   eselect blas set ${libdir} ${me}
-   elog "Current eselect: BLAS ($libdir) -> [${current_blas}]."
-   else
-   elog "Current eselect: BLAS ($libdir) -> [${current_blas}]."
-   elog "To use blas [${me}] implementation, you have to issue (as 
root):"
-   elog "\t eselect blas set ${libdir} ${me}"
-   fi
-
-   # check eselect-lapack
-   eselect lapack add ${libdir} "${EROOT}"/usr/${libdir}/lapack/${me} ${me}
-   local current_lapack=$(eselect lapack show ${libdir} | cut -d' ' -f2)
-   if [[ ${current_lapack} == ${me} || -z ${current_lapack} ]]; then
-   eselect lapack set ${libdir} ${me}
-   

[gentoo-commits] repo/gentoo:master commit in: sci-libs/lapack/

2022-11-15 Thread Arthur Zamarin
commit: acc27956c648638bc2a152ad1918e2a3a57f4936
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Wed Nov 16 06:08:41 2022 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Wed Nov 16 06:08:41 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=acc27956

sci-libs/lapack: Stabilize 3.10.1 sparc, #881027

Signed-off-by: Arthur Zamarin  gentoo.org>

 sci-libs/lapack/lapack-3.10.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-libs/lapack/lapack-3.10.1.ebuild 
b/sci-libs/lapack/lapack-3.10.1.ebuild
index 47a33d115ec9..d1d07a3c3dd8 100644
--- a/sci-libs/lapack/lapack-3.10.1.ebuild
+++ b/sci-libs/lapack/lapack-3.10.1.ebuild
@@ -11,7 +11,7 @@ 
SRC_URI="https://github.com/Reference-LAPACK/lapack/archive/v${PV}.tar.gz -> ${P
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv 
~s390 ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos"
+KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv 
~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos"
 # TODO: static-libs 64bit-index
 IUSE="lapacke deprecated doc eselect-ldso test"
 RESTRICT="!test? ( test )"



[gentoo-commits] repo/gentoo:master commit in: sci-libs/lapack/

2022-11-11 Thread Sam James
commit: d310e5274eafc8c48900eef4cd118607c55bddc7
Author: Sam James  gentoo  org>
AuthorDate: Sat Nov 12 02:39:27 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Nov 12 02:39:27 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d310e527

sci-libs/lapack: Stabilize 3.10.1 amd64, #881027

Signed-off-by: Sam James  gentoo.org>

 sci-libs/lapack/lapack-3.10.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-libs/lapack/lapack-3.10.1.ebuild 
b/sci-libs/lapack/lapack-3.10.1.ebuild
index fb781a21d17e..47a33d115ec9 100644
--- a/sci-libs/lapack/lapack-3.10.1.ebuild
+++ b/sci-libs/lapack/lapack-3.10.1.ebuild
@@ -11,7 +11,7 @@ 
SRC_URI="https://github.com/Reference-LAPACK/lapack/archive/v${PV}.tar.gz -> ${P
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 arm arm64 hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv 
~s390 ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos"
+KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv 
~s390 ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos"
 # TODO: static-libs 64bit-index
 IUSE="lapacke deprecated doc eselect-ldso test"
 RESTRICT="!test? ( test )"



[gentoo-commits] repo/gentoo:master commit in: sci-libs/lapack/

2022-11-11 Thread Sam James
commit: 33a90797d896062c7e38393eb613b28248518fcb
Author: Sam James  gentoo  org>
AuthorDate: Sat Nov 12 00:05:03 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Nov 12 00:05:03 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=33a90797

sci-libs/lapack: Stabilize 3.10.1 ppc64, #881027

Signed-off-by: Sam James  gentoo.org>

 sci-libs/lapack/lapack-3.10.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-libs/lapack/lapack-3.10.1.ebuild 
b/sci-libs/lapack/lapack-3.10.1.ebuild
index f03ffa5a3472..fb781a21d17e 100644
--- a/sci-libs/lapack/lapack-3.10.1.ebuild
+++ b/sci-libs/lapack/lapack-3.10.1.ebuild
@@ -11,7 +11,7 @@ 
SRC_URI="https://github.com/Reference-LAPACK/lapack/archive/v${PV}.tar.gz -> ${P
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 arm arm64 hppa ~ia64 ~loong ~mips ppc ~ppc64 ~riscv 
~s390 ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos"
+KEYWORDS="~alpha ~amd64 arm arm64 hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv 
~s390 ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos"
 # TODO: static-libs 64bit-index
 IUSE="lapacke deprecated doc eselect-ldso test"
 RESTRICT="!test? ( test )"



[gentoo-commits] repo/gentoo:master commit in: sci-libs/lapack/

2022-11-11 Thread Sam James
commit: 280f74bf9ef2bc3d0167b104304286951a55606b
Author: Sam James  gentoo  org>
AuthorDate: Sat Nov 12 00:05:02 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Nov 12 00:05:02 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=280f74bf

sci-libs/lapack: Stabilize 3.10.1 hppa, #881027

Signed-off-by: Sam James  gentoo.org>

 sci-libs/lapack/lapack-3.10.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-libs/lapack/lapack-3.10.1.ebuild 
b/sci-libs/lapack/lapack-3.10.1.ebuild
index d8077f2cc8a5..f03ffa5a3472 100644
--- a/sci-libs/lapack/lapack-3.10.1.ebuild
+++ b/sci-libs/lapack/lapack-3.10.1.ebuild
@@ -11,7 +11,7 @@ 
SRC_URI="https://github.com/Reference-LAPACK/lapack/archive/v${PV}.tar.gz -> ${P
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ppc ~ppc64 ~riscv 
~s390 ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos"
+KEYWORDS="~alpha ~amd64 arm arm64 hppa ~ia64 ~loong ~mips ppc ~ppc64 ~riscv 
~s390 ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos"
 # TODO: static-libs 64bit-index
 IUSE="lapacke deprecated doc eselect-ldso test"
 RESTRICT="!test? ( test )"



[gentoo-commits] repo/gentoo:master commit in: sci-libs/lapack/

2022-11-11 Thread Sam James
commit: 1be0b8566e8545382df40edfdd293d5be21ef742
Author: Sam James  gentoo  org>
AuthorDate: Fri Nov 11 22:45:48 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Nov 11 22:45:48 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1be0b856

sci-libs/lapack: Stabilize 3.10.1 x86, #881027

Signed-off-by: Sam James  gentoo.org>

 sci-libs/lapack/lapack-3.10.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-libs/lapack/lapack-3.10.1.ebuild 
b/sci-libs/lapack/lapack-3.10.1.ebuild
index 9651ca02659c..e55a3e857212 100644
--- a/sci-libs/lapack/lapack-3.10.1.ebuild
+++ b/sci-libs/lapack/lapack-3.10.1.ebuild
@@ -11,7 +11,7 @@ 
SRC_URI="https://github.com/Reference-LAPACK/lapack/archive/v${PV}.tar.gz -> ${P
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv 
~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos"
+KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv 
~s390 ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos"
 # TODO: static-libs 64bit-index
 IUSE="lapacke deprecated doc eselect-ldso test"
 RESTRICT="!test? ( test )"



[gentoo-commits] repo/gentoo:master commit in: sci-libs/lapack/

2022-11-11 Thread Sam James
commit: 650be6886304704bc83738d44ed7a1fde7bb3254
Author: Sam James  gentoo  org>
AuthorDate: Fri Nov 11 22:45:50 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Nov 11 22:45:50 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=650be688

sci-libs/lapack: Stabilize 3.10.1 ppc, #881027

Signed-off-by: Sam James  gentoo.org>

 sci-libs/lapack/lapack-3.10.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-libs/lapack/lapack-3.10.1.ebuild 
b/sci-libs/lapack/lapack-3.10.1.ebuild
index e55a3e857212..d8077f2cc8a5 100644
--- a/sci-libs/lapack/lapack-3.10.1.ebuild
+++ b/sci-libs/lapack/lapack-3.10.1.ebuild
@@ -11,7 +11,7 @@ 
SRC_URI="https://github.com/Reference-LAPACK/lapack/archive/v${PV}.tar.gz -> ${P
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv 
~s390 ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos"
+KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ppc ~ppc64 ~riscv 
~s390 ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos"
 # TODO: static-libs 64bit-index
 IUSE="lapacke deprecated doc eselect-ldso test"
 RESTRICT="!test? ( test )"



[gentoo-commits] repo/gentoo:master commit in: sci-libs/lapack/

2022-11-11 Thread Sam James
commit: 7f1717b839ac3f51e4df7ca0a3d083bd4e8c46eb
Author: Sam James  gentoo  org>
AuthorDate: Fri Nov 11 22:39:32 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Nov 11 22:39:32 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7f1717b8

sci-libs/lapack: Stabilize 3.10.1 arm64, #881027

Signed-off-by: Sam James  gentoo.org>

 sci-libs/lapack/lapack-3.10.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-libs/lapack/lapack-3.10.1.ebuild 
b/sci-libs/lapack/lapack-3.10.1.ebuild
index d45811165730..29ba53da5be9 100644
--- a/sci-libs/lapack/lapack-3.10.1.ebuild
+++ b/sci-libs/lapack/lapack-3.10.1.ebuild
@@ -11,7 +11,7 @@ 
SRC_URI="https://github.com/Reference-LAPACK/lapack/archive/v${PV}.tar.gz -> ${P
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos"
+KEYWORDS="~alpha ~amd64 ~arm arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv 
~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos"
 # TODO: static-libs 64bit-index
 IUSE="lapacke deprecated doc eselect-ldso test"
 RESTRICT="!test? ( test )"



[gentoo-commits] repo/gentoo:master commit in: sci-libs/lapack/

2022-11-11 Thread Sam James
commit: 00badf19b5d0f8a517b8296331d61a270e5e07e4
Author: Sam James  gentoo  org>
AuthorDate: Fri Nov 11 22:39:35 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Nov 11 22:39:35 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=00badf19

sci-libs/lapack: Stabilize 3.10.1 arm, #881027

Signed-off-by: Sam James  gentoo.org>

 sci-libs/lapack/lapack-3.10.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-libs/lapack/lapack-3.10.1.ebuild 
b/sci-libs/lapack/lapack-3.10.1.ebuild
index 29ba53da5be9..9651ca02659c 100644
--- a/sci-libs/lapack/lapack-3.10.1.ebuild
+++ b/sci-libs/lapack/lapack-3.10.1.ebuild
@@ -11,7 +11,7 @@ 
SRC_URI="https://github.com/Reference-LAPACK/lapack/archive/v${PV}.tar.gz -> ${P
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv 
~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos"
+KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv 
~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos"
 # TODO: static-libs 64bit-index
 IUSE="lapacke deprecated doc eselect-ldso test"
 RESTRICT="!test? ( test )"



[gentoo-commits] repo/gentoo:master commit in: sci-libs/lapack/

2022-11-11 Thread Sam James
commit: 7ec6b766b668b0eecf9708d9840b84c0d5752bf8
Author: Sam James  gentoo  org>
AuthorDate: Fri Nov 11 21:59:12 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Nov 11 22:36:01 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7ec6b766

sci-libs/lapack: add 3.11

Signed-off-by: Sam James  gentoo.org>

 sci-libs/lapack/Manifest   |   1 +
 sci-libs/lapack/lapack-3.11.ebuild | 103 +
 2 files changed, 104 insertions(+)

diff --git a/sci-libs/lapack/Manifest b/sci-libs/lapack/Manifest
index 67e1793bcebc..d545bd858148 100644
--- a/sci-libs/lapack/Manifest
+++ b/sci-libs/lapack/Manifest
@@ -1,2 +1,3 @@
 DIST lapack-3.10.0.tar.gz 7630775 BLAKE2B 
fd2f920dd3f69eab471aa8c20d1b8178fb5c6e80337a2ed6948aba3ec639a816f8d368bb59ff6fb513b2f5cda9e61c2a547182f22fbc84a8c34191acefc3406a
 SHA512 
56055000c241bab8f318ebd79249ea012c33be0c4c3eca6a78e247f35ad9e8088f46605a0ba52fd5ad3e7898be3b7bc6c50ceb3af327c4986a266b06fe768cbf
 DIST lapack-3.10.1.tar.gz 7632257 BLAKE2B 
f2653239029ed9c136173fc2e54773a785ad3e469d581ca2b7f6a72697e6bb9d22879edaf8327ada510df259c08fe984202d14cb3860c0d2a711eb55a1cc11dd
 SHA512 
050048483208c0a35b74972ff0059c389da6032824a2079637266a99fa980882eedf7f1fc490219ee4ff27812ac8c6afe118e25f40a9c2387e7b997762fb
+DIST lapack-3.11.tar.gz 7723909 BLAKE2B 
b3f8ec8cd439d790ba5869b8b071fe924a4ac53328bce77d46032602b45353670966ed9223324a0780aabc2e95624f439e03f90a89586f96afbe1374c4261bc5
 SHA512 
d2f23c5f6ae14fb868312a25235459bd0c04f4b43b82a5ade01314776ade9a75dc518a457eb58595f29f64cb0bb86f1a12ce8beea3ec87ef9caf49493ce29fb3

diff --git a/sci-libs/lapack/lapack-3.11.ebuild 
b/sci-libs/lapack/lapack-3.11.ebuild
new file mode 100644
index ..de92c76f6d72
--- /dev/null
+++ b/sci-libs/lapack/lapack-3.11.ebuild
@@ -0,0 +1,103 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+# Some additional tests are run if Python is found
+PYTHON_COMPAT=( python3_{8..11} )
+inherit cmake python-any-r1
+
+DESCRIPTION="BLAS,CBLAS,LAPACK,LAPACKE reference implementations"
+HOMEPAGE="https://www.netlib.org/lapack/;
+SRC_URI="https://github.com/Reference-LAPACK/lapack/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos"
+# TODO: static-libs 64bit-index
+IUSE="lapacke deprecated doc eselect-ldso test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+   !app-eselect/eselect-cblas
+   virtual/fortran
+   eselect-ldso? (
+   >=app-eselect/eselect-blas-0.2
+   >=app-eselect/eselect-lapack-0.2
+   )
+   doc? ( app-doc/blas-docs )
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
+   virtual/pkgconfig
+   test? ( ${PYTHON_DEPS} )
+"
+
+pkg_setup() {
+   use test && python-any-r1_pkg_setup
+}
+
+src_configure() {
+   local mycmakeargs=(
+   -DCBLAS=ON
+   -DLAPACKE=$(usex lapacke)
+   -DBUILD_DEPRECATED=$(usex deprecated)
+   -DBUILD_SHARED_LIBS=ON
+   -DBUILD_TESTING=$(usex test)
+   )
+
+   cmake_src_configure
+}
+
+src_install() {
+   cmake_src_install
+
+   use eselect-ldso || return
+   # Create private lib directory for eselect::blas (ld.so.conf)
+   dodir /usr/$(get_libdir)/blas/reference
+   dosym ../../libblas.so usr/$(get_libdir)/blas/reference/libblas.so
+   dosym ../../libblas.so.3 usr/$(get_libdir)/blas/reference/libblas.so.3
+   dosym ../../libcblas.so usr/$(get_libdir)/blas/reference/libcblas.so
+   dosym ../../libcblas.so.3 usr/$(get_libdir)/blas/reference/libcblas.so.3
+
+   # Create private lib directory for eselect::lapack (ld.so.conf)
+   dodir /usr/$(get_libdir)/lapack/reference
+   dosym ../../liblapack.so usr/$(get_libdir)/lapack/reference/liblapack.so
+   dosym ../../liblapack.so.3 
usr/$(get_libdir)/lapack/reference/liblapack.so.3
+}
+
+pkg_postinst() {
+   use eselect-ldso || return
+
+   local me=reference libdir=$(get_libdir)
+   # check eselect-blas
+   eselect blas add ${libdir} "${EROOT}"/usr/${libdir}/blas/${me} ${me}
+   local current_blas=$(eselect blas show ${libdir} | cut -d' ' -f2)
+   if [[ ${current_blas} == ${me} || -z ${current_blas} ]]; then
+   eselect blas set ${libdir} ${me}
+   elog "Current eselect: BLAS ($libdir) -> [${current_blas}]."
+   else
+   elog "Current eselect: BLAS ($libdir) -> [${current_blas}]."
+   elog "To use blas [${me}] implementation, you have to issue (as 
root):"
+   elog "\t eselect blas set ${libdir} ${me}"
+   fi
+
+   # check eselect-lapack
+   eselect lapack add ${libdir} "${EROOT}"/usr/${libdir}/lapack/${me} ${me}
+   local current_lapack=$(eselect lapack show ${libdir} | cut -d' ' -f2)
+   if 

[gentoo-commits] repo/gentoo:master commit in: sci-libs/lapack/

2022-05-13 Thread WANG Xuerui
commit: 9f844a424f713a858b82dad6ffd416f534187ec5
Author: WANG Xuerui  gentoo  org>
AuthorDate: Sat May 14 03:32:16 2022 +
Commit: WANG Xuerui  gentoo  org>
CommitDate: Sat May 14 03:42:31 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9f844a42

sci-libs/lapack: keyword 3.10.1 for ~loong

Tests passed on real hardware.

Signed-off-by: WANG Xuerui  gentoo.org>

 sci-libs/lapack/lapack-3.10.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-libs/lapack/lapack-3.10.1.ebuild 
b/sci-libs/lapack/lapack-3.10.1.ebuild
index 962b68b1d175..d45811165730 100644
--- a/sci-libs/lapack/lapack-3.10.1.ebuild
+++ b/sci-libs/lapack/lapack-3.10.1.ebuild
@@ -11,7 +11,7 @@ 
SRC_URI="https://github.com/Reference-LAPACK/lapack/archive/v${PV}.tar.gz -> ${P
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 
~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos"
 # TODO: static-libs 64bit-index
 IUSE="lapacke deprecated doc eselect-ldso test"
 RESTRICT="!test? ( test )"



[gentoo-commits] repo/gentoo:master commit in: sci-libs/lapack/

2022-04-12 Thread Sam James
commit: 15feb480c582c0ea0a3977860bcbbc2c600de082
Author: Sam James  gentoo  org>
AuthorDate: Wed Apr 13 00:53:12 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Apr 13 00:53:12 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=15feb480

sci-libs/lapack: fix IncorrectCopyright

Signed-off-by: Sam James  gentoo.org>

 sci-libs/lapack/lapack-3.10.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-libs/lapack/lapack-3.10.0.ebuild 
b/sci-libs/lapack/lapack-3.10.0.ebuild
index c42b60080848..0c071e5d12d0 100644
--- a/sci-libs/lapack/lapack-3.10.0.ebuild
+++ b/sci-libs/lapack/lapack-3.10.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7



[gentoo-commits] repo/gentoo:master commit in: sci-libs/lapack/

2022-04-12 Thread Sam James
commit: d438816b8327c2a64690de33c548bbfae34369cc
Author: Sam James  gentoo  org>
AuthorDate: Wed Apr 13 00:50:56 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Apr 13 00:50:56 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d438816b

sci-libs/lapack: add 3.10.1

Signed-off-by: Sam James  gentoo.org>

 sci-libs/lapack/Manifest |  1 +
 sci-libs/lapack/lapack-3.10.1.ebuild | 97 
 2 files changed, 98 insertions(+)

diff --git a/sci-libs/lapack/Manifest b/sci-libs/lapack/Manifest
index 8893992e088c..67e1793bcebc 100644
--- a/sci-libs/lapack/Manifest
+++ b/sci-libs/lapack/Manifest
@@ -1 +1,2 @@
 DIST lapack-3.10.0.tar.gz 7630775 BLAKE2B 
fd2f920dd3f69eab471aa8c20d1b8178fb5c6e80337a2ed6948aba3ec639a816f8d368bb59ff6fb513b2f5cda9e61c2a547182f22fbc84a8c34191acefc3406a
 SHA512 
56055000c241bab8f318ebd79249ea012c33be0c4c3eca6a78e247f35ad9e8088f46605a0ba52fd5ad3e7898be3b7bc6c50ceb3af327c4986a266b06fe768cbf
+DIST lapack-3.10.1.tar.gz 7632257 BLAKE2B 
f2653239029ed9c136173fc2e54773a785ad3e469d581ca2b7f6a72697e6bb9d22879edaf8327ada510df259c08fe984202d14cb3860c0d2a711eb55a1cc11dd
 SHA512 
050048483208c0a35b74972ff0059c389da6032824a2079637266a99fa980882eedf7f1fc490219ee4ff27812ac8c6afe118e25f40a9c2387e7b997762fb

diff --git a/sci-libs/lapack/lapack-3.10.1.ebuild 
b/sci-libs/lapack/lapack-3.10.1.ebuild
new file mode 100644
index ..4e1b7520afee
--- /dev/null
+++ b/sci-libs/lapack/lapack-3.10.1.ebuild
@@ -0,0 +1,97 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake
+
+DESCRIPTION="BLAS,CBLAS,LAPACK,LAPACKE reference implementations"
+HOMEPAGE="https://www.netlib.org/lapack/;
+SRC_URI="https://github.com/Reference-LAPACK/lapack/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 
~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos"
+# TODO: static-libs 64bit-index
+IUSE="lapacke deprecated doc eselect-ldso test"
+RESTRICT="!test? ( test )"
+
+BDEPEND="virtual/pkgconfig"
+RDEPEND="
+   !app-eselect/eselect-cblas
+   virtual/fortran
+   eselect-ldso? (
+   >=app-eselect/eselect-blas-0.2
+   >=app-eselect/eselect-lapack-0.2
+   )
+   doc? ( app-doc/blas-docs )"
+DEPEND="${RDEPEND}"
+
+PATCHES=(
+   #"${FILESDIR}"/${PN}-3.9.0-build-tests.patch
+)
+
+src_configure() {
+   local mycmakeargs=(
+   -DCBLAS=ON
+   -DLAPACKE=$(usex lapacke)
+   -DBUILD_DEPRECATED=$(usex deprecated)
+   -DBUILD_SHARED_LIBS=ON
+   -DBUILD_TESTING=$(usex test)
+   )
+
+   cmake_src_configure
+}
+
+src_install() {
+   cmake_src_install
+
+   use eselect-ldso || return
+   # Create private lib directory for eselect::blas (ld.so.conf)
+   dodir /usr/$(get_libdir)/blas/reference
+   dosym ../../libblas.so usr/$(get_libdir)/blas/reference/libblas.so
+   dosym ../../libblas.so.3 usr/$(get_libdir)/blas/reference/libblas.so.3
+   dosym ../../libcblas.so usr/$(get_libdir)/blas/reference/libcblas.so
+   dosym ../../libcblas.so.3 usr/$(get_libdir)/blas/reference/libcblas.so.3
+
+   # Create private lib directory for eselect::lapack (ld.so.conf)
+   dodir /usr/$(get_libdir)/lapack/reference
+   dosym ../../liblapack.so usr/$(get_libdir)/lapack/reference/liblapack.so
+   dosym ../../liblapack.so.3 
usr/$(get_libdir)/lapack/reference/liblapack.so.3
+}
+
+pkg_postinst() {
+   use eselect-ldso || return
+
+   local me=reference libdir=$(get_libdir)
+   # check eselect-blas
+   eselect blas add ${libdir} "${EROOT}"/usr/${libdir}/blas/${me} ${me}
+   local current_blas=$(eselect blas show ${libdir} | cut -d' ' -f2)
+   if [[ ${current_blas} == ${me} || -z ${current_blas} ]]; then
+   eselect blas set ${libdir} ${me}
+   elog "Current eselect: BLAS ($libdir) -> [${current_blas}]."
+   else
+   elog "Current eselect: BLAS ($libdir) -> [${current_blas}]."
+   elog "To use blas [${me}] implementation, you have to issue (as 
root):"
+   elog "\t eselect blas set ${libdir} ${me}"
+   fi
+
+   # check eselect-lapack
+   eselect lapack add ${libdir} "${EROOT}"/usr/${libdir}/lapack/${me} ${me}
+   local current_lapack=$(eselect lapack show ${libdir} | cut -d' ' -f2)
+   if [[ ${current_lapack} == ${me} || -z ${current_lapack} ]]; then
+   eselect lapack set ${libdir} ${me}
+   elog "Current eselect: LAPACK ($libdir) -> [${current_lapack}]."
+   else
+   elog "Current eselect: LAPACK ($libdir) -> [${current_lapack}]."
+   elog "To use lapack [${me}] implementation, you have to issue 
(as root):"
+   elog "\t eselect lapack set ${libdir} ${me}"
+   fi

[gentoo-commits] repo/gentoo:master commit in: sci-libs/lapack/files/, sci-libs/lapack/

2022-04-12 Thread Sam James
commit: 0111bb49b8cf78873580aa187ecfc224711b3b7a
Author: Sam James  gentoo  org>
AuthorDate: Wed Apr 13 00:52:41 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Apr 13 00:52:50 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0111bb49

sci-libs/lapack: cleanup obsolete patch

Signed-off-by: Sam James  gentoo.org>

 sci-libs/lapack/files/lapack-3.9.0-build-tests.patch | 20 
 sci-libs/lapack/lapack-3.10.0.ebuild |  4 
 sci-libs/lapack/lapack-3.10.1.ebuild |  4 
 3 files changed, 28 deletions(-)

diff --git a/sci-libs/lapack/files/lapack-3.9.0-build-tests.patch 
b/sci-libs/lapack/files/lapack-3.9.0-build-tests.patch
deleted file mode 100644
index 1dbcd6d9f677..
--- a/sci-libs/lapack/files/lapack-3.9.0-build-tests.patch
+++ /dev/null
@@ -1,20 +0,0 @@
-diff --git a/CMakeLists.txt b/CMakeLists.txt
-index d9dbf97..9635ba4 100644
 a/CMakeLists.txt
-+++ b/CMakeLists.txt
-@@ -127,7 +127,7 @@ set(PKG_CONFIG_DIR ${CMAKE_INSTALL_LIBDIR}/pkgconfig)
- 
- # --
- # Testing
--option(BUILD_TESTING "Build tests" ${_is_coverage_build})
-+option(BUILD_TESTING "Build tests")
- include(CTest)
- message(STATUS "Build tests: ${BUILD_TESTING}")
- 
-@@ -443,4 +443,4 @@ install(FILES
-   DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/lapack-${LAPACK_VERSION}
-   COMPONENT Development
-   )
--  
-\ No newline at end of file
-+  

diff --git a/sci-libs/lapack/lapack-3.10.0.ebuild 
b/sci-libs/lapack/lapack-3.10.0.ebuild
index af0b1bcc0c31..c42b60080848 100644
--- a/sci-libs/lapack/lapack-3.10.0.ebuild
+++ b/sci-libs/lapack/lapack-3.10.0.ebuild
@@ -27,10 +27,6 @@ RDEPEND="
doc? ( app-doc/blas-docs )"
 DEPEND="${RDEPEND}"
 
-PATCHES=(
-   #"${FILESDIR}"/${PN}-3.9.0-build-tests.patch
-)
-
 src_prepare() {
cmake_src_prepare
 }

diff --git a/sci-libs/lapack/lapack-3.10.1.ebuild 
b/sci-libs/lapack/lapack-3.10.1.ebuild
index 4e1b7520afee..962b68b1d175 100644
--- a/sci-libs/lapack/lapack-3.10.1.ebuild
+++ b/sci-libs/lapack/lapack-3.10.1.ebuild
@@ -27,10 +27,6 @@ RDEPEND="
doc? ( app-doc/blas-docs )"
 DEPEND="${RDEPEND}"
 
-PATCHES=(
-   #"${FILESDIR}"/${PN}-3.9.0-build-tests.patch
-)
-
 src_configure() {
local mycmakeargs=(
-DCBLAS=ON



[gentoo-commits] repo/gentoo:master commit in: sci-libs/lapack/files/

2021-12-12 Thread Conrad Kostecki
commit: 59b7836daf5ebba590bc37b362792bbefa8bb674
Author: Michael Mair-Keimberger  levelnine  at>
AuthorDate: Sun Dec 12 13:24:59 2021 +
Commit: Conrad Kostecki  gentoo  org>
CommitDate: Sun Dec 12 19:37:06 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=59b7836d

sci-libs/lapack: remove unused patch

Closes: https://github.com/gentoo/gentoo/pull/23267
Package-Manager: Portage-3.0.29, Repoman-3.0.3
Signed-off-by: Michael Mair-Keimberger  levelnine.at>
Signed-off-by: Conrad Kostecki  gentoo.org>

 .../files/lapack-3.9.0-deprecated-headers.patch| 141 -
 1 file changed, 141 deletions(-)

diff --git a/sci-libs/lapack/files/lapack-3.9.0-deprecated-headers.patch 
b/sci-libs/lapack/files/lapack-3.9.0-deprecated-headers.patch
deleted file mode 100644
index 9b3fd93789ec..
--- a/sci-libs/lapack/files/lapack-3.9.0-deprecated-headers.patch
+++ /dev/null
@@ -1,141 +0,0 @@
-https://sources.debian.org/patches/lapack/3.9.0-3/missing-lapacke-prototypes.patch/
-https://github.com/Reference-LAPACK/lapack/issues/365
-
-From 87536aa3c8bb0af00f66088fb6ac05d87509e011 Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?S=C3=A9bastien=20Villemot?= 
-Date: Sat, 23 Nov 2019 12:22:20 +0100
-Subject: [PATCH] Restore missing prototypes for deprecated LAPACK functions
-
-Some LAPACK functions prototypes were inadvertedly dropped in 3.9.0. As a
-consequence, LAPACKE has several unresolved symbols.
-
-Closes #365

- LAPACKE/include/lapack.h | 100 +++
- 1 file changed, 100 insertions(+)
-
-diff --git a/LAPACKE/include/lapack.h b/LAPACKE/include/lapack.h
-index 3f425325f..5c131d844 100644
 a/LAPACKE/include/lapack.h
-+++ b/LAPACKE/include/lapack.h
-@@ -1842,6 +1842,28 @@ void LAPACK_zgeqlf(
- lapack_complex_double* work, lapack_int const* lwork,
- lapack_int* info );
- 
-+#define LAPACK_sgeqpf LAPACK_GLOBAL(sgeqpf,SGEQPF)
-+void LAPACK_sgeqpf( lapack_int* m, lapack_int* n, float* a, lapack_int* lda,
-+lapack_int* jpvt, float* tau, float* work,
-+lapack_int *info );
-+
-+#define LAPACK_dgeqpf LAPACK_GLOBAL(dgeqpf,DGEQPF)
-+void LAPACK_dgeqpf( lapack_int* m, lapack_int* n, double* a, lapack_int* lda,
-+lapack_int* jpvt, double* tau, double* work,
-+lapack_int *info );
-+
-+#define LAPACK_cgeqpf LAPACK_GLOBAL(cgeqpf,CGEQPF)
-+void LAPACK_cgeqpf( lapack_int* m, lapack_int* n, lapack_complex_float* a,
-+lapack_int* lda, lapack_int* jpvt,
-+lapack_complex_float* tau, lapack_complex_float* work,
-+float* rwork, lapack_int *info );
-+
-+#define LAPACK_zgeqpf LAPACK_GLOBAL(zgeqpf,ZGEQPF)
-+void LAPACK_zgeqpf( lapack_int* m, lapack_int* n, lapack_complex_double* a,
-+lapack_int* lda, lapack_int* jpvt,
-+lapack_complex_double* tau, lapack_complex_double* work,
-+double* rwork, lapack_int *info );
-+
- #define LAPACK_cgeqp3 LAPACK_GLOBAL(cgeqp3,CGEQP3)
- void LAPACK_cgeqp3(
- lapack_int const* m, lapack_int const* n,
-@@ -3617,6 +3639,47 @@ void LAPACK_zggrqf(
- lapack_complex_double* work, lapack_int const* lwork,
- lapack_int* info );
- 
-+#define LAPACK_sggsvd LAPACK_GLOBAL(sggsvd,SGGSVD)
-+lapack_int LAPACKE_sggsvd( int matrix_layout, char jobu, char jobv, char jobq,
-+   lapack_int m, lapack_int n, lapack_int p,
-+   lapack_int* k, lapack_int* l, float* a,
-+   lapack_int lda, float* b, lapack_int ldb,
-+   float* alpha, float* beta, float* u, lapack_int 
ldu,
-+   float* v, lapack_int ldv, float* q, lapack_int ldq,
-+   lapack_int* iwork );
-+
-+#define LAPACK_dggsvd LAPACK_GLOBAL(dggsvd,DGGSVD)
-+lapack_int LAPACKE_dggsvd( int matrix_layout, char jobu, char jobv, char jobq,
-+   lapack_int m, lapack_int n, lapack_int p,
-+   lapack_int* k, lapack_int* l, double* a,
-+   lapack_int lda, double* b, lapack_int ldb,
-+   double* alpha, double* beta, double* u,
-+   lapack_int ldu, double* v, lapack_int ldv, double* 
q,
-+   lapack_int ldq, lapack_int* iwork );
-+
-+#define LAPACK_cggsvd LAPACK_GLOBAL(cggsvd,CGGSVD)
-+lapack_int LAPACKE_cggsvd( int matrix_layout, char jobu, char jobv, char jobq,
-+   lapack_int m, lapack_int n, lapack_int p,
-+   lapack_int* k, lapack_int* l,
-+   lapack_complex_float* a, lapack_int lda,
-+   lapack_complex_float* b, lapack_int ldb,
-+   float* alpha, float* beta, lapack_complex_float* u,
-+   lapack_int ldu, lapack_complex_float* v,
-+   

[gentoo-commits] repo/gentoo:master commit in: sci-libs/lapack/

2021-12-02 Thread Andreas Sturmlechner
commit: af8488e8d727c6c54063ea88be14c5e103bbd539
Author: Andreas Sturmlechner  gentoo  org>
AuthorDate: Thu Dec  2 08:31:20 2021 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Thu Dec  2 10:18:16 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=af8488e8

sci-libs/lapack: Drop 3.8.0 and 3.9.0-r1

Closes: https://bugs.gentoo.org/733580
Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Andreas Sturmlechner  gentoo.org>

 sci-libs/lapack/Manifest   |   2 -
 sci-libs/lapack/lapack-3.8.0.ebuild|  87 
 sci-libs/lapack/lapack-3.9.0-r1.ebuild | 103 -
 3 files changed, 192 deletions(-)

diff --git a/sci-libs/lapack/Manifest b/sci-libs/lapack/Manifest
index 1d88a37baad9..8893992e088c 100644
--- a/sci-libs/lapack/Manifest
+++ b/sci-libs/lapack/Manifest
@@ -1,3 +1 @@
 DIST lapack-3.10.0.tar.gz 7630775 BLAKE2B 
fd2f920dd3f69eab471aa8c20d1b8178fb5c6e80337a2ed6948aba3ec639a816f8d368bb59ff6fb513b2f5cda9e61c2a547182f22fbc84a8c34191acefc3406a
 SHA512 
56055000c241bab8f318ebd79249ea012c33be0c4c3eca6a78e247f35ad9e8088f46605a0ba52fd5ad3e7898be3b7bc6c50ceb3af327c4986a266b06fe768cbf
-DIST lapack-3.8.0.tar.gz 7426094 BLAKE2B 
27cd75eea498250382b2df6f5d7dc95fdee8d37b1a0faba5296ca0145ec40a1165a4ecc727aa1647086be6783b50cf475f79cea0f30f541da789051db99b2f37
 SHA512 
17786cb7306fccdc9b4a242de7f64fc261ebe6a10b6ec55f519deb4cb673cb137e8742aa5698fd2dc52f1cd56d3bd116af3f593a01dcf6770c4dcc86c50b2a7f
-DIST lapack-3.9.0.tar.gz 7534567 BLAKE2B 
408013a11a72e0262d144adfdf6db28a6efa3bb5446f9ff959bb88fe10459dfa621149ed0144630a55e73e3b5be3c704269a716eb195f6db7b39d345b4db8270
 SHA512 
424956ad941a60a4b71e0d451ad48db12a692f8a71a90f3ca7f71d6ecc1922f392746ea84df1c47a46577ed2db32e9e47ec44ad248207c5ac7da179becb712ef

diff --git a/sci-libs/lapack/lapack-3.8.0.ebuild 
b/sci-libs/lapack/lapack-3.8.0.ebuild
deleted file mode 100644
index 72b89dba3ea2..
--- a/sci-libs/lapack/lapack-3.8.0.ebuild
+++ /dev/null
@@ -1,87 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-CMAKE_MAKEFILE_GENERATOR=emake
-inherit cmake-utils
-
-DESCRIPTION="BLAS,CBLAS,LAPACK,LAPACKE reference implementations"
-HOMEPAGE="https://www.netlib.org/lapack/;
-SRC_URI="https://www.netlib.org/${PN}/${P}.tar.gz;
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 ~s390 sparc x86 
~amd64-linux ~x86-linux ~ppc-macos ~x64-macos"
-IUSE="lapacke doc eselect-ldso"
-# TODO: static-libs 64bit-index
-
-RDEPEND="
-   eselect-ldso? ( >=app-eselect/eselect-blas-0.2
-   >=app-eselect/eselect-lapack-0.2 )
-   !app-eselect/eselect-cblas
-   virtual/fortran
-   doc? ( app-doc/blas-docs )"
-DEPEND="${RDEPEND}
-   virtual/pkgconfig"
-
-src_configure() {
-   local mycmakeargs=(
-   -DCBLAS=ON
-   -DLAPACKE=$(usex lapacke)
-   -DBUILD_SHARED_LIBS=ON
-   )
-   cmake-utils_src_configure
-}
-
-src_install() {
-   cmake-utils_src_install
-
-   use eselect-ldso || return
-   # Create private lib directory for eselect::blas (ld.so.conf)
-   dodir /usr/$(get_libdir)/blas/reference
-   dosym ../../libblas.so usr/$(get_libdir)/blas/reference/libblas.so
-   dosym ../../libblas.so.3 usr/$(get_libdir)/blas/reference/libblas.so.3
-   dosym ../../libcblas.so usr/$(get_libdir)/blas/reference/libcblas.so
-   dosym ../../libcblas.so.3 usr/$(get_libdir)/blas/reference/libcblas.so.3
-
-   # Create private lib directory for eselect::lapack (ld.so.conf)
-   dodir /usr/$(get_libdir)/lapack/reference
-   dosym ../../liblapack.so usr/$(get_libdir)/lapack/reference/liblapack.so
-   dosym ../../liblapack.so.3 
usr/$(get_libdir)/lapack/reference/liblapack.so.3
-}
-
-pkg_postinst() {
-   use eselect-ldso || return
-
-   local me=reference libdir=$(get_libdir)
-   # check eselect-blas
-   eselect blas add ${libdir} "${EROOT}"/usr/${libdir}/blas/${me} ${me}
-   local current_blas=$(eselect blas show ${libdir} | cut -d' ' -f2)
-   if [[ ${current_blas} == ${me} || -z ${current_blas} ]]; then
-   eselect blas set ${libdir} ${me}
-   elog "Current eselect: BLAS ($libdir) -> [${current_blas}]."
-   else
-   elog "Current eselect: BLAS ($libdir) -> [${current_blas}]."
-   elog "To use blas [${me}] implementation, you have to issue (as 
root):"
-   elog "\t eselect blas set ${libdir} ${me}"
-   fi
-
-   # check eselect-lapack
-   eselect lapack add ${libdir} "${EROOT}"/usr/${libdir}/lapack/${me} ${me}
-   local current_lapack=$(eselect lapack show ${libdir} | cut -d' ' -f2)
-   if [[ ${current_lapack} == ${me} || -z ${current_lapack} ]]; then
-   eselect lapack set ${libdir} ${me}
-   elog "Current eselect: LAPACK ($libdir) -> 

[gentoo-commits] repo/gentoo:master commit in: sci-libs/lapack/

2021-12-02 Thread Arthur Zamarin
commit: 4974591e9e384473b70fd83a0e4ae3106212979b
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Thu Dec  2 08:27:06 2021 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Thu Dec  2 08:27:35 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4974591e

sci-libs/lapack: Stabilize 3.10.0 x86, #733580

Signed-off-by: Arthur Zamarin  gentoo.org>

 sci-libs/lapack/lapack-3.10.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-libs/lapack/lapack-3.10.0.ebuild 
b/sci-libs/lapack/lapack-3.10.0.ebuild
index 7bab916feb11..af0b1bcc0c31 100644
--- a/sci-libs/lapack/lapack-3.10.0.ebuild
+++ b/sci-libs/lapack/lapack-3.10.0.ebuild
@@ -11,7 +11,7 @@ 
SRC_URI="https://github.com/Reference-LAPACK/lapack/archive/v${PV}.tar.gz -> ${P
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 ~riscv ~s390 sparc 
~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos"
+KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 ~riscv ~s390 sparc 
x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos"
 # TODO: static-libs 64bit-index
 IUSE="lapacke deprecated doc eselect-ldso test"
 RESTRICT="!test? ( test )"



[gentoo-commits] repo/gentoo:master commit in: sci-libs/lapack/

2021-12-02 Thread Agostino Sarubbo
commit: cb1a9fe5e734e327640f8ec56e37d2b466f30397
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Thu Dec  2 08:24:07 2021 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Thu Dec  2 08:24:07 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cb1a9fe5

sci-libs/lapack: amd64 stable wrt bug #733580

Package-Manager: Portage-3.0.20, Repoman-3.0.3
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 sci-libs/lapack/lapack-3.10.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-libs/lapack/lapack-3.10.0.ebuild 
b/sci-libs/lapack/lapack-3.10.0.ebuild
index 39d9330f1f6b..7bab916feb11 100644
--- a/sci-libs/lapack/lapack-3.10.0.ebuild
+++ b/sci-libs/lapack/lapack-3.10.0.ebuild
@@ -11,7 +11,7 @@ 
SRC_URI="https://github.com/Reference-LAPACK/lapack/archive/v${PV}.tar.gz -> ${P
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 ~riscv ~s390 
sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos"
+KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 ~riscv ~s390 sparc 
~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos"
 # TODO: static-libs 64bit-index
 IUSE="lapacke deprecated doc eselect-ldso test"
 RESTRICT="!test? ( test )"



[gentoo-commits] repo/gentoo:master commit in: sci-libs/lapack/

2021-12-01 Thread Sam James
commit: 8f7a6af43ecb608e7a8b3209ef522e103d5f5e9a
Author: Sam James  gentoo  org>
AuthorDate: Thu Dec  2 00:59:26 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Dec  2 00:59:26 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8f7a6af4

sci-libs/lapack: Stabilize 3.10.0 hppa, #733580

Signed-off-by: Sam James  gentoo.org>

 sci-libs/lapack/lapack-3.10.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-libs/lapack/lapack-3.10.0.ebuild 
b/sci-libs/lapack/lapack-3.10.0.ebuild
index 50b2d3a7396b..39d9330f1f6b 100644
--- a/sci-libs/lapack/lapack-3.10.0.ebuild
+++ b/sci-libs/lapack/lapack-3.10.0.ebuild
@@ -11,7 +11,7 @@ 
SRC_URI="https://github.com/Reference-LAPACK/lapack/archive/v${PV}.tar.gz -> ${P
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv ~s390 
sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos"
+KEYWORDS="~alpha ~amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 ~riscv ~s390 
sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos"
 # TODO: static-libs 64bit-index
 IUSE="lapacke deprecated doc eselect-ldso test"
 RESTRICT="!test? ( test )"



[gentoo-commits] repo/gentoo:master commit in: sci-libs/lapack/

2021-12-01 Thread Arthur Zamarin
commit: c565ee91b32066edd4d9a9156d1d1880231371e5
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Wed Dec  1 19:45:27 2021 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Wed Dec  1 19:45:41 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c565ee91

sci-libs/lapack: Stabilize 3.10.0 arm64, #733580

Signed-off-by: Arthur Zamarin  gentoo.org>

 sci-libs/lapack/lapack-3.10.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-libs/lapack/lapack-3.10.0.ebuild 
b/sci-libs/lapack/lapack-3.10.0.ebuild
index bbe305bd3302..19318f0ad00f 100644
--- a/sci-libs/lapack/lapack-3.10.0.ebuild
+++ b/sci-libs/lapack/lapack-3.10.0.ebuild
@@ -11,7 +11,7 @@ 
SRC_URI="https://github.com/Reference-LAPACK/lapack/archive/v${PV}.tar.gz -> ${P
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 
sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos"
+KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 
sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos"
 # TODO: static-libs 64bit-index
 IUSE="lapacke deprecated doc eselect-ldso test"
 RESTRICT="!test? ( test )"



[gentoo-commits] repo/gentoo:master commit in: sci-libs/lapack/

2021-12-01 Thread Arthur Zamarin
commit: f8e69cf53efc2b3b7c9c8393287594f71e5bb552
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Wed Dec  1 19:45:31 2021 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Wed Dec  1 19:45:42 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f8e69cf5

sci-libs/lapack: Stabilize 3.10.0 ppc, #733580

Signed-off-by: Arthur Zamarin  gentoo.org>

 sci-libs/lapack/lapack-3.10.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-libs/lapack/lapack-3.10.0.ebuild 
b/sci-libs/lapack/lapack-3.10.0.ebuild
index 19318f0ad00f..c4478c2ee2d3 100644
--- a/sci-libs/lapack/lapack-3.10.0.ebuild
+++ b/sci-libs/lapack/lapack-3.10.0.ebuild
@@ -11,7 +11,7 @@ 
SRC_URI="https://github.com/Reference-LAPACK/lapack/archive/v${PV}.tar.gz -> ${P
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 
sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos"
+KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~mips ppc ~ppc64 ~riscv ~s390 
sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos"
 # TODO: static-libs 64bit-index
 IUSE="lapacke deprecated doc eselect-ldso test"
 RESTRICT="!test? ( test )"



[gentoo-commits] repo/gentoo:master commit in: sci-libs/lapack/

2021-12-01 Thread Arthur Zamarin
commit: 3980f278d9ddee48f71c6ea5a23e3e9d40b77bb8
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Wed Dec  1 19:45:34 2021 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Wed Dec  1 19:45:43 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3980f278

sci-libs/lapack: Stabilize 3.10.0 ppc64, #733580

Signed-off-by: Arthur Zamarin  gentoo.org>

 sci-libs/lapack/lapack-3.10.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-libs/lapack/lapack-3.10.0.ebuild 
b/sci-libs/lapack/lapack-3.10.0.ebuild
index c4478c2ee2d3..50b2d3a7396b 100644
--- a/sci-libs/lapack/lapack-3.10.0.ebuild
+++ b/sci-libs/lapack/lapack-3.10.0.ebuild
@@ -11,7 +11,7 @@ 
SRC_URI="https://github.com/Reference-LAPACK/lapack/archive/v${PV}.tar.gz -> ${P
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~mips ppc ~ppc64 ~riscv ~s390 
sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos"
+KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv ~s390 
sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos"
 # TODO: static-libs 64bit-index
 IUSE="lapacke deprecated doc eselect-ldso test"
 RESTRICT="!test? ( test )"



[gentoo-commits] repo/gentoo:master commit in: sci-libs/lapack/

2021-12-01 Thread Arthur Zamarin
commit: e13d65efd1540da2771a0d079e8d67bd5da6f002
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Wed Dec  1 19:45:21 2021 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Wed Dec  1 19:45:39 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e13d65ef

sci-libs/lapack: Stabilize 3.10.0 sparc, #733580

Signed-off-by: Arthur Zamarin  gentoo.org>

 sci-libs/lapack/lapack-3.10.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-libs/lapack/lapack-3.10.0.ebuild 
b/sci-libs/lapack/lapack-3.10.0.ebuild
index 549450e21345..95b9875fc717 100644
--- a/sci-libs/lapack/lapack-3.10.0.ebuild
+++ b/sci-libs/lapack/lapack-3.10.0.ebuild
@@ -11,7 +11,7 @@ 
SRC_URI="https://github.com/Reference-LAPACK/lapack/archive/v${PV}.tar.gz -> ${P
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 
~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 
sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos"
 # TODO: static-libs 64bit-index
 IUSE="lapacke deprecated doc eselect-ldso test"
 RESTRICT="!test? ( test )"



[gentoo-commits] repo/gentoo:master commit in: sci-libs/lapack/

2021-12-01 Thread Arthur Zamarin
commit: b254f2522c104a9d22bf5099908ab66e3c4c3b99
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Wed Dec  1 19:45:24 2021 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Wed Dec  1 19:45:40 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b254f252

sci-libs/lapack: Stabilize 3.10.0 arm, #733580

Signed-off-by: Arthur Zamarin  gentoo.org>

 sci-libs/lapack/lapack-3.10.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-libs/lapack/lapack-3.10.0.ebuild 
b/sci-libs/lapack/lapack-3.10.0.ebuild
index 95b9875fc717..bbe305bd3302 100644
--- a/sci-libs/lapack/lapack-3.10.0.ebuild
+++ b/sci-libs/lapack/lapack-3.10.0.ebuild
@@ -11,7 +11,7 @@ 
SRC_URI="https://github.com/Reference-LAPACK/lapack/archive/v${PV}.tar.gz -> ${P
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 
sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos"
+KEYWORDS="~alpha ~amd64 arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 
sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos"
 # TODO: static-libs 64bit-index
 IUSE="lapacke deprecated doc eselect-ldso test"
 RESTRICT="!test? ( test )"



[gentoo-commits] repo/gentoo:master commit in: sci-libs/lapack/

2021-11-30 Thread Andreas Sturmlechner
commit: f5c48ef2abab143c6076c05404464cfac9f0f813
Author: Andreas Sturmlechner  gentoo  org>
AuthorDate: Mon Nov 29 15:22:27 2021 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Tue Nov 30 13:29:54 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f5c48ef2

sci-libs/lapack: Drop 3.8.0-r1

Bug: https://bugs.gentoo.org/733580
Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Andreas Sturmlechner  gentoo.org>

 sci-libs/lapack/lapack-3.8.0-r1.ebuild | 88 --
 1 file changed, 88 deletions(-)

diff --git a/sci-libs/lapack/lapack-3.8.0-r1.ebuild 
b/sci-libs/lapack/lapack-3.8.0-r1.ebuild
deleted file mode 100644
index d97667a141d8..
--- a/sci-libs/lapack/lapack-3.8.0-r1.ebuild
+++ /dev/null
@@ -1,88 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-CMAKE_MAKEFILE_GENERATOR=emake
-inherit cmake-utils
-
-DESCRIPTION="BLAS,CBLAS,LAPACK,LAPACKE reference implementations"
-HOMEPAGE="https://www.netlib.org/lapack/;
-SRC_URI="https://www.netlib.org/${PN}/${P}.tar.gz;
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~s390 sparc x86 
~amd64-linux ~x86-linux ~ppc-macos ~x64-macos"
-IUSE="lapacke deprecated doc eselect-ldso"
-# TODO: static-libs 64bit-index
-
-RDEPEND="
-   eselect-ldso? ( >=app-eselect/eselect-blas-0.2
-   >=app-eselect/eselect-lapack-0.2 )
-   !app-eselect/eselect-cblas
-   virtual/fortran
-   doc? ( app-doc/blas-docs )"
-DEPEND="${RDEPEND}
-   virtual/pkgconfig"
-
-src_configure() {
-   local mycmakeargs=(
-   -DCBLAS=ON
-   -DLAPACKE=$(usex lapacke)
-   -DBUILD_DEPRECATED=$(usex deprecated)
-   -DBUILD_SHARED_LIBS=ON
-   )
-   cmake-utils_src_configure
-}
-
-src_install() {
-   cmake-utils_src_install
-
-   use eselect-ldso || return
-   # Create private lib directory for eselect::blas (ld.so.conf)
-   dodir /usr/$(get_libdir)/blas/reference
-   dosym ../../libblas.so usr/$(get_libdir)/blas/reference/libblas.so
-   dosym ../../libblas.so.3 usr/$(get_libdir)/blas/reference/libblas.so.3
-   dosym ../../libcblas.so usr/$(get_libdir)/blas/reference/libcblas.so
-   dosym ../../libcblas.so.3 usr/$(get_libdir)/blas/reference/libcblas.so.3
-
-   # Create private lib directory for eselect::lapack (ld.so.conf)
-   dodir /usr/$(get_libdir)/lapack/reference
-   dosym ../../liblapack.so usr/$(get_libdir)/lapack/reference/liblapack.so
-   dosym ../../liblapack.so.3 
usr/$(get_libdir)/lapack/reference/liblapack.so.3
-}
-
-pkg_postinst() {
-   use eselect-ldso || return
-
-   local me=reference libdir=$(get_libdir)
-   # check eselect-blas
-   eselect blas add ${libdir} "${EROOT}"/usr/${libdir}/blas/${me} ${me}
-   local current_blas=$(eselect blas show ${libdir} | cut -d' ' -f2)
-   if [[ ${current_blas} == ${me} || -z ${current_blas} ]]; then
-   eselect blas set ${libdir} ${me}
-   elog "Current eselect: BLAS ($libdir) -> [${current_blas}]."
-   else
-   elog "Current eselect: BLAS ($libdir) -> [${current_blas}]."
-   elog "To use blas [${me}] implementation, you have to issue (as 
root):"
-   elog "\t eselect blas set ${libdir} ${me}"
-   fi
-
-   # check eselect-lapack
-   eselect lapack add ${libdir} "${EROOT}"/usr/${libdir}/lapack/${me} ${me}
-   local current_lapack=$(eselect lapack show ${libdir} | cut -d' ' -f2)
-   if [[ ${current_lapack} == ${me} || -z ${current_lapack} ]]; then
-   eselect lapack set ${libdir} ${me}
-   elog "Current eselect: LAPACK ($libdir) -> [${current_lapack}]."
-   else
-   elog "Current eselect: LAPACK ($libdir) -> [${current_lapack}]."
-   elog "To use lapack [${me}] implementation, you have to issue 
(as root):"
-   elog "\t eselect lapack set ${libdir} ${me}"
-   fi
-}
-
-pkg_postrm() {
-   use eselect-ldso || return
-
-   eselect blas validate
-   eselect lapack validate
-}



[gentoo-commits] repo/gentoo:master commit in: sci-libs/lapack/

2021-07-01 Thread Marek Szuba
commit: 4efdacda9e798af2706fa146013cece4032203ce
Author: Marek Szuba  gentoo  org>
AuthorDate: Thu Jul  1 20:48:58 2021 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Thu Jul  1 22:40:46 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4efdacda

sci-libs/lapack: keyword 3.10.0 for ~riscv

Signed-off-by: Marek Szuba  gentoo.org>

 sci-libs/lapack/lapack-3.10.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-libs/lapack/lapack-3.10.0.ebuild 
b/sci-libs/lapack/lapack-3.10.0.ebuild
index baa91f48412..549450e2134 100644
--- a/sci-libs/lapack/lapack-3.10.0.ebuild
+++ b/sci-libs/lapack/lapack-3.10.0.ebuild
@@ -11,7 +11,7 @@ 
SRC_URI="https://github.com/Reference-LAPACK/lapack/archive/v${PV}.tar.gz -> ${P
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc 
~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 
~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos"
 # TODO: static-libs 64bit-index
 IUSE="lapacke deprecated doc eselect-ldso test"
 RESTRICT="!test? ( test )"



[gentoo-commits] repo/gentoo:master commit in: sci-libs/lapack/

2021-06-29 Thread Sam James
commit: aede02aa1c93414d4d7b8f313eb5fa3419b46e1a
Author: Sam James  gentoo  org>
AuthorDate: Tue Jun 29 05:16:06 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Jun 29 06:01:54 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aede02aa

sci-libs/lapack: add 3.10.0

Signed-off-by: Sam James  gentoo.org>

 sci-libs/lapack/Manifest |   1 +
 sci-libs/lapack/lapack-3.10.0.ebuild | 101 +++
 2 files changed, 102 insertions(+)

diff --git a/sci-libs/lapack/Manifest b/sci-libs/lapack/Manifest
index 91b589d6e02..1d88a37baad 100644
--- a/sci-libs/lapack/Manifest
+++ b/sci-libs/lapack/Manifest
@@ -1,2 +1,3 @@
+DIST lapack-3.10.0.tar.gz 7630775 BLAKE2B 
fd2f920dd3f69eab471aa8c20d1b8178fb5c6e80337a2ed6948aba3ec639a816f8d368bb59ff6fb513b2f5cda9e61c2a547182f22fbc84a8c34191acefc3406a
 SHA512 
56055000c241bab8f318ebd79249ea012c33be0c4c3eca6a78e247f35ad9e8088f46605a0ba52fd5ad3e7898be3b7bc6c50ceb3af327c4986a266b06fe768cbf
 DIST lapack-3.8.0.tar.gz 7426094 BLAKE2B 
27cd75eea498250382b2df6f5d7dc95fdee8d37b1a0faba5296ca0145ec40a1165a4ecc727aa1647086be6783b50cf475f79cea0f30f541da789051db99b2f37
 SHA512 
17786cb7306fccdc9b4a242de7f64fc261ebe6a10b6ec55f519deb4cb673cb137e8742aa5698fd2dc52f1cd56d3bd116af3f593a01dcf6770c4dcc86c50b2a7f
 DIST lapack-3.9.0.tar.gz 7534567 BLAKE2B 
408013a11a72e0262d144adfdf6db28a6efa3bb5446f9ff959bb88fe10459dfa621149ed0144630a55e73e3b5be3c704269a716eb195f6db7b39d345b4db8270
 SHA512 
424956ad941a60a4b71e0d451ad48db12a692f8a71a90f3ca7f71d6ecc1922f392746ea84df1c47a46577ed2db32e9e47ec44ad248207c5ac7da179becb712ef

diff --git a/sci-libs/lapack/lapack-3.10.0.ebuild 
b/sci-libs/lapack/lapack-3.10.0.ebuild
new file mode 100644
index 000..baa91f48412
--- /dev/null
+++ b/sci-libs/lapack/lapack-3.10.0.ebuild
@@ -0,0 +1,101 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit cmake
+
+DESCRIPTION="BLAS,CBLAS,LAPACK,LAPACKE reference implementations"
+HOMEPAGE="https://www.netlib.org/lapack/;
+SRC_URI="https://github.com/Reference-LAPACK/lapack/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc 
~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos"
+# TODO: static-libs 64bit-index
+IUSE="lapacke deprecated doc eselect-ldso test"
+RESTRICT="!test? ( test )"
+
+BDEPEND="virtual/pkgconfig"
+RDEPEND="
+   !app-eselect/eselect-cblas
+   virtual/fortran
+   eselect-ldso? (
+   >=app-eselect/eselect-blas-0.2
+   >=app-eselect/eselect-lapack-0.2
+   )
+   doc? ( app-doc/blas-docs )"
+DEPEND="${RDEPEND}"
+
+PATCHES=(
+   #"${FILESDIR}"/${PN}-3.9.0-build-tests.patch
+)
+
+src_prepare() {
+   cmake_src_prepare
+}
+
+src_configure() {
+   local mycmakeargs=(
+   -DCBLAS=ON
+   -DLAPACKE=$(usex lapacke)
+   -DBUILD_DEPRECATED=$(usex deprecated)
+   -DBUILD_SHARED_LIBS=ON
+   -DBUILD_TESTING=$(usex test)
+   )
+
+   cmake_src_configure
+}
+
+src_install() {
+   cmake_src_install
+
+   use eselect-ldso || return
+   # Create private lib directory for eselect::blas (ld.so.conf)
+   dodir /usr/$(get_libdir)/blas/reference
+   dosym ../../libblas.so usr/$(get_libdir)/blas/reference/libblas.so
+   dosym ../../libblas.so.3 usr/$(get_libdir)/blas/reference/libblas.so.3
+   dosym ../../libcblas.so usr/$(get_libdir)/blas/reference/libcblas.so
+   dosym ../../libcblas.so.3 usr/$(get_libdir)/blas/reference/libcblas.so.3
+
+   # Create private lib directory for eselect::lapack (ld.so.conf)
+   dodir /usr/$(get_libdir)/lapack/reference
+   dosym ../../liblapack.so usr/$(get_libdir)/lapack/reference/liblapack.so
+   dosym ../../liblapack.so.3 
usr/$(get_libdir)/lapack/reference/liblapack.so.3
+}
+
+pkg_postinst() {
+   use eselect-ldso || return
+
+   local me=reference libdir=$(get_libdir)
+   # check eselect-blas
+   eselect blas add ${libdir} "${EROOT}"/usr/${libdir}/blas/${me} ${me}
+   local current_blas=$(eselect blas show ${libdir} | cut -d' ' -f2)
+   if [[ ${current_blas} == ${me} || -z ${current_blas} ]]; then
+   eselect blas set ${libdir} ${me}
+   elog "Current eselect: BLAS ($libdir) -> [${current_blas}]."
+   else
+   elog "Current eselect: BLAS ($libdir) -> [${current_blas}]."
+   elog "To use blas [${me}] implementation, you have to issue (as 
root):"
+   elog "\t eselect blas set ${libdir} ${me}"
+   fi
+
+   # check eselect-lapack
+   eselect lapack add ${libdir} "${EROOT}"/usr/${libdir}/lapack/${me} ${me}
+   local current_lapack=$(eselect lapack show ${libdir} | cut -d' ' -f2)
+   if [[ ${current_lapack} == ${me} || -z ${current_lapack} ]]; then
+   eselect lapack set 

[gentoo-commits] repo/gentoo:master commit in: sci-libs/lapack/

2021-03-15 Thread Sam James
commit: 5c3c7c9c5af808294e98a840ff4f1497ae7d49dc
Author: Sam James  gentoo  org>
AuthorDate: Mon Mar 15 19:24:19 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Mar 15 19:24:43 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5c3c7c9c

sci-libs/lapack: add github remote-id

Signed-off-by: Sam James  gentoo.org>

 sci-libs/lapack/metadata.xml | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/sci-libs/lapack/metadata.xml b/sci-libs/lapack/metadata.xml
index e4cd26e0166..c5618c37be1 100644
--- a/sci-libs/lapack/metadata.xml
+++ b/sci-libs/lapack/metadata.xml
@@ -28,4 +28,7 @@ This package installs the reference FORTRAN 77 implementation 
from Netlib.
 Enable runtime library switching by
 eselect and ld.so.
   
+  
+Reference-LAPACK/lapack
+  
 



[gentoo-commits] repo/gentoo:master commit in: sci-libs/lapack/

2021-02-06 Thread Sam James
commit: 2279b9fe56f9ed156e11e6a65d6c4cfa803c78e0
Author: Sam James  gentoo  org>
AuthorDate: Sat Feb  6 21:31:38 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Feb  6 21:31:42 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2279b9fe

sci-libs/lapack: minor style change

${P} (for me at least) implies the patch is upstreamed,
which it is.

Bug: https://bugs.gentoo.org/702254
Package-Manager: Portage-3.0.14, Repoman-3.0.2
Signed-off-by: Sam James  gentoo.org>

 sci-libs/lapack/lapack-3.9.0-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-libs/lapack/lapack-3.9.0-r1.ebuild 
b/sci-libs/lapack/lapack-3.9.0-r1.ebuild
index 01d9add8fb4..0686084 100644
--- a/sci-libs/lapack/lapack-3.9.0-r1.ebuild
+++ b/sci-libs/lapack/lapack-3.9.0-r1.ebuild
@@ -28,7 +28,7 @@ RDEPEND="
 DEPEND="${RDEPEND}"
 
 PATCHES=(
-   "${FILESDIR}/${PN}-3.9.0-build-tests.patch"
+   "${FILESDIR}/${P}-build-tests.patch"
 )
 
 src_prepare() {



[gentoo-commits] repo/gentoo:master commit in: sci-libs/lapack/, sci-libs/lapack/files/

2021-02-06 Thread Sam James
commit: 681412c77f8c1d58962f8159eb0cd0f64d70
Author: efferre79  inwind  it>
AuthorDate: Mon Jan 18 10:48:46 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Feb  6 21:29:06 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=681412c7

sci-libs/lapack: add deprecated functions also to 3.9.0

Closes: https://bugs.gentoo.org/702254
Signed-off-by: efferre79  inwind.it>
Signed-off-by: Sam James  gentoo.org>

 .../files/lapack-3.9.0-deprecated-headers.patch| 138 +
 sci-libs/lapack/lapack-3.8.0-r1.ebuild |   4 +-
 sci-libs/lapack/lapack-3.8.0.ebuild|   4 +-
 ...{lapack-3.9.0.ebuild => lapack-3.9.0-r1.ebuild} |  11 +-
 sci-libs/lapack/lapack-3.9.0.ebuild|   2 +-
 5 files changed, 152 insertions(+), 7 deletions(-)

diff --git a/sci-libs/lapack/files/lapack-3.9.0-deprecated-headers.patch 
b/sci-libs/lapack/files/lapack-3.9.0-deprecated-headers.patch
new file mode 100644
index 000..9c0fb4e56e5
--- /dev/null
+++ b/sci-libs/lapack/files/lapack-3.9.0-deprecated-headers.patch
@@ -0,0 +1,138 @@
+From 87536aa3c8bb0af00f66088fb6ac05d87509e011 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?S=C3=A9bastien=20Villemot?= 
+Date: Sat, 23 Nov 2019 12:22:20 +0100
+Subject: [PATCH] Restore missing prototypes for deprecated LAPACK functions
+
+Some LAPACK functions prototypes were inadvertedly dropped in 3.9.0. As a
+consequence, LAPACKE has several unresolved symbols.
+
+Closes #365
+---
+ LAPACKE/include/lapack.h | 100 +++
+ 1 file changed, 100 insertions(+)
+
+diff --git a/LAPACKE/include/lapack.h b/LAPACKE/include/lapack.h
+index 3f425325f..5c131d844 100644
+--- a/LAPACKE/include/lapack.h
 b/LAPACKE/include/lapack.h
+@@ -1842,6 +1842,28 @@ void LAPACK_zgeqlf(
+ lapack_complex_double* work, lapack_int const* lwork,
+ lapack_int* info );
+ 
++#define LAPACK_sgeqpf LAPACK_GLOBAL(sgeqpf,SGEQPF)
++void LAPACK_sgeqpf( lapack_int* m, lapack_int* n, float* a, lapack_int* lda,
++lapack_int* jpvt, float* tau, float* work,
++lapack_int *info );
++
++#define LAPACK_dgeqpf LAPACK_GLOBAL(dgeqpf,DGEQPF)
++void LAPACK_dgeqpf( lapack_int* m, lapack_int* n, double* a, lapack_int* lda,
++lapack_int* jpvt, double* tau, double* work,
++lapack_int *info );
++
++#define LAPACK_cgeqpf LAPACK_GLOBAL(cgeqpf,CGEQPF)
++void LAPACK_cgeqpf( lapack_int* m, lapack_int* n, lapack_complex_float* a,
++lapack_int* lda, lapack_int* jpvt,
++lapack_complex_float* tau, lapack_complex_float* work,
++float* rwork, lapack_int *info );
++
++#define LAPACK_zgeqpf LAPACK_GLOBAL(zgeqpf,ZGEQPF)
++void LAPACK_zgeqpf( lapack_int* m, lapack_int* n, lapack_complex_double* a,
++lapack_int* lda, lapack_int* jpvt,
++lapack_complex_double* tau, lapack_complex_double* work,
++double* rwork, lapack_int *info );
++
+ #define LAPACK_cgeqp3 LAPACK_GLOBAL(cgeqp3,CGEQP3)
+ void LAPACK_cgeqp3(
+ lapack_int const* m, lapack_int const* n,
+@@ -3617,6 +3639,47 @@ void LAPACK_zggrqf(
+ lapack_complex_double* work, lapack_int const* lwork,
+ lapack_int* info );
+ 
++#define LAPACK_sggsvd LAPACK_GLOBAL(sggsvd,SGGSVD)
++lapack_int LAPACKE_sggsvd( int matrix_layout, char jobu, char jobv, char jobq,
++   lapack_int m, lapack_int n, lapack_int p,
++   lapack_int* k, lapack_int* l, float* a,
++   lapack_int lda, float* b, lapack_int ldb,
++   float* alpha, float* beta, float* u, lapack_int 
ldu,
++   float* v, lapack_int ldv, float* q, lapack_int ldq,
++   lapack_int* iwork );
++
++#define LAPACK_dggsvd LAPACK_GLOBAL(dggsvd,DGGSVD)
++lapack_int LAPACKE_dggsvd( int matrix_layout, char jobu, char jobv, char jobq,
++   lapack_int m, lapack_int n, lapack_int p,
++   lapack_int* k, lapack_int* l, double* a,
++   lapack_int lda, double* b, lapack_int ldb,
++   double* alpha, double* beta, double* u,
++   lapack_int ldu, double* v, lapack_int ldv, double* 
q,
++   lapack_int ldq, lapack_int* iwork );
++
++#define LAPACK_cggsvd LAPACK_GLOBAL(cggsvd,CGGSVD)
++lapack_int LAPACKE_cggsvd( int matrix_layout, char jobu, char jobv, char jobq,
++   lapack_int m, lapack_int n, lapack_int p,
++   lapack_int* k, lapack_int* l,
++   lapack_complex_float* a, lapack_int lda,
++   lapack_complex_float* b, lapack_int ldb,
++   float* alpha, float* beta, lapack_complex_float* u,
++   lapack_int ldu, lapack_complex_float* v,
++

[gentoo-commits] repo/gentoo:master commit in: sci-libs/lapack/files/, sci-libs/lapack/

2021-02-06 Thread Sam James
commit: e299f36c470e4cdf7b2a97f8a9308da01aa80aa1
Author: Sam James  gentoo  org>
AuthorDate: Sat Feb  6 21:21:49 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Feb  6 21:29:07 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e299f36c

sci-libs/lapack: cleanup old, patch metadata

Bug: https://bugs.gentoo.org/702254
Package-Manager: Portage-3.0.14, Repoman-3.0.2
Signed-off-by: Sam James  gentoo.org>

 .../files/lapack-3.9.0-deprecated-headers.patch|  3 +
 sci-libs/lapack/lapack-3.9.0.ebuild| 96 --
 2 files changed, 3 insertions(+), 96 deletions(-)

diff --git a/sci-libs/lapack/files/lapack-3.9.0-deprecated-headers.patch 
b/sci-libs/lapack/files/lapack-3.9.0-deprecated-headers.patch
index 9c0fb4e56e5..9b3fd93789e 100644
--- a/sci-libs/lapack/files/lapack-3.9.0-deprecated-headers.patch
+++ b/sci-libs/lapack/files/lapack-3.9.0-deprecated-headers.patch
@@ -1,3 +1,6 @@
+https://sources.debian.org/patches/lapack/3.9.0-3/missing-lapacke-prototypes.patch/
+https://github.com/Reference-LAPACK/lapack/issues/365
+
 From 87536aa3c8bb0af00f66088fb6ac05d87509e011 Mon Sep 17 00:00:00 2001
 From: =?UTF-8?q?S=C3=A9bastien=20Villemot?= 
 Date: Sat, 23 Nov 2019 12:22:20 +0100

diff --git a/sci-libs/lapack/lapack-3.9.0.ebuild 
b/sci-libs/lapack/lapack-3.9.0.ebuild
deleted file mode 100644
index bf8674a2fab..000
--- a/sci-libs/lapack/lapack-3.9.0.ebuild
+++ /dev/null
@@ -1,96 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit cmake
-
-DESCRIPTION="BLAS,CBLAS,LAPACK,LAPACKE reference implementations"
-HOMEPAGE="https://www.netlib.org/lapack/;
-SRC_URI="https://github.com/Reference-LAPACK/lapack/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~s390 sparc x86 
~amd64-linux ~x86-linux ~ppc-macos ~x64-macos"
-# TODO: static-libs 64bit-index
-IUSE="lapacke doc eselect-ldso test"
-RESTRICT="!test? ( test )"
-
-BDEPEND="virtual/pkgconfig"
-RDEPEND="
-   !app-eselect/eselect-cblas
-   virtual/fortran
-   eselect-ldso? (
-   >=app-eselect/eselect-blas-0.2
-   >=app-eselect/eselect-lapack-0.2
-   )
-   doc? ( app-doc/blas-docs )"
-DEPEND="${RDEPEND}"
-
-PATCHES=(
-   "${FILESDIR}/${PN}-3.9.0-build-tests.patch"
-)
-
-src_configure() {
-   local mycmakeargs=(
-   -DCBLAS=ON
-   -DLAPACKE=$(usex lapacke)
-   -DBUILD_SHARED_LIBS=ON
-   -DBUILD_TESTING=$(usex test)
-   )
-
-   cmake_src_configure
-}
-
-src_install() {
-   cmake_src_install
-
-   use eselect-ldso || return
-   # Create private lib directory for eselect::blas (ld.so.conf)
-   dodir /usr/$(get_libdir)/blas/reference
-   dosym ../../libblas.so usr/$(get_libdir)/blas/reference/libblas.so
-   dosym ../../libblas.so.3 usr/$(get_libdir)/blas/reference/libblas.so.3
-   dosym ../../libcblas.so usr/$(get_libdir)/blas/reference/libcblas.so
-   dosym ../../libcblas.so.3 usr/$(get_libdir)/blas/reference/libcblas.so.3
-
-   # Create private lib directory for eselect::lapack (ld.so.conf)
-   dodir /usr/$(get_libdir)/lapack/reference
-   dosym ../../liblapack.so usr/$(get_libdir)/lapack/reference/liblapack.so
-   dosym ../../liblapack.so.3 
usr/$(get_libdir)/lapack/reference/liblapack.so.3
-}
-
-pkg_postinst() {
-   use eselect-ldso || return
-
-   local me=reference libdir=$(get_libdir)
-   # check eselect-blas
-   eselect blas add ${libdir} "${EROOT}"/usr/${libdir}/blas/${me} ${me}
-   local current_blas=$(eselect blas show ${libdir} | cut -d' ' -f2)
-   if [[ ${current_blas} == ${me} || -z ${current_blas} ]]; then
-   eselect blas set ${libdir} ${me}
-   elog "Current eselect: BLAS ($libdir) -> [${current_blas}]."
-   else
-   elog "Current eselect: BLAS ($libdir) -> [${current_blas}]."
-   elog "To use blas [${me}] implementation, you have to issue (as 
root):"
-   elog "\t eselect blas set ${libdir} ${me}"
-   fi
-
-   # check eselect-lapack
-   eselect lapack add ${libdir} "${EROOT}"/usr/${libdir}/lapack/${me} ${me}
-   local current_lapack=$(eselect lapack show ${libdir} | cut -d' ' -f2)
-   if [[ ${current_lapack} == ${me} || -z ${current_lapack} ]]; then
-   eselect lapack set ${libdir} ${me}
-   elog "Current eselect: LAPACK ($libdir) -> [${current_lapack}]."
-   else
-   elog "Current eselect: LAPACK ($libdir) -> [${current_lapack}]."
-   elog "To use lapack [${me}] implementation, you have to issue 
(as root):"
-   elog "\t eselect lapack set ${libdir} ${me}"
-   fi
-}
-
-pkg_postrm() {
-   use eselect-ldso || return
-
-   eselect blas validate
-   eselect lapack validate
-}



[gentoo-commits] repo/gentoo:master commit in: sci-libs/lapack/

2021-01-06 Thread Fabian Groffen
commit: c995891854772a66d1de1cc7a3550666f4f6aa40
Author: Fabian Groffen  gentoo  org>
AuthorDate: Wed Jan  6 15:15:33 2021 +
Commit: Fabian Groffen  gentoo  org>
CommitDate: Wed Jan  6 15:15:33 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c9958918

sci-libs/lapack: drop x86-macos

Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Fabian Groffen  gentoo.org>

 sci-libs/lapack/lapack-3.8.0-r1.ebuild | 4 ++--
 sci-libs/lapack/lapack-3.8.0.ebuild| 4 ++--
 sci-libs/lapack/lapack-3.9.0.ebuild| 4 ++--
 3 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/sci-libs/lapack/lapack-3.8.0-r1.ebuild 
b/sci-libs/lapack/lapack-3.8.0-r1.ebuild
index 47bcb4605ca..a64e00ff893 100644
--- a/sci-libs/lapack/lapack-3.8.0-r1.ebuild
+++ b/sci-libs/lapack/lapack-3.8.0-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -11,7 +11,7 @@ SRC_URI="http://www.netlib.org/${PN}/${P}.tar.gz;
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~s390 sparc x86 
~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~s390 sparc x86 
~amd64-linux ~x86-linux ~ppc-macos ~x64-macos"
 IUSE="lapacke deprecated doc eselect-ldso"
 # TODO: static-libs 64bit-index
 

diff --git a/sci-libs/lapack/lapack-3.8.0.ebuild 
b/sci-libs/lapack/lapack-3.8.0.ebuild
index d661b9b9be5..1abb3b17f3e 100644
--- a/sci-libs/lapack/lapack-3.8.0.ebuild
+++ b/sci-libs/lapack/lapack-3.8.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -11,7 +11,7 @@ SRC_URI="http://www.netlib.org/${PN}/${P}.tar.gz;
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 ~s390 sparc x86 
~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
+KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 ~s390 sparc x86 
~amd64-linux ~x86-linux ~ppc-macos ~x64-macos"
 IUSE="lapacke doc eselect-ldso"
 # TODO: static-libs 64bit-index
 

diff --git a/sci-libs/lapack/lapack-3.9.0.ebuild 
b/sci-libs/lapack/lapack-3.9.0.ebuild
index ccbb4f59699..2d1c181e05d 100644
--- a/sci-libs/lapack/lapack-3.9.0.ebuild
+++ b/sci-libs/lapack/lapack-3.9.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -11,7 +11,7 @@ 
SRC_URI="https://github.com/Reference-LAPACK/lapack/archive/v${PV}.tar.gz -> ${P
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~s390 sparc x86 
~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~s390 sparc x86 
~amd64-linux ~x86-linux ~ppc-macos ~x64-macos"
 # TODO: static-libs 64bit-index
 IUSE="lapacke doc eselect-ldso test"
 RESTRICT="!test? ( test )"



[gentoo-commits] repo/gentoo:master commit in: sci-libs/lapack/

2020-12-28 Thread Sam James
commit: 591d3867bd3ebd6c366e623a7ac4da889fb91068
Author: Sam James  gentoo  org>
AuthorDate: Tue Dec 29 06:51:54 2020 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Dec 29 06:52:17 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=591d3867

sci-libs/lapack: conditionally build tests

Actually use the patch.

Package-Manager: Portage-3.0.12-prefix, Repoman-3.0.2
Signed-off-by: Sam James  gentoo.org>

 sci-libs/lapack/lapack-3.9.0.ebuild | 15 ---
 1 file changed, 8 insertions(+), 7 deletions(-)

diff --git a/sci-libs/lapack/lapack-3.9.0.ebuild 
b/sci-libs/lapack/lapack-3.9.0.ebuild
index 311a994271d..ccbb4f59699 100644
--- a/sci-libs/lapack/lapack-3.9.0.ebuild
+++ b/sci-libs/lapack/lapack-3.9.0.ebuild
@@ -3,7 +3,6 @@
 
 EAPI=7
 
-#CMAKE_MAKEFILE_GENERATOR="emake"
 inherit cmake
 
 DESCRIPTION="BLAS,CBLAS,LAPACK,LAPACKE reference implementations"
@@ -13,18 +12,20 @@ 
SRC_URI="https://github.com/Reference-LAPACK/lapack/archive/v${PV}.tar.gz -> ${P
 LICENSE="BSD"
 SLOT="0"
 KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~s390 sparc x86 
~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
-IUSE="lapacke doc eselect-ldso test"
 # TODO: static-libs 64bit-index
+IUSE="lapacke doc eselect-ldso test"
 RESTRICT="!test? ( test )"
 
+BDEPEND="virtual/pkgconfig"
 RDEPEND="
-   eselect-ldso? ( >=app-eselect/eselect-blas-0.2
-   >=app-eselect/eselect-lapack-0.2 )
!app-eselect/eselect-cblas
virtual/fortran
+   eselect-ldso? (
+   >=app-eselect/eselect-blas-0.2
+   >=app-eselect/eselect-lapack-0.2
+   )
doc? ( app-doc/blas-docs )"
-DEPEND="${RDEPEND}
-   virtual/pkgconfig"
+DEPEND="${RDEPEND}"
 
 PATCHES=(
"${FILESDIR}/${PN}-3.9.0-build-tests.patch"
@@ -35,7 +36,7 @@ src_configure() {
-DCBLAS=ON
-DLAPACKE=$(usex lapacke)
-DBUILD_SHARED_LIBS=ON
-   -DBUILD_TESTING=ON
+   -DBUILD_TESTING=$(usex test)
)
 
cmake_src_configure



[gentoo-commits] repo/gentoo:master commit in: sci-libs/lapack/, sci-libs/blas-reference/, sci-libs/blas-reference/files/

2020-11-15 Thread David Seifert
commit: fdf4852842120e7510e0da50e5893bb4c898dca7
Author: Aisha Tammy  aisha  cc>
AuthorDate: Sun Nov 15 14:51:34 2020 +
Commit: David Seifert  gentoo  org>
CommitDate: Sun Nov 15 14:51:34 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fdf48528

sci-libs/blas-reference: drop package

* included in sci-libs/lapack

Bug: https://bugs.gentoo.org/746962
Signed-off-by: Aisha Tammy  aisha.cc>
Signed-off-by: David Seifert  gentoo.org>

 sci-libs/blas-reference/Manifest   |   3 -
 .../blas-reference-20070226-r4.ebuild  |  69 --
 .../blas-reference-20151113-r1.ebuild  |  89 
 .../blas-reference/blas-reference-20161223.ebuild  |  96 
 .../files/blas-reference-20070226-autotool.patch   | 243 -
 .../files/blas-reference-20070226-pkg-config.patch |  11 -
 .../blas-reference/files/eselect.blas.reference|   4 -
 .../blas-reference/files/eselect.blas.reference-r1 |   4 -
 .../lapack-reference-3.6.0-fix-build-system.patch  |  92 
 .../lapack-reference-3.7.0-fix-build-system.patch  |  56 -
 sci-libs/blas-reference/metadata.xml   |  17 --
 sci-libs/lapack/lapack-3.8.0-r1.ebuild |   1 -
 sci-libs/lapack/lapack-3.8.0.ebuild|   1 -
 sci-libs/lapack/lapack-3.9.0.ebuild|   1 -
 14 files changed, 687 deletions(-)

diff --git a/sci-libs/blas-reference/Manifest b/sci-libs/blas-reference/Manifest
deleted file mode 100644
index 3ba967e04ce..000
--- a/sci-libs/blas-reference/Manifest
+++ /dev/null
@@ -1,3 +0,0 @@
-DIST lapack-3.6.0.tgz 6792324 BLAKE2B 
438f3376b63b38ef0fe70f6becac847816f3a11c01f5ab237dc0d941792ceb54dbd2f8dc22d56286f5dab3499289ed94e67521ea951a98973c9640abc294ad6c
 SHA512 
bc50441d415ef8896dd7626d77c6104184b996e758704366288089f03d4c99d068e33153b0d13305310886017e5d2e716130f812a95cfcad36ef37fe20417ab8
-DIST lapack-3.7.0.tgz 7359812 BLAKE2B 
20aa42e22d8c920d1360afe41ceec7b36f6cd5fbe43ca9d7848ef7cc45a64a0314cb1321941c1a7c03654f41e28ec805445882ded0ca0ea07674e70b66cba6b5
 SHA512 
e4f4c7d0ba8a096eeb813160c6dbcdd535647df6b2ad5beac9181908158956b31d1a9554ec9b9836fd44fe7404c1f377b297cbb20d744f20d70e357fd246c91b
-DIST lapack-lite-3.1.1.tgz 5332509 BLAKE2B 
5a8ea98e9956f2bc1fc8dbb1ede18178d43d1f418e324f2798daf2197a2f7f7a1841ea0a0d68f1affa3c9c0a37b024f8bd2fd6072ca827c70c9c441191c7
 SHA512 
492b932ef313339ce6b4e63ac8f778489e6870b0eb85f7b086f3c844e75f98e7f85382c7556dfa368ab8320b6f02d1df8ccfcb40b5c0b7c2d74518b7c309e75c

diff --git a/sci-libs/blas-reference/blas-reference-20070226-r4.ebuild 
b/sci-libs/blas-reference/blas-reference-20070226-r4.ebuild
deleted file mode 100644
index bd98acc7181..000
--- a/sci-libs/blas-reference/blas-reference-20070226-r4.ebuild
+++ /dev/null
@@ -1,69 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-inherit eutils fortran-2 autotools multilib flag-o-matic toolchain-funcs
-
-LAPACKPV="3.1.1"
-LAPACKPN="lapack-lite"
-
-DESCRIPTION="Basic Linear Algebra Subprograms F77 reference implementations"
-HOMEPAGE="http://www.netlib.org/blas/;
-SRC_URI="http://www.netlib.org/lapack/${LAPACKPN}-${LAPACKPV}.tgz;
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 s390 sparc x86 
~amd64-linux ~x86-linux ~ppc-macos ~x64-macos"
-IUSE="doc"
-
-DEPEND="app-eselect/eselect-blas"
-RDEPEND="${DEPEND}
-   doc? ( app-doc/blas-docs )"
-
-S="${WORKDIR}/${LAPACKPN}-${LAPACKPV}"
-
-src_prepare() {
-   ESELECT_PROF=reference
-   epatch \
-   "${FILESDIR}"/${P}-autotool.patch \
-   "${FILESDIR}"/${P}-pkg-config.patch
-   eautoreconf
-
-   cp "${FILESDIR}"/eselect.blas.reference "${T}"/eselect.blas.reference 
|| die
-   sed -i -e "s:/usr:${EPREFIX}/usr:" "${T}"/eselect.blas.reference || die
-   if [[ ${CHOST} == *-darwin* ]] ; then
-   sed -i -e 's/\.so\([\.0-9]\+\)\?/\1.dylib/g' \
-   "${T}"/eselect.blas.reference || die
-   fi
-}
-
-src_configure() {
-   econf \
-   --libdir="${EPREFIX}"/usr/$(get_libdir)/blas/reference
-}
-
-src_compile() {
-   emake LDFLAGS="${LDFLAGS}"
-}
-
-src_install() {
-   default
-   eselect blas add $(get_libdir) "${T}"/eselect.blas.reference 
${ESELECT_PROF}
-}
-
-pkg_postinst() {
-   local p=blas
-   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} 

[gentoo-commits] repo/gentoo:master commit in: sci-libs/lapack/

2020-11-15 Thread David Seifert
commit: 74ebcf45ffd328bbb7a7bb659f0be3f94a38cc4f
Author: Aisha Tammy  aisha  cc>
AuthorDate: Sun Nov 15 14:51:37 2020 +
Commit: David Seifert  gentoo  org>
CommitDate: Sun Nov 15 14:51:37 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=74ebcf45

sci-libs/lapack: remove lapacke-reference blocker

* included in sci-libs/lapack

Closes: https://bugs.gentoo.org/746962
Closes: https://bugs.gentoo.org/684400
Closes: https://bugs.gentoo.org/667828
Closes: https://bugs.gentoo.org/27
Closes: https://bugs.gentoo.org/659016
Closes: https://bugs.gentoo.org/689084
Closes: https://bugs.gentoo.org/612038
Closes: https://bugs.gentoo.org/620328
Closes: https://bugs.gentoo.org/608270
Signed-off-by: Aisha Tammy  aisha.cc>
Signed-off-by: David Seifert  gentoo.org>

 sci-libs/lapack/lapack-3.8.0-r1.ebuild | 1 -
 sci-libs/lapack/lapack-3.8.0.ebuild| 1 -
 sci-libs/lapack/lapack-3.9.0.ebuild| 1 -
 3 files changed, 3 deletions(-)

diff --git a/sci-libs/lapack/lapack-3.8.0-r1.ebuild 
b/sci-libs/lapack/lapack-3.8.0-r1.ebuild
index e8af7301a6d..47bcb4605ca 100644
--- a/sci-libs/lapack/lapack-3.8.0-r1.ebuild
+++ b/sci-libs/lapack/lapack-3.8.0-r1.ebuild
@@ -19,7 +19,6 @@ RDEPEND="
eselect-ldso? ( >=app-eselect/eselect-blas-0.2
>=app-eselect/eselect-lapack-0.2 )
!app-eselect/eselect-cblas
-   !sci-libs/lapacke-reference
virtual/fortran
doc? ( app-doc/blas-docs )"
 DEPEND="${RDEPEND}

diff --git a/sci-libs/lapack/lapack-3.8.0.ebuild 
b/sci-libs/lapack/lapack-3.8.0.ebuild
index c983f170326..d661b9b9be5 100644
--- a/sci-libs/lapack/lapack-3.8.0.ebuild
+++ b/sci-libs/lapack/lapack-3.8.0.ebuild
@@ -19,7 +19,6 @@ RDEPEND="
eselect-ldso? ( >=app-eselect/eselect-blas-0.2
>=app-eselect/eselect-lapack-0.2 )
!app-eselect/eselect-cblas
-   !sci-libs/lapacke-reference
virtual/fortran
doc? ( app-doc/blas-docs )"
 DEPEND="${RDEPEND}

diff --git a/sci-libs/lapack/lapack-3.9.0.ebuild 
b/sci-libs/lapack/lapack-3.9.0.ebuild
index 02c7cc94789..311a994271d 100644
--- a/sci-libs/lapack/lapack-3.9.0.ebuild
+++ b/sci-libs/lapack/lapack-3.9.0.ebuild
@@ -21,7 +21,6 @@ RDEPEND="
eselect-ldso? ( >=app-eselect/eselect-blas-0.2
>=app-eselect/eselect-lapack-0.2 )
!app-eselect/eselect-cblas
-   !sci-libs/lapacke-reference
virtual/fortran
doc? ( app-doc/blas-docs )"
 DEPEND="${RDEPEND}



[gentoo-commits] repo/gentoo:master commit in: sci-libs/lapack-reference/, sci-libs/lapack/, sci-libs/lapack-reference/files/

2020-11-15 Thread David Seifert
commit: 3cee28e738f66fe9d221100afbddf40d67c68274
Author: Aisha Tammy  aisha  cc>
AuthorDate: Sun Nov 15 14:51:28 2020 +
Commit: David Seifert  gentoo  org>
CommitDate: Sun Nov 15 14:51:28 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3cee28e7

sci-libs/lapack-reference: drop package

* included in sci-libs/lapack

Bug: https://bugs.gentoo.org/746962
Package-Manager: Portage-3.0.8, Repoman-3.0.1
Signed-off-by: Aisha Tammy  aisha.cc>
Signed-off-by: David Seifert  gentoo.org>

 sci-libs/lapack-reference/Manifest |   4 -
 .../files/eselect.lapack.reference |   4 -
 .../files/eselect.lapack.reference-r1  |   4 -
 .../lapack-reference-3.2.1-parallel-make.patch | 112 -
 .../lapack-reference-3.6.0-fix-build-system.patch  |  92 -
 .../lapack-reference-3.7.0-fix-build-system.patch  |  56 ---
 .../lapack-reference-3.2.1-r4.ebuild   | 100 --
 .../lapack-reference/lapack-reference-3.6.0.ebuild |  90 -
 .../lapack-reference/lapack-reference-3.7.0.ebuild |  97 --
 sci-libs/lapack-reference/metadata.xml |  19 
 sci-libs/lapack/lapack-3.8.0-r1.ebuild |   1 -
 sci-libs/lapack/lapack-3.8.0.ebuild|   1 -
 sci-libs/lapack/lapack-3.9.0.ebuild|   1 -
 13 files changed, 581 deletions(-)

diff --git a/sci-libs/lapack-reference/Manifest 
b/sci-libs/lapack-reference/Manifest
deleted file mode 100644
index 82ed4199cf2..000
--- a/sci-libs/lapack-reference/Manifest
+++ /dev/null
@@ -1,4 +0,0 @@
-DIST lapack-3.2.1.tgz 4792502 BLAKE2B 
e9d39c958406db05383ebda7e781ae6c2d0b1f3896d4071a33bec0c7038f9ffca3e254f8ef36aa27118c83a1e5df9110c57ce90ab897e0f8f0ca5750d20cba0e
 SHA512 
a89b88540f8e5b05b7c58e8e301a5068729ceb35fcb2143edfff1644458ff1a375e5185492cf116b50409fe0c17b51c253a2987f4df83e9f9c3968a4b77e5d97
-DIST lapack-3.6.0.tgz 6792324 BLAKE2B 
438f3376b63b38ef0fe70f6becac847816f3a11c01f5ab237dc0d941792ceb54dbd2f8dc22d56286f5dab3499289ed94e67521ea951a98973c9640abc294ad6c
 SHA512 
bc50441d415ef8896dd7626d77c6104184b996e758704366288089f03d4c99d068e33153b0d13305310886017e5d2e716130f812a95cfcad36ef37fe20417ab8
-DIST lapack-3.7.0.tgz 7359812 BLAKE2B 
20aa42e22d8c920d1360afe41ceec7b36f6cd5fbe43ca9d7848ef7cc45a64a0314cb1321941c1a7c03654f41e28ec805445882ded0ca0ea07674e70b66cba6b5
 SHA512 
e4f4c7d0ba8a096eeb813160c6dbcdd535647df6b2ad5beac9181908158956b31d1a9554ec9b9836fd44fe7404c1f377b297cbb20d744f20d70e357fd246c91b
-DIST lapack-reference-3.2.1-autotools.patch.bz2 13338 BLAKE2B 
1be1d2c273b92a106a9c914f17e0350b44fc42b3837ee48b040d7a61802bf5036c30e8800ec613ccf12a082a7801cad6878b6ddcbd4db32e27a06b7462f8ecd2
 SHA512 
957e8c7646a0d6ade9c0dfdaf2aa665a01f932dfda376ba1db164106fb174793e6504cdbed7daf158f23bb69502937963cb2e2d45ac720980d3832f6fc0fedbd

diff --git a/sci-libs/lapack-reference/files/eselect.lapack.reference 
b/sci-libs/lapack-reference/files/eselect.lapack.reference
deleted file mode 100644
index fe1a777b2dc..000
--- a/sci-libs/lapack-reference/files/eselect.lapack.reference
+++ /dev/null
@@ -1,4 +0,0 @@
-lapack/reference/liblapack.so /usr/@LIBDIR@/liblapack.so
-lapack/reference/liblapack.so.0 /usr/@LIBDIR@/liblapack.so.0
-lapack/reference/liblapack.a /usr/@LIBDIR@/liblapack.a
-../lapack/reference/lapack.pc /usr/@LIBDIR@/pkgconfig/lapack.pc

diff --git a/sci-libs/lapack-reference/files/eselect.lapack.reference-r1 
b/sci-libs/lapack-reference/files/eselect.lapack.reference-r1
deleted file mode 100644
index b6c4db32559..000
--- a/sci-libs/lapack-reference/files/eselect.lapack.reference-r1
+++ /dev/null
@@ -1,4 +0,0 @@
-lapack/reference/liblapack.so /usr/@LIBDIR@/liblapack.so
-lapack/reference/liblapack.so.3 /usr/@LIBDIR@/liblapack.so.3
-lapack/reference/liblapack.a /usr/@LIBDIR@/liblapack.a
-../lapack/reference/lapack.pc /usr/@LIBDIR@/pkgconfig/lapack.pc

diff --git 
a/sci-libs/lapack-reference/files/lapack-reference-3.2.1-parallel-make.patch 
b/sci-libs/lapack-reference/files/lapack-reference-3.2.1-parallel-make.patch
deleted file mode 100644
index 72bc71ca2d9..000
--- a/sci-libs/lapack-reference/files/lapack-reference-3.2.1-parallel-make.patch
+++ /dev/null
@@ -1,112 +0,0 @@
-diff -Nauru lapack-3.2.1.old/TESTING/EIG/Makefile 
lapack-3.2.1/TESTING/EIG/Makefile
 lapack-3.2.1.old/TESTING/EIG/Makefile  2008-11-17 17:51:24.0 
-0500
-+++ lapack-3.2.1/TESTING/EIG/Makefile  2009-12-12 11:23:22.0 -0500
-@@ -126,25 +126,25 @@
- double: ../xeigtstd
- complex16: ../xeigtstz
- 
--../xeigtsts: $(SEIGTST) $(SCIGTST) $(AEIGTST) ; \
--  $(LOADER) $(LOADOPTS) -o xeigtsts \
--  $(SEIGTST) $(SCIGTST) $(AEIGTST) ../../$(TMGLIB) \
--../../$(LAPACKLIB) $(BLASLIB) && mv xeigtsts $@
--
--../xeigtstc: $(CEIGTST) $(SCIGTST) $(AEIGTST) ; \
--  $(LOADER) $(LOADOPTS) -o xeigtstc \
--  $(CEIGTST) $(SCIGTST) $(AEIGTST) ../../$(TMGLIB) 

[gentoo-commits] repo/gentoo:master commit in: sci-libs/lapack/

2020-11-12 Thread Thomas Deutschmann
commit: affd7a8c69f24083f71e94eb9a47ec1b614a27d7
Author: Thomas Deutschmann  gentoo  org>
AuthorDate: Thu Nov 12 20:58:12 2020 +
Commit: Thomas Deutschmann  gentoo  org>
CommitDate: Thu Nov 12 21:02:44 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=affd7a8c

sci-libs/lapack: x86 stable (bug #733580)

Package-Manager: Portage-3.0.9, Repoman-3.0.2
Signed-off-by: Thomas Deutschmann  gentoo.org>

 sci-libs/lapack/lapack-3.9.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-libs/lapack/lapack-3.9.0.ebuild 
b/sci-libs/lapack/lapack-3.9.0.ebuild
index cd724ab9a23..666527b497d 100644
--- a/sci-libs/lapack/lapack-3.9.0.ebuild
+++ b/sci-libs/lapack/lapack-3.9.0.ebuild
@@ -12,7 +12,7 @@ 
SRC_URI="https://github.com/Reference-LAPACK/lapack/archive/v${PV}.tar.gz -> ${P
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~s390 sparc ~x86 
~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~s390 sparc x86 
~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
 IUSE="lapacke doc eselect-ldso test"
 # TODO: static-libs 64bit-index
 RESTRICT="!test? ( test )"



[gentoo-commits] repo/gentoo:master commit in: sci-libs/lapack/

2020-11-07 Thread Sergei Trofimovich
commit: b12bdbe07e248a66cd1aa6b5147f8e16b691c48b
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Sat Nov  7 20:36:40 2020 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Sat Nov  7 20:36:40 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b12bdbe0

sci-libs/lapack: stable 3.9.0 for sparc

stable wrt bug #733580

Package-Manager: Portage-3.0.9, Repoman-3.0.2
RepoMan-Options: --include-arches="sparc"
Signed-off-by: Sergei Trofimovich  gentoo.org>

 sci-libs/lapack/lapack-3.9.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-libs/lapack/lapack-3.9.0.ebuild 
b/sci-libs/lapack/lapack-3.9.0.ebuild
index 3e54c6e7134..cd724ab9a23 100644
--- a/sci-libs/lapack/lapack-3.9.0.ebuild
+++ b/sci-libs/lapack/lapack-3.9.0.ebuild
@@ -12,7 +12,7 @@ 
SRC_URI="https://github.com/Reference-LAPACK/lapack/archive/v${PV}.tar.gz -> ${P
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~s390 ~sparc ~x86 
~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~s390 sparc ~x86 
~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
 IUSE="lapacke doc eselect-ldso test"
 # TODO: static-libs 64bit-index
 RESTRICT="!test? ( test )"



[gentoo-commits] repo/gentoo:master commit in: sci-libs/lapack/

2020-11-07 Thread Sergei Trofimovich
commit: 9e27b49c355964e66318c640f60173d85412e176
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Sat Nov  7 20:26:13 2020 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Sat Nov  7 20:34:46 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9e27b49c

sci-libs/lapack: stable 3.9.0 for ppc64

stable wrt bug #733580

Package-Manager: Portage-3.0.9, Repoman-3.0.2
RepoMan-Options: --include-arches="ppc64"
Signed-off-by: Sergei Trofimovich  gentoo.org>

 sci-libs/lapack/lapack-3.9.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-libs/lapack/lapack-3.9.0.ebuild 
b/sci-libs/lapack/lapack-3.9.0.ebuild
index 398ee595dda..3e54c6e7134 100644
--- a/sci-libs/lapack/lapack-3.9.0.ebuild
+++ b/sci-libs/lapack/lapack-3.9.0.ebuild
@@ -12,7 +12,7 @@ 
SRC_URI="https://github.com/Reference-LAPACK/lapack/archive/v${PV}.tar.gz -> ${P
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ~ppc64 ~s390 ~sparc 
~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~s390 ~sparc ~x86 
~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
 IUSE="lapacke doc eselect-ldso test"
 # TODO: static-libs 64bit-index
 RESTRICT="!test? ( test )"



[gentoo-commits] repo/gentoo:master commit in: sci-libs/lapack/

2020-11-06 Thread Sam James
commit: 05f0220403dae811aa36e819d841b362d2d179a4
Author: Sam James  gentoo  org>
AuthorDate: Sat Nov  7 01:24:05 2020 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Nov  7 01:24:05 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=05f02204

sci-libs/lapack: Stabilize 3.9.0 ppc, #733580

Signed-off-by: Sam James  gentoo.org>

 sci-libs/lapack/lapack-3.9.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-libs/lapack/lapack-3.9.0.ebuild 
b/sci-libs/lapack/lapack-3.9.0.ebuild
index 424da54377b..398ee595dda 100644
--- a/sci-libs/lapack/lapack-3.9.0.ebuild
+++ b/sci-libs/lapack/lapack-3.9.0.ebuild
@@ -12,7 +12,7 @@ 
SRC_URI="https://github.com/Reference-LAPACK/lapack/archive/v${PV}.tar.gz -> ${P
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc 
~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ~ppc64 ~s390 ~sparc 
~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
 IUSE="lapacke doc eselect-ldso test"
 # TODO: static-libs 64bit-index
 RESTRICT="!test? ( test )"



[gentoo-commits] repo/gentoo:master commit in: sci-libs/lapack/

2020-11-06 Thread Sam James
commit: 62a103447cca7a1c2b2e451e1ec5fd85fff60064
Author: Sam James  gentoo  org>
AuthorDate: Fri Nov  6 22:34:32 2020 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Nov  6 22:34:32 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=62a10344

sci-libs/lapack: Stabilize 3.9.0 amd64, #733580

Signed-off-by: Sam James  gentoo.org>

 sci-libs/lapack/lapack-3.9.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-libs/lapack/lapack-3.9.0.ebuild 
b/sci-libs/lapack/lapack-3.9.0.ebuild
index d08e60ccda2..424da54377b 100644
--- a/sci-libs/lapack/lapack-3.9.0.ebuild
+++ b/sci-libs/lapack/lapack-3.9.0.ebuild
@@ -12,7 +12,7 @@ 
SRC_URI="https://github.com/Reference-LAPACK/lapack/archive/v${PV}.tar.gz -> ${P
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc 
~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc 
~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
 IUSE="lapacke doc eselect-ldso test"
 # TODO: static-libs 64bit-index
 RESTRICT="!test? ( test )"



[gentoo-commits] repo/gentoo:master commit in: sci-libs/lapack/

2020-11-06 Thread Sam James
commit: 4ad0f1298e5a6fcaf4a81a1cdd3cd7555360f054
Author: Sam James  gentoo  org>
AuthorDate: Fri Nov  6 14:49:43 2020 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Nov  6 14:49:43 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4ad0f129

sci-libs/lapack: Stabilize 3.9.0 arm, #733580

Signed-off-by: Sam James  gentoo.org>

 sci-libs/lapack/lapack-3.9.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-libs/lapack/lapack-3.9.0.ebuild 
b/sci-libs/lapack/lapack-3.9.0.ebuild
index ce6ade181b4..d08e60ccda2 100644
--- a/sci-libs/lapack/lapack-3.9.0.ebuild
+++ b/sci-libs/lapack/lapack-3.9.0.ebuild
@@ -12,7 +12,7 @@ 
SRC_URI="https://github.com/Reference-LAPACK/lapack/archive/v${PV}.tar.gz -> ${P
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc 
~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
+KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc 
~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
 IUSE="lapacke doc eselect-ldso test"
 # TODO: static-libs 64bit-index
 RESTRICT="!test? ( test )"



[gentoo-commits] repo/gentoo:master commit in: sci-libs/lapack/

2020-11-06 Thread Sam James
commit: 81641e9d74619fc140e82c94ff70e90f84ae0e78
Author: Sam James  gentoo  org>
AuthorDate: Fri Nov  6 11:15:56 2020 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Nov  6 11:15:56 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=81641e9d

sci-libs/lapack: Stabilize 3.9.0 arm64, #733580

Signed-off-by: Sam James  gentoo.org>

 sci-libs/lapack/lapack-3.9.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-libs/lapack/lapack-3.9.0.ebuild 
b/sci-libs/lapack/lapack-3.9.0.ebuild
index 87c344ba13b..ce6ade181b4 100644
--- a/sci-libs/lapack/lapack-3.9.0.ebuild
+++ b/sci-libs/lapack/lapack-3.9.0.ebuild
@@ -12,7 +12,7 @@ 
SRC_URI="https://github.com/Reference-LAPACK/lapack/archive/v${PV}.tar.gz -> ${P
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc 
~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
+KEYWORDS="~alpha ~amd64 ~arm arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc 
~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
 IUSE="lapacke doc eselect-ldso test"
 # TODO: static-libs 64bit-index
 RESTRICT="!test? ( test )"



[gentoo-commits] repo/gentoo:master commit in: sci-libs/lapack/

2020-09-29 Thread Sam James
commit: 2eed2da849b1b4d2cac23b9e913259450957ce6e
Author: Sam James  gentoo  org>
AuthorDate: Wed Sep 30 00:18:44 2020 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Sep 30 00:19:28 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2eed2da8

sci-libs/lapack: build tests conditionally

This significantly reduces build time on non-test builds.

Fixes: 1a9d2a5e0166770db4aefdd7f688e332a32f858a
Package-Manager: Portage-3.0.4, Repoman-3.0.1
Signed-off-by: Sam James  gentoo.org>

 sci-libs/lapack/lapack-3.9.0.ebuild | 4 
 1 file changed, 4 insertions(+)

diff --git a/sci-libs/lapack/lapack-3.9.0.ebuild 
b/sci-libs/lapack/lapack-3.9.0.ebuild
index cc1fc963b7c..87c344ba13b 100644
--- a/sci-libs/lapack/lapack-3.9.0.ebuild
+++ b/sci-libs/lapack/lapack-3.9.0.ebuild
@@ -30,6 +30,10 @@ RDEPEND="
 DEPEND="${RDEPEND}
virtual/pkgconfig"
 
+PATCHES=(
+   "${FILESDIR}/${PN}-3.9.0-build-tests.patch"
+)
+
 src_configure() {
local mycmakeargs=(
-DCBLAS=ON



[gentoo-commits] repo/gentoo:master commit in: sci-libs/lapack/files/

2020-09-29 Thread Sam James
commit: de5c3315e5882b520f8fde86e99236a45092ef2f
Author: Sam James  gentoo  org>
AuthorDate: Wed Sep 30 00:16:50 2020 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Sep 30 00:19:22 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=de5c3315

Revert "sci-libs/lapack: remove unused patch(es)"

This reverts commit fc181897a2b69c37030d1a8867621946c0a01e21.

The detection was valid, but the issue was I forgot to apply it.

Signed-off-by: Sam James  gentoo.org>

 sci-libs/lapack/files/lapack-3.9.0-build-tests.patch | 20 
 1 file changed, 20 insertions(+)

diff --git a/sci-libs/lapack/files/lapack-3.9.0-build-tests.patch 
b/sci-libs/lapack/files/lapack-3.9.0-build-tests.patch
new file mode 100644
index 000..1dbcd6d9f67
--- /dev/null
+++ b/sci-libs/lapack/files/lapack-3.9.0-build-tests.patch
@@ -0,0 +1,20 @@
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index d9dbf97..9635ba4 100644
+--- a/CMakeLists.txt
 b/CMakeLists.txt
+@@ -127,7 +127,7 @@ set(PKG_CONFIG_DIR ${CMAKE_INSTALL_LIBDIR}/pkgconfig)
+ 
+ # --
+ # Testing
+-option(BUILD_TESTING "Build tests" ${_is_coverage_build})
++option(BUILD_TESTING "Build tests")
+ include(CTest)
+ message(STATUS "Build tests: ${BUILD_TESTING}")
+ 
+@@ -443,4 +443,4 @@ install(FILES
+   DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/lapack-${LAPACK_VERSION}
+   COMPONENT Development
+   )
+-  
+\ No newline at end of file
++  



[gentoo-commits] repo/gentoo:master commit in: sci-libs/lapack/files/

2020-09-20 Thread Conrad Kostecki
commit: fc181897a2b69c37030d1a8867621946c0a01e21
Author: Michael Mair-Keimberger  gmail  com>
AuthorDate: Sun Sep 20 14:02:47 2020 +
Commit: Conrad Kostecki  gentoo  org>
CommitDate: Sun Sep 20 14:38:33 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fc181897

sci-libs/lapack: remove unused patch(es)

Closes: https://github.com/gentoo/gentoo/pull/17617
Package-Manager: Portage-3.0.7, Repoman-3.0.1
Signed-off-by: Michael Mair-Keimberger  gmail.com>
Signed-off-by: Conrad Kostecki  gentoo.org>

 sci-libs/lapack/files/lapack-3.9.0-build-tests.patch | 20 
 1 file changed, 20 deletions(-)

diff --git a/sci-libs/lapack/files/lapack-3.9.0-build-tests.patch 
b/sci-libs/lapack/files/lapack-3.9.0-build-tests.patch
deleted file mode 100644
index 1dbcd6d9f67..000
--- a/sci-libs/lapack/files/lapack-3.9.0-build-tests.patch
+++ /dev/null
@@ -1,20 +0,0 @@
-diff --git a/CMakeLists.txt b/CMakeLists.txt
-index d9dbf97..9635ba4 100644
 a/CMakeLists.txt
-+++ b/CMakeLists.txt
-@@ -127,7 +127,7 @@ set(PKG_CONFIG_DIR ${CMAKE_INSTALL_LIBDIR}/pkgconfig)
- 
- # --
- # Testing
--option(BUILD_TESTING "Build tests" ${_is_coverage_build})
-+option(BUILD_TESTING "Build tests")
- include(CTest)
- message(STATUS "Build tests: ${BUILD_TESTING}")
- 
-@@ -443,4 +443,4 @@ install(FILES
-   DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/lapack-${LAPACK_VERSION}
-   COMPONENT Development
-   )
--  
-\ No newline at end of file
-+  



[gentoo-commits] repo/gentoo:master commit in: sci-libs/lapack/files/, sci-libs/lapack/

2020-09-18 Thread Sam James
commit: 1a9d2a5e0166770db4aefdd7f688e332a32f858a
Author: Sam James  gentoo  org>
AuthorDate: Fri Sep 18 22:56:08 2020 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Sep 18 22:56:18 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1a9d2a5e

sci-libs/lapack: bump to 3.9.0

Closes: https://bugs.gentoo.org/738258
Package-Manager: Portage-3.0.4, Repoman-3.0.1
Signed-off-by: Sam James  gentoo.org>

 sci-libs/lapack/Manifest   |  1 +
 .../lapack/files/lapack-3.9.0-build-tests.patch| 20 +
 sci-libs/lapack/lapack-3.9.0.ebuild| 95 ++
 3 files changed, 116 insertions(+)

diff --git a/sci-libs/lapack/Manifest b/sci-libs/lapack/Manifest
index fe865c2bdc8..91b589d6e02 100644
--- a/sci-libs/lapack/Manifest
+++ b/sci-libs/lapack/Manifest
@@ -1 +1,2 @@
 DIST lapack-3.8.0.tar.gz 7426094 BLAKE2B 
27cd75eea498250382b2df6f5d7dc95fdee8d37b1a0faba5296ca0145ec40a1165a4ecc727aa1647086be6783b50cf475f79cea0f30f541da789051db99b2f37
 SHA512 
17786cb7306fccdc9b4a242de7f64fc261ebe6a10b6ec55f519deb4cb673cb137e8742aa5698fd2dc52f1cd56d3bd116af3f593a01dcf6770c4dcc86c50b2a7f
+DIST lapack-3.9.0.tar.gz 7534567 BLAKE2B 
408013a11a72e0262d144adfdf6db28a6efa3bb5446f9ff959bb88fe10459dfa621149ed0144630a55e73e3b5be3c704269a716eb195f6db7b39d345b4db8270
 SHA512 
424956ad941a60a4b71e0d451ad48db12a692f8a71a90f3ca7f71d6ecc1922f392746ea84df1c47a46577ed2db32e9e47ec44ad248207c5ac7da179becb712ef

diff --git a/sci-libs/lapack/files/lapack-3.9.0-build-tests.patch 
b/sci-libs/lapack/files/lapack-3.9.0-build-tests.patch
new file mode 100644
index 000..1dbcd6d9f67
--- /dev/null
+++ b/sci-libs/lapack/files/lapack-3.9.0-build-tests.patch
@@ -0,0 +1,20 @@
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index d9dbf97..9635ba4 100644
+--- a/CMakeLists.txt
 b/CMakeLists.txt
+@@ -127,7 +127,7 @@ set(PKG_CONFIG_DIR ${CMAKE_INSTALL_LIBDIR}/pkgconfig)
+ 
+ # --
+ # Testing
+-option(BUILD_TESTING "Build tests" ${_is_coverage_build})
++option(BUILD_TESTING "Build tests")
+ include(CTest)
+ message(STATUS "Build tests: ${BUILD_TESTING}")
+ 
+@@ -443,4 +443,4 @@ install(FILES
+   DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/lapack-${LAPACK_VERSION}
+   COMPONENT Development
+   )
+-  
+\ No newline at end of file
++  

diff --git a/sci-libs/lapack/lapack-3.9.0.ebuild 
b/sci-libs/lapack/lapack-3.9.0.ebuild
new file mode 100644
index 000..cc1fc963b7c
--- /dev/null
+++ b/sci-libs/lapack/lapack-3.9.0.ebuild
@@ -0,0 +1,95 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+#CMAKE_MAKEFILE_GENERATOR="emake"
+inherit cmake
+
+DESCRIPTION="BLAS,CBLAS,LAPACK,LAPACKE reference implementations"
+HOMEPAGE="http://www.netlib.org/lapack/;
+SRC_URI="https://github.com/Reference-LAPACK/lapack/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc 
~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
+IUSE="lapacke doc eselect-ldso test"
+# TODO: static-libs 64bit-index
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+   eselect-ldso? ( >=app-eselect/eselect-blas-0.2
+   >=app-eselect/eselect-lapack-0.2 )
+   !app-eselect/eselect-cblas
+   !sci-libs/blas-reference
+   !sci-libs/cblas-reference
+   !sci-libs/lapack-reference
+   !sci-libs/lapacke-reference
+   virtual/fortran
+   doc? ( app-doc/blas-docs )"
+DEPEND="${RDEPEND}
+   virtual/pkgconfig"
+
+src_configure() {
+   local mycmakeargs=(
+   -DCBLAS=ON
+   -DLAPACKE=$(usex lapacke)
+   -DBUILD_SHARED_LIBS=ON
+   -DBUILD_TESTING=ON
+   )
+
+   cmake_src_configure
+}
+
+src_install() {
+   cmake_src_install
+
+   use eselect-ldso || return
+   # Create private lib directory for eselect::blas (ld.so.conf)
+   dodir /usr/$(get_libdir)/blas/reference
+   dosym ../../libblas.so usr/$(get_libdir)/blas/reference/libblas.so
+   dosym ../../libblas.so.3 usr/$(get_libdir)/blas/reference/libblas.so.3
+   dosym ../../libcblas.so usr/$(get_libdir)/blas/reference/libcblas.so
+   dosym ../../libcblas.so.3 usr/$(get_libdir)/blas/reference/libcblas.so.3
+
+   # Create private lib directory for eselect::lapack (ld.so.conf)
+   dodir /usr/$(get_libdir)/lapack/reference
+   dosym ../../liblapack.so usr/$(get_libdir)/lapack/reference/liblapack.so
+   dosym ../../liblapack.so.3 
usr/$(get_libdir)/lapack/reference/liblapack.so.3
+}
+
+pkg_postinst() {
+   use eselect-ldso || return
+
+   local me=reference libdir=$(get_libdir)
+   # check eselect-blas
+   eselect blas add ${libdir} "${EROOT}"/usr/${libdir}/blas/${me} ${me}
+   local current_blas=$(eselect blas show ${libdir} | cut -d' ' -f2)
+   if [[ ${current_blas} == ${me} || -z ${current_blas} ]]; then

[gentoo-commits] repo/gentoo:master commit in: sci-libs/lapack/

2020-08-01 Thread Sergei Trofimovich
commit: e5b8ce7bfd9af6fc4570353325c16ce97eb5f061
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Sat Aug  1 08:59:47 2020 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Sat Aug  1 08:59:47 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e5b8ce7b

sci-libs/lapack: stable 3.8.0-r1 for ppc64

stable wrt bug #733580

Package-Manager: Portage-3.0.1, Repoman-2.3.23
RepoMan-Options: --include-arches="ppc64"
Signed-off-by: Sergei Trofimovich  gentoo.org>

 sci-libs/lapack/lapack-3.8.0-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-libs/lapack/lapack-3.8.0-r1.ebuild 
b/sci-libs/lapack/lapack-3.8.0-r1.ebuild
index cd2843e6732..dff0d45f721 100644
--- a/sci-libs/lapack/lapack-3.8.0-r1.ebuild
+++ b/sci-libs/lapack/lapack-3.8.0-r1.ebuild
@@ -11,7 +11,7 @@ SRC_URI="http://www.netlib.org/${PN}/${P}.tar.gz;
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ~ppc64 ~s390 sparc ~x86 
~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~s390 sparc ~x86 
~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
 IUSE="lapacke deprecated doc eselect-ldso"
 # TODO: static-libs 64bit-index
 



[gentoo-commits] repo/gentoo:master commit in: sci-libs/lapack/

2020-08-01 Thread Sergei Trofimovich
commit: e100a8e7358f208d573d29aa67c7b1112d4eb82d
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Sat Aug  1 08:45:41 2020 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Sat Aug  1 08:45:41 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e100a8e7

sci-libs/lapack: stable 3.8.0-r1 for ppc

stable wrt bug #733580

Package-Manager: Portage-3.0.1, Repoman-2.3.23
RepoMan-Options: --include-arches="ppc"
Signed-off-by: Sergei Trofimovich  gentoo.org>

 sci-libs/lapack/lapack-3.8.0-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-libs/lapack/lapack-3.8.0-r1.ebuild 
b/sci-libs/lapack/lapack-3.8.0-r1.ebuild
index ecce21d736a..cd2843e6732 100644
--- a/sci-libs/lapack/lapack-3.8.0-r1.ebuild
+++ b/sci-libs/lapack/lapack-3.8.0-r1.ebuild
@@ -11,7 +11,7 @@ SRC_URI="http://www.netlib.org/${PN}/${P}.tar.gz;
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 sparc 
~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ~ppc64 ~s390 sparc ~x86 
~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
 IUSE="lapacke deprecated doc eselect-ldso"
 # TODO: static-libs 64bit-index
 



[gentoo-commits] repo/gentoo:master commit in: sci-libs/lapack/

2020-07-25 Thread Sam James
commit: 0656565acf4bb556ddce88e16405663d407cf4d6
Author: Sam James  gentoo  org>
AuthorDate: Sat Jul 25 20:43:01 2020 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Jul 25 21:01:15 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0656565a

sci-libs/lapack: arm stable (bug #733580)

Package-Manager: Portage-3.0.0, Repoman-2.3.23
Signed-off-by: Sam James  gentoo.org>

 sci-libs/lapack/lapack-3.8.0-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-libs/lapack/lapack-3.8.0-r1.ebuild 
b/sci-libs/lapack/lapack-3.8.0-r1.ebuild
index 0367981289a..ecce21d736a 100644
--- a/sci-libs/lapack/lapack-3.8.0-r1.ebuild
+++ b/sci-libs/lapack/lapack-3.8.0-r1.ebuild
@@ -11,7 +11,7 @@ SRC_URI="http://www.netlib.org/${PN}/${P}.tar.gz;
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 sparc 
~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 sparc 
~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
 IUSE="lapacke deprecated doc eselect-ldso"
 # TODO: static-libs 64bit-index
 



[gentoo-commits] repo/gentoo:master commit in: sci-libs/lapack/

2020-07-25 Thread Sam James
commit: 4d845c836156555cd505b4187eede6ffe14b4d26
Author: Sam James  gentoo  org>
AuthorDate: Sat Jul 25 14:07:50 2020 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Jul 25 14:08:12 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4d845c83

sci-libs/lapack: arm64 stable (bug #733580)

Package-Manager: Portage-3.0.0, Repoman-2.3.23
Signed-off-by: Sam James  gentoo.org>

 sci-libs/lapack/lapack-3.8.0-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-libs/lapack/lapack-3.8.0-r1.ebuild 
b/sci-libs/lapack/lapack-3.8.0-r1.ebuild
index 5a8d2dc1528..0367981289a 100644
--- a/sci-libs/lapack/lapack-3.8.0-r1.ebuild
+++ b/sci-libs/lapack/lapack-3.8.0-r1.ebuild
@@ -11,7 +11,7 @@ SRC_URI="http://www.netlib.org/${PN}/${P}.tar.gz;
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 sparc 
~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
+KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 sparc 
~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
 IUSE="lapacke deprecated doc eselect-ldso"
 # TODO: static-libs 64bit-index
 



[gentoo-commits] repo/gentoo:master commit in: sci-libs/lapack/

2020-07-25 Thread Sergei Trofimovich
commit: 49f670ba6b12cdc688c2d51d525d7dcacb901f5e
Author: Rolf Eike Beer  sf-mail  de>
AuthorDate: Sat Jul 25 08:24:50 2020 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Sat Jul 25 08:42:06 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=49f670ba

sci-libs/lapack: stable 3.8.0-r1 for sparc, bug #733580

Package-Manager: Portage-2.3.103, Repoman-2.3.23
RepoMan-Options: --include-arches="sparc"
Signed-off-by: Rolf Eike Beer  sf-mail.de>
Signed-off-by: Sergei Trofimovich  gentoo.org>

 sci-libs/lapack/lapack-3.8.0-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-libs/lapack/lapack-3.8.0-r1.ebuild 
b/sci-libs/lapack/lapack-3.8.0-r1.ebuild
index e229db13615..5a8d2dc1528 100644
--- a/sci-libs/lapack/lapack-3.8.0-r1.ebuild
+++ b/sci-libs/lapack/lapack-3.8.0-r1.ebuild
@@ -11,7 +11,7 @@ SRC_URI="http://www.netlib.org/${PN}/${P}.tar.gz;
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc 
~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
+KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 sparc 
~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
 IUSE="lapacke deprecated doc eselect-ldso"
 # TODO: static-libs 64bit-index
 



[gentoo-commits] repo/gentoo:master commit in: sci-libs/lapack/

2020-07-24 Thread Sam James
commit: 9c3f2e32bb5310c5de1e8ae8a373e75cbff0551f
Author: Sam James  gentoo  org>
AuthorDate: Fri Jul 24 11:53:23 2020 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Jul 24 11:54:19 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9c3f2e32

sci-libs/lapack: amd64 stable (bug #733580)

Package-Manager: Portage-3.0.0, Repoman-2.3.23
Signed-off-by: Sam James  gentoo.org>

 sci-libs/lapack/lapack-3.8.0-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-libs/lapack/lapack-3.8.0-r1.ebuild 
b/sci-libs/lapack/lapack-3.8.0-r1.ebuild
index bf8ffd46029..e229db13615 100644
--- a/sci-libs/lapack/lapack-3.8.0-r1.ebuild
+++ b/sci-libs/lapack/lapack-3.8.0-r1.ebuild
@@ -11,7 +11,7 @@ SRC_URI="http://www.netlib.org/${PN}/${P}.tar.gz;
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc 
~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
+KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc 
~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
 IUSE="lapacke deprecated doc eselect-ldso"
 # TODO: static-libs 64bit-index
 



[gentoo-commits] repo/gentoo:master commit in: sci-libs/lapack/

2020-06-01 Thread Sergei Trofimovich
commit: 4312c083831a648ad20c0e1a9f7498f09196ae63
Author: Rolf Eike Beer  sf-mail  de>
AuthorDate: Mon Jun  1 17:49:27 2020 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Mon Jun  1 19:52:33 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4312c083

sci-libs/lapack: stable 3.8.0 for hppa, bug #698756

Package-Manager: Portage-2.3.99, Repoman-2.3.22
RepoMan-Options: --include-arches="hppa"
Signed-off-by: Rolf Eike Beer  sf-mail.de>
Signed-off-by: Sergei Trofimovich  gentoo.org>

 sci-libs/lapack/lapack-3.8.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-libs/lapack/lapack-3.8.0.ebuild 
b/sci-libs/lapack/lapack-3.8.0.ebuild
index 3167f4c22b5..7b7241aeb31 100644
--- a/sci-libs/lapack/lapack-3.8.0.ebuild
+++ b/sci-libs/lapack/lapack-3.8.0.ebuild
@@ -11,7 +11,7 @@ SRC_URI="http://www.netlib.org/${PN}/${P}.tar.gz;
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~s390 sparc x86 
~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
+KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 ~s390 sparc x86 
~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
 IUSE="lapacke doc eselect-ldso"
 # TODO: static-libs 64bit-index
 



[gentoo-commits] repo/gentoo:master commit in: sci-libs/lapack/

2020-05-20 Thread Agostino Sarubbo
commit: 311e366c5cb9000a770f15568648d7ff452503a3
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Wed May 20 06:25:23 2020 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Wed May 20 06:25:23 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=311e366c

sci-libs/lapack: sparc stable wrt bug #698756

Package-Manager: Portage-2.3.99, Repoman-2.3.22
RepoMan-Options: --include-arches="sparc"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 sci-libs/lapack/lapack-3.8.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-libs/lapack/lapack-3.8.0.ebuild 
b/sci-libs/lapack/lapack-3.8.0.ebuild
index 00c22e49a87..3167f4c22b5 100644
--- a/sci-libs/lapack/lapack-3.8.0.ebuild
+++ b/sci-libs/lapack/lapack-3.8.0.ebuild
@@ -11,7 +11,7 @@ SRC_URI="http://www.netlib.org/${PN}/${P}.tar.gz;
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~s390 ~sparc x86 
~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~s390 sparc x86 
~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
 IUSE="lapacke doc eselect-ldso"
 # TODO: static-libs 64bit-index
 



[gentoo-commits] repo/gentoo:master commit in: sci-libs/lapack/

2020-03-07 Thread Benda XU
commit: 09e858da1b3331b1ed8786235a3e3bdb9732956d
Author: Alessandro Barbieri  gmail  com>
AuthorDate: Sat Feb 29 10:49:33 2020 +
Commit: Benda XU  gentoo  org>
CommitDate: Sun Mar  8 04:34:46 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=09e858da

sci-libs/lapack: readd deprecated functions.

Reported-By: leoricupero  gmail.com
Closes: https://bugs.gentoo.org/702254
Closes: https://github.com/gentoo/gentoo/pull/14803
Package-Manager: Portage-2.3.89, Repoman-2.3.20
Signed-off-by: Alessandro Barbieri  gmail.com>
Signed-off-by: Benda Xu  gentoo.org>

 sci-libs/lapack/lapack-3.8.0-r1.ebuild | 92 ++
 sci-libs/lapack/metadata.xml   |  1 +
 2 files changed, 93 insertions(+)

diff --git a/sci-libs/lapack/lapack-3.8.0-r1.ebuild 
b/sci-libs/lapack/lapack-3.8.0-r1.ebuild
new file mode 100644
index 000..bf8ffd46029
--- /dev/null
+++ b/sci-libs/lapack/lapack-3.8.0-r1.ebuild
@@ -0,0 +1,92 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+CMAKE_MAKEFILE_GENERATOR=emake
+inherit cmake-utils
+
+DESCRIPTION="BLAS,CBLAS,LAPACK,LAPACKE reference implementations"
+HOMEPAGE="http://www.netlib.org/lapack/;
+SRC_URI="http://www.netlib.org/${PN}/${P}.tar.gz;
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc 
~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
+IUSE="lapacke deprecated doc eselect-ldso"
+# TODO: static-libs 64bit-index
+
+RDEPEND="
+   eselect-ldso? ( >=app-eselect/eselect-blas-0.2
+   >=app-eselect/eselect-lapack-0.2 )
+   !app-eselect/eselect-cblas
+   !sci-libs/blas-reference
+   !sci-libs/cblas-reference
+   !sci-libs/lapack-reference
+   !sci-libs/lapacke-reference
+   virtual/fortran
+   doc? ( app-doc/blas-docs )"
+DEPEND="${RDEPEND}
+   virtual/pkgconfig"
+
+src_configure() {
+   local mycmakeargs=(
+   -DCBLAS=ON
+   -DLAPACKE=$(usex lapacke)
+   -DBUILD_DEPRECATED=$(usex deprecated)
+   -DBUILD_SHARED_LIBS=ON
+   )
+   cmake-utils_src_configure
+}
+
+src_install() {
+   cmake-utils_src_install
+
+   use eselect-ldso || return
+   # Create private lib directory for eselect::blas (ld.so.conf)
+   dodir /usr/$(get_libdir)/blas/reference
+   dosym ../../libblas.so usr/$(get_libdir)/blas/reference/libblas.so
+   dosym ../../libblas.so.3 usr/$(get_libdir)/blas/reference/libblas.so.3
+   dosym ../../libcblas.so usr/$(get_libdir)/blas/reference/libcblas.so
+   dosym ../../libcblas.so.3 usr/$(get_libdir)/blas/reference/libcblas.so.3
+
+   # Create private lib directory for eselect::lapack (ld.so.conf)
+   dodir /usr/$(get_libdir)/lapack/reference
+   dosym ../../liblapack.so usr/$(get_libdir)/lapack/reference/liblapack.so
+   dosym ../../liblapack.so.3 
usr/$(get_libdir)/lapack/reference/liblapack.so.3
+}
+
+pkg_postinst() {
+   use eselect-ldso || return
+
+   local me=reference libdir=$(get_libdir)
+   # check eselect-blas
+   eselect blas add ${libdir} "${EROOT}"/usr/${libdir}/blas/${me} ${me}
+   local current_blas=$(eselect blas show ${libdir} | cut -d' ' -f2)
+   if [[ ${current_blas} == ${me} || -z ${current_blas} ]]; then
+   eselect blas set ${libdir} ${me}
+   elog "Current eselect: BLAS ($libdir) -> [${current_blas}]."
+   else
+   elog "Current eselect: BLAS ($libdir) -> [${current_blas}]."
+   elog "To use blas [${me}] implementation, you have to issue (as 
root):"
+   elog "\t eselect blas set ${libdir} ${me}"
+   fi
+
+   # check eselect-lapack
+   eselect lapack add ${libdir} "${EROOT}"/usr/${libdir}/lapack/${me} ${me}
+   local current_lapack=$(eselect lapack show ${libdir} | cut -d' ' -f2)
+   if [[ ${current_lapack} == ${me} || -z ${current_lapack} ]]; then
+   eselect lapack set ${libdir} ${me}
+   elog "Current eselect: LAPACK ($libdir) -> [${current_lapack}]."
+   else
+   elog "Current eselect: LAPACK ($libdir) -> [${current_lapack}]."
+   elog "To use lapack [${me}] implementation, you have to issue 
(as root):"
+   elog "\t eselect lapack set ${libdir} ${me}"
+   fi
+}
+
+pkg_postrm() {
+   use eselect-ldso || return
+
+   eselect blas validate
+   eselect lapack validate
+}

diff --git a/sci-libs/lapack/metadata.xml b/sci-libs/lapack/metadata.xml
index adc276993c4..e4cd26e0166 100644
--- a/sci-libs/lapack/metadata.xml
+++ b/sci-libs/lapack/metadata.xml
@@ -23,6 +23,7 @@ that has found extensive use in the scientific community.
 This package installs the reference FORTRAN 77 implementation from Netlib.
   
   
+Also build deprecated functions
 Build LAPACKE
 Enable runtime library switching by
 eselect and ld.so.



[gentoo-commits] repo/gentoo:master commit in: sci-libs/lapack/

2020-02-08 Thread David Seifert
commit: 9272dbf42dee789cc3d5d9af35c5eda5433a7892
Author: David Seifert  gentoo  org>
AuthorDate: Sat Feb  8 17:05:52 2020 +
Commit: David Seifert  gentoo  org>
CommitDate: Sat Feb  8 17:05:52 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9272dbf4

sci-libs/lapack: [QA] Remove unnecessary -DCMAKE_INSTALL_PREFIX arguments

Signed-off-by: David Seifert  gentoo.org>

 sci-libs/lapack/lapack-3.8.0.ebuild | 1 -
 1 file changed, 1 deletion(-)

diff --git a/sci-libs/lapack/lapack-3.8.0.ebuild 
b/sci-libs/lapack/lapack-3.8.0.ebuild
index 8ad78cf1325..3c90d0068c8 100644
--- a/sci-libs/lapack/lapack-3.8.0.ebuild
+++ b/sci-libs/lapack/lapack-3.8.0.ebuild
@@ -32,7 +32,6 @@ src_configure() {
local mycmakeargs=(
-DCBLAS=ON
-DLAPACKE=$(usex lapacke)
-   -DCMAKE_INSTALL_PREFIX="${EPREFIX}"/usr
-DBUILD_SHARED_LIBS=ON
)
cmake-utils_src_configure



[gentoo-commits] repo/gentoo:master commit in: sci-libs/lapack/

2019-12-24 Thread Mikle Kolyada
commit: f7df37747cb9771ef43718982fa2f27c306a7ddd
Author: Mikle Kolyada  gentoo  org>
AuthorDate: Tue Dec 24 20:03:24 2019 +
Commit: Mikle Kolyada  gentoo  org>
CommitDate: Tue Dec 24 20:03:24 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f7df3774

sci-libs/lapack: alpha stable wrt bug #698756

Package-Manager: Portage-2.3.79, Repoman-2.3.16
RepoMan-Options: --include-arches="alpha"
Signed-off-by: Mikle Kolyada  gentoo.org>

 sci-libs/lapack/lapack-3.8.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-libs/lapack/lapack-3.8.0.ebuild 
b/sci-libs/lapack/lapack-3.8.0.ebuild
index 8ad78cf1325..8a158e8dd50 100644
--- a/sci-libs/lapack/lapack-3.8.0.ebuild
+++ b/sci-libs/lapack/lapack-3.8.0.ebuild
@@ -11,7 +11,7 @@ SRC_URI="http://www.netlib.org/${PN}/${P}.tar.gz;
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ia64 ~mips ppc ppc64 ~s390 ~sparc x86 
~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
+KEYWORDS="alpha amd64 arm arm64 ~hppa ia64 ~mips ppc ppc64 ~s390 ~sparc x86 
~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
 IUSE="lapacke doc eselect-ldso"
 # TODO: static-libs 64bit-index
 



[gentoo-commits] repo/gentoo:master commit in: sci-libs/lapack/

2019-12-01 Thread Sergei Trofimovich
commit: c87f0dd8180bc8afd56432d1c910ffadf36c9f9a
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Sun Dec  1 14:00:38 2019 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Sun Dec  1 14:00:38 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c87f0dd8

sci-libs/lapack: stable 3.8.0 for ppc64, bug #698756

Package-Manager: Portage-2.3.80, Repoman-2.3.19
RepoMan-Options: --include-arches="ppc64"
Signed-off-by: Sergei Trofimovich  gentoo.org>

 sci-libs/lapack/lapack-3.8.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-libs/lapack/lapack-3.8.0.ebuild 
b/sci-libs/lapack/lapack-3.8.0.ebuild
index 1e56c6d4165..8ad78cf1325 100644
--- a/sci-libs/lapack/lapack-3.8.0.ebuild
+++ b/sci-libs/lapack/lapack-3.8.0.ebuild
@@ -11,7 +11,7 @@ SRC_URI="http://www.netlib.org/${PN}/${P}.tar.gz;
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ia64 ~mips ppc ~ppc64 ~s390 ~sparc x86 
~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ia64 ~mips ppc ppc64 ~s390 ~sparc x86 
~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
 IUSE="lapacke doc eselect-ldso"
 # TODO: static-libs 64bit-index
 



[gentoo-commits] repo/gentoo:master commit in: sci-libs/lapack/

2019-11-23 Thread Aaron Bauman
commit: 9bc2f03213f2a6ffe745f7b343748a4e33d427a4
Author: Aaron Bauman  gentoo  org>
AuthorDate: Sun Nov 24 04:23:17 2019 +
Commit: Aaron Bauman  gentoo  org>
CommitDate: Sun Nov 24 04:23:17 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9bc2f032

sci-libs/lapack: arm64 stable (bug #698756)

Signed-off-by: Aaron Bauman  gentoo.org>
Package-Manager: Portage-2.3.79, Repoman-2.3.18

 sci-libs/lapack/lapack-3.8.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-libs/lapack/lapack-3.8.0.ebuild 
b/sci-libs/lapack/lapack-3.8.0.ebuild
index 2ad60963823..1e56c6d4165 100644
--- a/sci-libs/lapack/lapack-3.8.0.ebuild
+++ b/sci-libs/lapack/lapack-3.8.0.ebuild
@@ -11,7 +11,7 @@ SRC_URI="http://www.netlib.org/${PN}/${P}.tar.gz;
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ia64 ~mips ppc ~ppc64 ~s390 ~sparc x86 
~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ia64 ~mips ppc ~ppc64 ~s390 ~sparc x86 
~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
 IUSE="lapacke doc eselect-ldso"
 # TODO: static-libs 64bit-index
 



[gentoo-commits] repo/gentoo:master commit in: sci-libs/lapack/

2019-11-15 Thread Agostino Sarubbo
commit: e9f0a0e05b3903272a59d14e7891c648ff60
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Fri Nov 15 12:47:21 2019 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Fri Nov 15 12:47:21 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e9f0

sci-libs/lapack: amd64 stable wrt bug #698756

Package-Manager: Portage-2.3.76, Repoman-2.3.16
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 sci-libs/lapack/lapack-3.8.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-libs/lapack/lapack-3.8.0.ebuild 
b/sci-libs/lapack/lapack-3.8.0.ebuild
index a12e480344c..77c82672e9a 100644
--- a/sci-libs/lapack/lapack-3.8.0.ebuild
+++ b/sci-libs/lapack/lapack-3.8.0.ebuild
@@ -11,7 +11,7 @@ SRC_URI="http://www.netlib.org/${PN}/${P}.tar.gz;
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc 
x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
+KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc 
x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
 IUSE="lapacke doc eselect-ldso"
 # TODO: static-libs 64bit-index
 



[gentoo-commits] repo/gentoo:master commit in: sci-libs/lapack/

2019-11-01 Thread Mikle Kolyada
commit: 51db39278b3b2cac5faaa16a8d5b05bd2ca208ea
Author: Mikle Kolyada  gentoo  org>
AuthorDate: Fri Nov  1 11:14:06 2019 +
Commit: Mikle Kolyada  gentoo  org>
CommitDate: Fri Nov  1 11:14:06 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=51db3927

sci-libs/lapack: arm stable wrt bug #698756

Package-Manager: Portage-2.3.76, Repoman-2.3.16
RepoMan-Options: --include-arches="arm"
Signed-off-by: Mikle Kolyada  gentoo.org>

 sci-libs/lapack/lapack-3.8.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-libs/lapack/lapack-3.8.0.ebuild 
b/sci-libs/lapack/lapack-3.8.0.ebuild
index d564fb2dde5..a12e480344c 100644
--- a/sci-libs/lapack/lapack-3.8.0.ebuild
+++ b/sci-libs/lapack/lapack-3.8.0.ebuild
@@ -11,7 +11,7 @@ SRC_URI="http://www.netlib.org/${PN}/${P}.tar.gz;
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc 
x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
+KEYWORDS="~alpha ~amd64 arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc 
x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
 IUSE="lapacke doc eselect-ldso"
 # TODO: static-libs 64bit-index
 



[gentoo-commits] repo/gentoo:master commit in: sci-libs/lapack/

2019-10-31 Thread Thomas Deutschmann
commit: 54d297cae58804e54fd80dee440750fce08fb901
Author: Thomas Deutschmann  gentoo  org>
AuthorDate: Thu Oct 31 23:17:41 2019 +
Commit: Thomas Deutschmann  gentoo  org>
CommitDate: Thu Oct 31 23:17:41 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=54d297ca

sci-libs/lapack: x86 stable (bug #698756)

Package-Manager: Portage-2.3.78, Repoman-2.3.17
Signed-off-by: Thomas Deutschmann  gentoo.org>

 sci-libs/lapack/lapack-3.8.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-libs/lapack/lapack-3.8.0.ebuild 
b/sci-libs/lapack/lapack-3.8.0.ebuild
index 223eeadad7b..d564fb2dde5 100644
--- a/sci-libs/lapack/lapack-3.8.0.ebuild
+++ b/sci-libs/lapack/lapack-3.8.0.ebuild
@@ -11,7 +11,7 @@ SRC_URI="http://www.netlib.org/${PN}/${P}.tar.gz;
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc 
~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc 
x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
 IUSE="lapacke doc eselect-ldso"
 # TODO: static-libs 64bit-index
 



[gentoo-commits] repo/gentoo:master commit in: sci-libs/lapack/

2019-06-25 Thread Benda XU
commit: 77adee6db459011c15b367044c0171f61be8b531
Author: Mo Zhou  gmail  com>
AuthorDate: Wed Jun 26 02:24:04 2019 +
Commit: Benda XU  gentoo  org>
CommitDate: Wed Jun 26 03:11:38 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=77adee6d

sci-libs/lapack: new ebuild for lapack that enables runtime switching.

This ebuild replaces {blas,cblas,lapack,lapacke}-reference ebuild
files.

Closes: https://github.com/gentoo/gentoo/pull/12319

Signed-off-by: Mo Zhou  gmail.com>
Signed-off-by: Benda Xu  gentoo.org>

 sci-libs/lapack/Manifest|  1 +
 sci-libs/lapack/lapack-3.8.0.ebuild | 88 +
 sci-libs/lapack/metadata.xml| 28 
 3 files changed, 117 insertions(+)

diff --git a/sci-libs/lapack/Manifest b/sci-libs/lapack/Manifest
new file mode 100644
index 000..fe865c2bdc8
--- /dev/null
+++ b/sci-libs/lapack/Manifest
@@ -0,0 +1 @@
+DIST lapack-3.8.0.tar.gz 7426094 BLAKE2B 
27cd75eea498250382b2df6f5d7dc95fdee8d37b1a0faba5296ca0145ec40a1165a4ecc727aa1647086be6783b50cf475f79cea0f30f541da789051db99b2f37
 SHA512 
17786cb7306fccdc9b4a242de7f64fc261ebe6a10b6ec55f519deb4cb673cb137e8742aa5698fd2dc52f1cd56d3bd116af3f593a01dcf6770c4dcc86c50b2a7f

diff --git a/sci-libs/lapack/lapack-3.8.0.ebuild 
b/sci-libs/lapack/lapack-3.8.0.ebuild
new file mode 100644
index 000..df848e027d5
--- /dev/null
+++ b/sci-libs/lapack/lapack-3.8.0.ebuild
@@ -0,0 +1,88 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+CMAKE_MAKEFILE_GENERATOR=emake
+inherit cmake-utils
+
+DESCRIPTION="BLAS,CBLAS,LAPACK,LAPACKE reference implementations"
+HOMEPAGE="http://www.netlib.org/lapack/;
+SRC_URI="http://www.netlib.org/${PN}/${P}.tar.gz;
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc 
~x86"
+IUSE="lapacke doc"
+# TODO: static-libs 64bit-index
+
+RDEPEND="
+   >=app-eselect/eselect-blas-0.2
+   >=app-eselect/eselect-lapack-0.2
+   !app-eselect/eselect-cblas
+   !sci-libs/blas-reference
+   !sci-libs/cblas-reference
+   !sci-libs/lapack-reference
+   !sci-libs/lapacke-reference
+   doc? ( app-doc/blas-docs )
+   virtual/pkgconfig"
+DEPEND="${RDEPEND}
+   virtual/fortran"
+
+src_configure() {
+   local mycmakeargs=(
+   -DCBLAS=ON
+   -DLAPACKE=$(usex lapacke)
+   -DCMAKE_INSTALL_PREFIX="${EPREFIX}"/usr
+   -DBUILD_SHARED_LIBS=ON
+   )
+   cmake-utils_src_configure
+}
+
+src_install () {
+   cmake-utils_src_install
+
+   # Create private lib directory for eselect::blas (ld.so.conf)
+   dodir /usr/$(get_libdir)/blas/reference
+   dosym ../../libblas.so usr/$(get_libdir)/blas/reference/libblas.so
+   dosym ../../libblas.so.3 usr/$(get_libdir)/blas/reference/libblas.so.3
+   dosym ../../libcblas.so usr/$(get_libdir)/blas/reference/libcblas.so
+   dosym ../../libcblas.so.3 usr/$(get_libdir)/blas/reference/libcblas.so.3
+
+   # Create private lib directory for eselect::lapack (ld.so.conf)
+   dodir /usr/$(get_libdir)/lapack/reference
+   dosym ../../liblapack.so usr/$(get_libdir)/lapack/reference/liblapack.so
+   dosym ../../liblapack.so.3 
usr/$(get_libdir)/lapack/reference/liblapack.so.3
+}
+
+pkg_postinst () {
+   local me=reference libdir=$(get_libdir)
+
+   # check eselect-blas
+   eselect blas add ${libdir} "${EROOT}"/usr/${libdir}/blas/${me} ${me}
+   local current_blas=$(eselect blas show ${libdir} | cut -d' ' -f2)
+   if [[ ${current_blas} == ${me} || -z ${current_blas} ]]; then
+   eselect blas set ${libdir} ${me}
+   elog "Current eselect: BLAS ($libdir) -> [${current_blas}]."
+   else
+   elog "Current eselect: BLAS ($libdir) -> [${current_blas}]."
+   elog "To use blas [${me}] implementation, you have to issue (as 
root):"
+   elog "\t eselect blas set ${libdir} ${me}"
+   fi
+
+   # check eselect-lapack
+   eselect lapack add ${libdir} "${EROOT}"/usr/${libdir}/lapack/${me} ${me}
+   local current_lapack=$(eselect lapack show ${libdir} | cut -d' ' -f2)
+   if [[ ${current_lapack} == ${me} || -z ${current_lapack} ]]; then
+   eselect lapack set ${libdir} ${me}
+   elog "Current eselect: LAPACK ($libdir) -> [${current_lapack}]."
+   else
+   elog "Current eselect: LAPACK ($libdir) -> [${current_lapack}]."
+   elog "To use lapack [${me}] implementation, you have to issue 
(as root):"
+   elog "\t eselect lapack set ${libdir} ${me}"
+   fi
+}
+
+pkg_postrm () {
+   eselect blas validate
+   eselect lapack validate
+}

diff --git a/sci-libs/lapack/metadata.xml b/sci-libs/lapack/metadata.xml
new file mode 100644
index 000..7b291ef6bfd
--- /dev/null
+++ b/sci-libs/lapack/metadata.xml
@@ 

[gentoo-commits] repo/gentoo:master commit in: sci-libs/lapack-reference/

2019-05-16 Thread Aaron Bauman
commit: d78b49cd586df0606383b5086a4f0a322619642c
Author: Aaron Bauman  gentoo  org>
AuthorDate: Thu May 16 15:10:27 2019 +
Commit: Aaron Bauman  gentoo  org>
CommitDate: Thu May 16 19:27:20 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d78b49cd

sci-libs/lapack-reference: arm64 stable

Signed-off-by: Aaron Bauman  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="



[gentoo-commits] repo/gentoo:master commit in: sci-libs/lapack-reference/

2018-08-16 Thread Mikle Kolyada
commit: eccdc519d269ee2f721ac8052740ded32e42b071
Author: Mikle Kolyada  gentoo  org>
AuthorDate: Fri Aug 17 02:00:33 2018 +
Commit: Mikle Kolyada  gentoo  org>
CommitDate: Fri Aug 17 02:05:14 2018 +
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="



[gentoo-commits] repo/gentoo:master commit in: sci-libs/lapack-reference/

2017-10-15 Thread David Seifert
commit: 73f79f8effc24497fc600909168f29b49e9dc636
Author: David Seifert  gentoo  org>
AuthorDate: Mon Oct 16 03:01:19 2017 +
Commit: David Seifert  gentoo  org>
CommitDate: Mon Oct 16 03:01:19 2017 +
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
 



  1   2   >