public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Jakov Smolić" <jsmolic@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-libs/superlu_mt/
Date: Sun,  9 Jan 2022 20:44:59 +0000 (UTC)	[thread overview]
Message-ID: <1641761086.7779b45bce71137f30441e861af4bfd87cac7741.jsmolic@gentoo> (raw)

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
-}


             reply	other threads:[~2022-01-09 20:45 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-01-09 20:44 Jakov Smolić [this message]
  -- strict thread matches above, loose matches on Subject: below --
2022-05-15  1:18 [gentoo-commits] repo/gentoo:master commit in: sci-libs/superlu_mt/ Sam James
2022-03-20 18:51 Sam James
2022-01-09  1:10 Sam James
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1641761086.7779b45bce71137f30441e861af4bfd87cac7741.jsmolic@gentoo \
    --to=jsmolic@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox