* [gentoo-commits] repo/gentoo:master commit in: sci-libs/superlu_mt/
@ 2020-01-14 14:56 Agostino Sarubbo
0 siblings, 0 replies; 11+ messages in thread
From: Agostino Sarubbo @ 2020-01-14 14:56 UTC (permalink / raw
To: gentoo-commits
commit: d17dd4989954d594f6dbe8b6daec99370df9236a
Author: Agostino Sarubbo <ago <AT> gentoo <DOT> org>
AuthorDate: Tue Jan 14 14:56:01 2020 +0000
Commit: Agostino Sarubbo <ago <AT> gentoo <DOT> org>
CommitDate: Tue Jan 14 14:56:01 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d17dd498
sci-libs/superlu_mt: amd64 stable wrt bug #705134
Package-Manager: Portage-2.3.79, Repoman-2.3.16
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo <ago <AT> gentoo.org>
sci-libs/superlu_mt/superlu_mt-3.1.ebuild | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/sci-libs/superlu_mt/superlu_mt-3.1.ebuild b/sci-libs/superlu_mt/superlu_mt-3.1.ebuild
index 5c7743f7d6e..bd98796402d 100644
--- a/sci-libs/superlu_mt/superlu_mt-3.1.ebuild
+++ b/sci-libs/superlu_mt/superlu_mt-3.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -14,7 +14,7 @@ SRC_URI="http://crd.lbl.gov/~xiaoye/SuperLU/${PN}_${PV}.tar.gz"
LICENSE="BSD"
SLOT="0/${SOVERSION}"
-KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="amd64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux"
IUSE="doc examples int64 openmp static-libs test threads"
RESTRICT="!test? ( test )"
REQUIRED_USE="|| ( openmp threads )"
^ permalink raw reply related [flat|nested] 11+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-libs/superlu_mt/
@ 2020-12-07 15:27 Sam James
0 siblings, 0 replies; 11+ messages in thread
From: Sam James @ 2020-12-07 15:27 UTC (permalink / raw
To: gentoo-commits
commit: 39262e42e04ad1db1856012dbe7adb1a040cfea4
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon Dec 7 15:24:32 2020 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Dec 7 15:24:32 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=39262e42
sci-libs/superlu_mt: Keyword 3.1 arm, #757822
Signed-off-by: Sam James <sam <AT> gentoo.org>
sci-libs/superlu_mt/superlu_mt-3.1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sci-libs/superlu_mt/superlu_mt-3.1.ebuild b/sci-libs/superlu_mt/superlu_mt-3.1.ebuild
index bd98796402d..cef9924e66e 100644
--- a/sci-libs/superlu_mt/superlu_mt-3.1.ebuild
+++ b/sci-libs/superlu_mt/superlu_mt-3.1.ebuild
@@ -14,7 +14,7 @@ SRC_URI="http://crd.lbl.gov/~xiaoye/SuperLU/${PN}_${PV}.tar.gz"
LICENSE="BSD"
SLOT="0/${SOVERSION}"
-KEYWORDS="amd64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="amd64 ~arm ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux"
IUSE="doc examples int64 openmp static-libs test threads"
RESTRICT="!test? ( test )"
REQUIRED_USE="|| ( openmp threads )"
^ permalink raw reply related [flat|nested] 11+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-libs/superlu_mt/
@ 2020-12-07 15:27 Sam James
0 siblings, 0 replies; 11+ messages in thread
From: Sam James @ 2020-12-07 15:27 UTC (permalink / raw
To: gentoo-commits
commit: 5deddf081fc1291f294f94cca43b934c83bce763
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon Dec 7 15:27:42 2020 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Dec 7 15:27:42 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5deddf08
sci-libs/superlu_mt: arm64 keyworded (bug #757822)
Package-Manager: Portage-3.0.9, Repoman-3.0.2
Signed-off-by: Sam James <sam <AT> gentoo.org>
sci-libs/superlu_mt/superlu_mt-3.1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sci-libs/superlu_mt/superlu_mt-3.1.ebuild b/sci-libs/superlu_mt/superlu_mt-3.1.ebuild
index cef9924e66e..d7ff2878b1c 100644
--- a/sci-libs/superlu_mt/superlu_mt-3.1.ebuild
+++ b/sci-libs/superlu_mt/superlu_mt-3.1.ebuild
@@ -14,7 +14,7 @@ SRC_URI="http://crd.lbl.gov/~xiaoye/SuperLU/${PN}_${PV}.tar.gz"
LICENSE="BSD"
SLOT="0/${SOVERSION}"
-KEYWORDS="amd64 ~arm ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux"
IUSE="doc examples int64 openmp static-libs test threads"
RESTRICT="!test? ( test )"
REQUIRED_USE="|| ( openmp threads )"
^ permalink raw reply related [flat|nested] 11+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-libs/superlu_mt/
@ 2021-10-12 22:23 Marek Szuba
0 siblings, 0 replies; 11+ messages in thread
From: Marek Szuba @ 2021-10-12 22:23 UTC (permalink / raw
To: gentoo-commits
commit: b45a40c4bb99747a5d1df39f387fb15af0863a7e
Author: Marek Szuba <marecki <AT> gentoo <DOT> org>
AuthorDate: Tue Oct 12 22:21:50 2021 +0000
Commit: Marek Szuba <marecki <AT> gentoo <DOT> org>
CommitDate: Tue Oct 12 22:22:59 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b45a40c4
sci-libs/superlu_mt: update EAPI 6 -> 8
Signed-off-by: Marek Szuba <marecki <AT> gentoo.org>
sci-libs/superlu_mt/superlu_mt-3.1.ebuild | 28 ++++++++++++++--------------
1 file changed, 14 insertions(+), 14 deletions(-)
diff --git a/sci-libs/superlu_mt/superlu_mt-3.1.ebuild b/sci-libs/superlu_mt/superlu_mt-3.1.ebuild
index dd832bde77b..f631900a16d 100644
--- a/sci-libs/superlu_mt/superlu_mt-3.1.ebuild
+++ b/sci-libs/superlu_mt/superlu_mt-3.1.ebuild
@@ -1,12 +1,12 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
+EAPI=8
-inherit toolchain-funcs versionator
+inherit toolchain-funcs
-MYPN=SuperLU_MT
-SOVERSION=$(get_major_version)
+MY_PN=SuperLU_MT
+SOVERSION=$(ver_cut 1)
DESCRIPTION="Multithreaded sparse LU factorization library"
HOMEPAGE="https://portal.nersc.gov/project/sparse/superlu/"
@@ -20,13 +20,13 @@ RESTRICT="!test? ( test )"
REQUIRED_USE="|| ( openmp threads )"
RDEPEND="virtual/blas"
-DEPEND="${RDEPEND}
- virtual/pkgconfig
+DEPEND="${RDEPEND}"
+BDEPEND="virtual/pkgconfig
test? ( app-shells/tcsh )"
-S="${WORKDIR}/${MYPN}_${PV}"
+S="${WORKDIR}/${MY_PN}_${PV}"
-PATCHES=( "${FILESDIR}"/${P}-duplicate-symbols.patch )
+PATCHES=( "${FILESDIR}"/${PN}-3.1-duplicate-symbols.patch )
pkg_setup() {
if use openmp && ! use threads; then
@@ -71,10 +71,10 @@ src_prepare() {
src_compile() {
# shared library
emake PIC="-fPIC" \
- ARCH="echo" \
- ARCHFLAGS="" \
- RANLIB="echo" \
- superlulib
+ ARCH="echo" \
+ ARCHFLAGS="" \
+ RANLIB="echo" \
+ superlulib
$(tc-getCC) ${LDFLAGS} ${LDTHREADS} -shared -Wl,-soname=${SONAME} SRC/*.o \
$($(tc-getPKG_CONFIG) --libs blas) -lm -o lib/${SONAME} || die
ln -s ${SONAME} lib/libsuperlu_mt.so || die
@@ -97,7 +97,7 @@ src_install() {
dodoc README
use doc && dodoc DOC/ug.pdf
if use examples; then
- insinto /usr/share/doc/${PF}/examples
- doins -r EXAMPLE/* make.inc
+ docinto /examples
+ dodoc -r EXAMPLE/* make.inc
fi
}
^ permalink raw reply related [flat|nested] 11+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-libs/superlu_mt/
@ 2021-10-12 22:23 Marek Szuba
0 siblings, 0 replies; 11+ messages in thread
From: Marek Szuba @ 2021-10-12 22:23 UTC (permalink / raw
To: gentoo-commits
commit: bbc4414683acafe1935020ddaf966b9ef46e7378
Author: Marek Szuba <marecki <AT> gentoo <DOT> org>
AuthorDate: Tue Oct 12 22:08:08 2021 +0000
Commit: Marek Szuba <marecki <AT> gentoo <DOT> org>
CommitDate: Tue Oct 12 22:22:57 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bbc44146
sci-libs/superlu_mt: update HOMEPAGE, SRC_URI
Signed-off-by: Marek Szuba <marecki <AT> gentoo.org>
sci-libs/superlu_mt/superlu_mt-3.1.ebuild | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/sci-libs/superlu_mt/superlu_mt-3.1.ebuild b/sci-libs/superlu_mt/superlu_mt-3.1.ebuild
index 54397230e5c..dd832bde77b 100644
--- a/sci-libs/superlu_mt/superlu_mt-3.1.ebuild
+++ b/sci-libs/superlu_mt/superlu_mt-3.1.ebuild
@@ -9,8 +9,8 @@ MYPN=SuperLU_MT
SOVERSION=$(get_major_version)
DESCRIPTION="Multithreaded sparse LU factorization library"
-HOMEPAGE="http://crd.lbl.gov/~xiaoye/SuperLU/"
-SRC_URI="http://crd.lbl.gov/~xiaoye/SuperLU/${PN}_${PV}.tar.gz"
+HOMEPAGE="https://portal.nersc.gov/project/sparse/superlu/"
+SRC_URI="https://portal.nersc.gov/project/sparse/superlu/${PN}_${PV}.tar.gz"
LICENSE="BSD"
SLOT="0/${SOVERSION}"
^ permalink raw reply related [flat|nested] 11+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-libs/superlu_mt/
@ 2021-11-28 20:52 Marek Szuba
0 siblings, 0 replies; 11+ messages in thread
From: Marek Szuba @ 2021-11-28 20:52 UTC (permalink / raw
To: gentoo-commits
commit: b25061d0cf0d41213c90ebab0845ed3f50403eef
Author: Marek Szuba <marecki <AT> gentoo <DOT> org>
AuthorDate: Sun Nov 28 20:48:56 2021 +0000
Commit: Marek Szuba <marecki <AT> gentoo <DOT> org>
CommitDate: Sun Nov 28 20:48:56 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b25061d0
sci-libs/superlu_mt: apply Alex's PREDEFS patch
New revision because it changes runtime behaviour for USE=int64 users.
Closes: https://bugs.gentoo.org/817680
Closes: https://github.com/gentoo/gentoo/pull/23063
Signed-off-by: Marek Szuba <marecki <AT> gentoo.org>
sci-libs/superlu_mt/superlu_mt-3.1-r1.ebuild | 105 +++++++++++++++++++++++++++
1 file changed, 105 insertions(+)
diff --git a/sci-libs/superlu_mt/superlu_mt-3.1-r1.ebuild b/sci-libs/superlu_mt/superlu_mt-3.1-r1.ebuild
new file mode 100644
index 000000000000..23f70df88150
--- /dev/null
+++ b/sci-libs/superlu_mt/superlu_mt-3.1-r1.ebuild
@@ -0,0 +1,105 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit toolchain-funcs
+
+MY_PN=SuperLU_MT
+SOVERSION=$(ver_cut 1)
+
+DESCRIPTION="Multithreaded sparse LU factorization library"
+HOMEPAGE="https://portal.nersc.gov/project/sparse/superlu/"
+SRC_URI="https://portal.nersc.gov/project/sparse/superlu/${PN}_${PV}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0/${SOVERSION}"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux"
+IUSE="doc examples int64 openmp static-libs test threads"
+RESTRICT="!test? ( test )"
+REQUIRED_USE="|| ( openmp threads )"
+
+RDEPEND="virtual/blas"
+DEPEND="${RDEPEND}"
+BDEPEND="virtual/pkgconfig
+ test? ( app-shells/tcsh )"
+
+S="${WORKDIR}/${MY_PN}_${PV}"
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-3.1-duplicate-symbols.patch
+ "${FILESDIR}"/${PN}-3.1-fix-predefs.patch
+)
+
+pkg_setup() {
+ if use openmp && ! use threads; then
+ if [[ $(tc-getCC) == *gcc ]] && ! tc-has-openmp; then
+ ewarn "OpenMP is not available in your current selected gcc"
+ die "need openmp capable gcc"
+ fi
+ CTHREADS="-D__OPENMP"
+ [[ $(tc-getCC) == *gcc ]] && LDTHREADS="-fopenmp"
+ else
+ CTHREADS="-D__PTHREAD"
+ LDTHREADS="-pthread"
+ fi
+}
+
+src_prepare() {
+ default
+ cat <<-EOF > make.inc
+ CC=$(tc-getCC)
+ LOADER=$(tc-getCC)
+ ARCH=$(tc-getAR)
+ RANLIB=$(tc-getRANLIB)
+ PREDEFS=${CPPFLAGS} -DUSE_VENDOR_BLAS -DPRNTlevel=0 -DDEBUGlevel=0 $(use int64 && echo -D_LONGINT)
+ CDEFS=-DAdd_
+ CFLAGS=${CFLAGS} ${CTHREADS} \$(PIC)
+ BLASLIB=$($(tc-getPKG_CONFIG) --libs blas)
+ MATHLIB=-lm
+ NOOPTS=-O0 \$(PIC)
+ ARCHFLAGS=cr
+ LOADOPTS=${LDFLAGS} ${LDTHREADS}
+ SUPERLULIB=lib${PN}.a
+ TMGLIB=libtmglib.a
+ EOF
+ SONAME=lib${PN}.so.${SOVERSION}
+ sed -e "s|../SRC|${EPREFIX}/usr/include/${PN}|" \
+ -e '/:.*$(SUPERLULIB)/s|../lib/$(SUPERLULIB)||g' \
+ -e 's|../lib/$(SUPERLULIB)|-lsuperlu_mt|g' \
+ -i EXAMPLE/Makefile || die
+}
+
+src_compile() {
+ # shared library
+ emake PIC="-fPIC" \
+ ARCH="echo" \
+ ARCHFLAGS="" \
+ RANLIB="echo" \
+ superlulib
+ $(tc-getCC) ${LDFLAGS} ${LDTHREADS} -shared -Wl,-soname=${SONAME} SRC/*.o \
+ $($(tc-getPKG_CONFIG) --libs blas) -lm -o lib/${SONAME} || die
+ ln -s ${SONAME} lib/libsuperlu_mt.so || die
+
+ use static-libs && rm -f SRC/*.o && \
+ emake PIC="" superlulib
+}
+
+src_test() {
+ emake -j1 tmglib
+ LD_LIBRARY_PATH="${S}/lib:${LD_LIBRARY_PATH}" \
+ emake SUPERLULIB="${SONAME}" testing
+}
+
+src_install() {
+ dolib.so lib/*so*
+ use static-libs && dolib.a lib/*.a
+ insinto /usr/include/${PN}
+ doins SRC/*h
+ dodoc README
+ use doc && dodoc DOC/ug.pdf
+ if use examples; then
+ docinto /examples
+ dodoc -r EXAMPLE/* make.inc
+ fi
+}
^ permalink raw reply related [flat|nested] 11+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-libs/superlu_mt/
@ 2021-12-01 6:37 Yixun Lan
0 siblings, 0 replies; 11+ messages in thread
From: Yixun Lan @ 2021-12-01 6:37 UTC (permalink / raw
To: gentoo-commits
commit: eee033af537d2cee720a9cbfd8f4b871c4964853
Author: Alex Fan <alex.fan.q <AT> gmail <DOT> com>
AuthorDate: Tue Nov 30 10:54:48 2021 +0000
Commit: Yixun Lan <dlan <AT> gentoo <DOT> org>
CommitDate: Wed Dec 1 06:34:12 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eee033af
sci-libs/superlu_mt: keyword 3.1-r1 for ~riscv
Signed-off-by: Alex Fan <alex.fan.q <AT> gmail.com>
Signed-off-by: Yixun Lan <dlan <AT> gentoo.org>
sci-libs/superlu_mt/superlu_mt-3.1-r1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sci-libs/superlu_mt/superlu_mt-3.1-r1.ebuild b/sci-libs/superlu_mt/superlu_mt-3.1-r1.ebuild
index 23f70df88150..a37f5a808568 100644
--- a/sci-libs/superlu_mt/superlu_mt-3.1-r1.ebuild
+++ b/sci-libs/superlu_mt/superlu_mt-3.1-r1.ebuild
@@ -14,7 +14,7 @@ SRC_URI="https://portal.nersc.gov/project/sparse/superlu/${PN}_${PV}.tar.gz"
LICENSE="BSD"
SLOT="0/${SOVERSION}"
-KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86 ~amd64-linux ~x86-linux"
IUSE="doc examples int64 openmp static-libs test threads"
RESTRICT="!test? ( test )"
REQUIRED_USE="|| ( openmp threads )"
^ permalink raw reply related [flat|nested] 11+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-libs/superlu_mt/
@ 2022-01-09 1:10 Sam James
0 siblings, 0 replies; 11+ messages in thread
From: Sam James @ 2022-01-09 1:10 UTC (permalink / raw
To: gentoo-commits
commit: 86f6cf66ee97c0d24fab45ee4b9430bb114b4573
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Jan 9 01:08:52 2022 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Jan 9 01:08:52 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=86f6cf66
sci-libs/superlu_mt: Stabilize 3.1-r1 amd64, #830772
Signed-off-by: Sam James <sam <AT> gentoo.org>
sci-libs/superlu_mt/superlu_mt-3.1-r1.ebuild | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/sci-libs/superlu_mt/superlu_mt-3.1-r1.ebuild b/sci-libs/superlu_mt/superlu_mt-3.1-r1.ebuild
index a37f5a808568..631f199b5ca3 100644
--- a/sci-libs/superlu_mt/superlu_mt-3.1-r1.ebuild
+++ b/sci-libs/superlu_mt/superlu_mt-3.1-r1.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=8
@@ -14,7 +14,7 @@ SRC_URI="https://portal.nersc.gov/project/sparse/superlu/${PN}_${PV}.tar.gz"
LICENSE="BSD"
SLOT="0/${SOVERSION}"
-KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86 ~amd64-linux ~x86-linux"
IUSE="doc examples int64 openmp static-libs test threads"
RESTRICT="!test? ( test )"
REQUIRED_USE="|| ( openmp threads )"
^ permalink raw reply related [flat|nested] 11+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-libs/superlu_mt/
@ 2022-01-09 20:44 Jakov Smolić
0 siblings, 0 replies; 11+ messages in thread
From: Jakov Smolić @ 2022-01-09 20:44 UTC (permalink / raw
To: gentoo-commits
commit: 7779b45bce71137f30441e861af4bfd87cac7741
Author: Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
AuthorDate: Sun Jan 9 20:42:37 2022 +0000
Commit: Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
CommitDate: Sun Jan 9 20:44:46 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7779b45b
sci-libs/superlu_mt: drop 3.1
Signed-off-by: Jakov Smolić <jsmolic <AT> gentoo.org>
sci-libs/superlu_mt/superlu_mt-3.1.ebuild | 102 ------------------------------
1 file changed, 102 deletions(-)
diff --git a/sci-libs/superlu_mt/superlu_mt-3.1.ebuild b/sci-libs/superlu_mt/superlu_mt-3.1.ebuild
deleted file mode 100644
index eab8a2ad999d..000000000000
--- a/sci-libs/superlu_mt/superlu_mt-3.1.ebuild
+++ /dev/null
@@ -1,102 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit toolchain-funcs
-
-MY_PN=SuperLU_MT
-SOVERSION=$(ver_cut 1)
-
-DESCRIPTION="Multithreaded sparse LU factorization library"
-HOMEPAGE="https://portal.nersc.gov/project/sparse/superlu/"
-SRC_URI="https://portal.nersc.gov/project/sparse/superlu/${PN}_${PV}.tar.gz"
-
-LICENSE="BSD"
-SLOT="0/${SOVERSION}"
-KEYWORDS="amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux"
-IUSE="doc examples int64 openmp static-libs test threads"
-RESTRICT="!test? ( test )"
-REQUIRED_USE="|| ( openmp threads )"
-
-RDEPEND="virtual/blas"
-DEPEND="${RDEPEND}"
-BDEPEND="virtual/pkgconfig
- test? ( app-shells/tcsh )"
-
-S="${WORKDIR}/${MY_PN}_${PV}"
-
-PATCHES=( "${FILESDIR}"/${PN}-3.1-duplicate-symbols.patch )
-
-pkg_setup() {
- if use openmp && ! use threads; then
- if [[ $(tc-getCC) == *gcc ]] && ! tc-has-openmp; then
- ewarn "OpenMP is not available in your current selected gcc"
- die "need openmp capable gcc"
- fi
- CTHREADS="-D__OPENMP"
- [[ $(tc-getCC) == *gcc ]] && LDTHREADS="-fopenmp"
- else
- CTHREADS="-D__PTHREAD"
- LDTHREADS="-pthread"
- fi
-}
-
-src_prepare() {
- default
- cat <<-EOF > make.inc
- CC=$(tc-getCC)
- LOADER=$(tc-getCC)
- ARCH=$(tc-getAR)
- RANLIB=$(tc-getRANLIB)
- PREDEFS=${CPPFLAGS} -DUSE_VENDOR_BLAS -DPRNTlevel=0 -DDEBUGlevel=0 $(use int64 && echo -D_LONGINT)
- CDEFS=-DAdd_
- CFLAGS=${CFLAGS} ${CTHREADS} \$(PIC)
- BLASLIB=$($(tc-getPKG_CONFIG) --libs blas)
- MATHLIB=-lm
- NOOPTS=-O0 \$(PIC)
- ARCHFLAGS=cr
- LOADOPTS=${LDFLAGS} ${LDTHREADS}
- SUPERLULIB=lib${PN}.a
- TMGLIB=libtmglib.a
- EOF
- SONAME=lib${PN}.so.${SOVERSION}
- sed -e "s|../SRC|${EPREFIX}/usr/include/${PN}|" \
- -e '/:.*$(SUPERLULIB)/s|../lib/$(SUPERLULIB)||g' \
- -e 's|../lib/$(SUPERLULIB)|-lsuperlu_mt|g' \
- -i EXAMPLE/Makefile || die
-}
-
-src_compile() {
- # shared library
- emake PIC="-fPIC" \
- ARCH="echo" \
- ARCHFLAGS="" \
- RANLIB="echo" \
- superlulib
- $(tc-getCC) ${LDFLAGS} ${LDTHREADS} -shared -Wl,-soname=${SONAME} SRC/*.o \
- $($(tc-getPKG_CONFIG) --libs blas) -lm -o lib/${SONAME} || die
- ln -s ${SONAME} lib/libsuperlu_mt.so || die
-
- use static-libs && rm -f SRC/*.o && \
- emake PIC="" superlulib
-}
-
-src_test() {
- emake -j1 tmglib
- LD_LIBRARY_PATH="${S}/lib:${LD_LIBRARY_PATH}" \
- emake SUPERLULIB="${SONAME}" testing
-}
-
-src_install() {
- dolib.so lib/*so*
- use static-libs && dolib.a lib/*.a
- insinto /usr/include/${PN}
- doins SRC/*h
- dodoc README
- use doc && dodoc DOC/ug.pdf
- if use examples; then
- docinto /examples
- dodoc -r EXAMPLE/* make.inc
- fi
-}
^ permalink raw reply related [flat|nested] 11+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-libs/superlu_mt/
@ 2022-03-20 18:51 Sam James
0 siblings, 0 replies; 11+ messages in thread
From: Sam James @ 2022-03-20 18:51 UTC (permalink / raw
To: gentoo-commits
commit: 01be6b457af58e5994e6c0a2d723e98d89a43e6d
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Mar 20 18:50:26 2022 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Mar 20 18:51:28 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=01be6b45
sci-libs/superlu_mt: [QA] fix tc-get* quoting
This can cause build problems for e.g. 32-bit (gcc -m32 ...)
Signed-off-by: Sam James <sam <AT> gentoo.org>
sci-libs/superlu_mt/superlu_mt-3.1-r1.ebuild | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/sci-libs/superlu_mt/superlu_mt-3.1-r1.ebuild b/sci-libs/superlu_mt/superlu_mt-3.1-r1.ebuild
index 631f199b5ca3..ec84973ee7d0 100644
--- a/sci-libs/superlu_mt/superlu_mt-3.1-r1.ebuild
+++ b/sci-libs/superlu_mt/superlu_mt-3.1-r1.ebuild
@@ -33,12 +33,12 @@ PATCHES=(
pkg_setup() {
if use openmp && ! use threads; then
- if [[ $(tc-getCC) == *gcc ]] && ! tc-has-openmp; then
+ if [[ "$(tc-getCC)" == *gcc ]] && ! tc-has-openmp; then
ewarn "OpenMP is not available in your current selected gcc"
die "need openmp capable gcc"
fi
CTHREADS="-D__OPENMP"
- [[ $(tc-getCC) == *gcc ]] && LDTHREADS="-fopenmp"
+ [[ "$(tc-getCC)" == *gcc ]] && LDTHREADS="-fopenmp"
else
CTHREADS="-D__PTHREAD"
LDTHREADS="-pthread"
^ permalink raw reply related [flat|nested] 11+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-libs/superlu_mt/
@ 2022-05-15 1:18 Sam James
0 siblings, 0 replies; 11+ messages in thread
From: Sam James @ 2022-05-15 1:18 UTC (permalink / raw
To: gentoo-commits
commit: 9a75190cb8ceebb36554b6d974787afcc54dabca
Author: David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Sat May 14 21:56:44 2022 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun May 15 01:18:12 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9a75190c
sci-libs/superlu_mt: [QA] tc-has-openmp → tc-check-openmp
Signed-off-by: David Seifert <soap <AT> gentoo.org>
Closes: https://github.com/gentoo/gentoo/pull/25488
Signed-off-by: Sam James <sam <AT> gentoo.org>
sci-libs/superlu_mt/superlu_mt-3.1-r1.ebuild | 24 +++++++++++++-----------
1 file changed, 13 insertions(+), 11 deletions(-)
diff --git a/sci-libs/superlu_mt/superlu_mt-3.1-r1.ebuild b/sci-libs/superlu_mt/superlu_mt-3.1-r1.ebuild
index ec84973ee7d0..adfa9a6f3431 100644
--- a/sci-libs/superlu_mt/superlu_mt-3.1-r1.ebuild
+++ b/sci-libs/superlu_mt/superlu_mt-3.1-r1.ebuild
@@ -31,18 +31,12 @@ PATCHES=(
"${FILESDIR}"/${PN}-3.1-fix-predefs.patch
)
+pkg_pretend() {
+ [[ ${MERGE_TYPE} != binary ]] && use openmp && ! use threads && tc-check-openmp
+}
+
pkg_setup() {
- if use openmp && ! use threads; then
- if [[ "$(tc-getCC)" == *gcc ]] && ! tc-has-openmp; then
- ewarn "OpenMP is not available in your current selected gcc"
- die "need openmp capable gcc"
- fi
- CTHREADS="-D__OPENMP"
- [[ "$(tc-getCC)" == *gcc ]] && LDTHREADS="-fopenmp"
- else
- CTHREADS="-D__PTHREAD"
- LDTHREADS="-pthread"
- fi
+ [[ ${MERGE_TYPE} != binary ]] && use openmp && ! use threads && tc-check-openmp
}
src_prepare() {
@@ -68,6 +62,14 @@ src_prepare() {
-e '/:.*$(SUPERLULIB)/s|../lib/$(SUPERLULIB)||g' \
-e 's|../lib/$(SUPERLULIB)|-lsuperlu_mt|g' \
-i EXAMPLE/Makefile || die
+
+ if use openmp && ! use threads; then
+ CTHREADS="-D__OPENMP"
+ LDTHREADS="-fopenmp"
+ else
+ CTHREADS="-D__PTHREAD"
+ LDTHREADS="-pthread"
+ fi
}
src_compile() {
^ permalink raw reply related [flat|nested] 11+ messages in thread
end of thread, other threads:[~2022-05-15 1:18 UTC | newest]
Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-01-09 1:10 [gentoo-commits] repo/gentoo:master commit in: sci-libs/superlu_mt/ Sam James
-- strict thread matches above, loose matches on Subject: below --
2022-05-15 1:18 Sam James
2022-03-20 18:51 Sam James
2022-01-09 20:44 Jakov Smolić
2021-12-01 6:37 Yixun Lan
2021-11-28 20:52 Marek Szuba
2021-10-12 22:23 Marek Szuba
2021-10-12 22:23 Marek Szuba
2020-12-07 15:27 Sam James
2020-12-07 15:27 Sam James
2020-01-14 14:56 Agostino Sarubbo
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox