summaryrefslogtreecommitdiff
path: root/sci-libs/spooles
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2020-02-05 18:44:56 +0000
committerV3n3RiX <venerix@redcorelinux.org>2020-02-05 18:44:56 +0000
commit29aabba0ea759c6a2864ff5631735b67ee38e5e0 (patch)
treeab466b4dfa7abecb401b2f8039d08af4689306bb /sci-libs/spooles
parentd42200bec37eef2a7478d88988ff00addd0a9202 (diff)
gentoo resync : 05.02.2020
Diffstat (limited to 'sci-libs/spooles')
-rw-r--r--sci-libs/spooles/Manifest7
-rw-r--r--sci-libs/spooles/files/Make.inc.in9
-rw-r--r--sci-libs/spooles/files/spooles-2.2-I2Ohash-64bit.patch28
-rw-r--r--sci-libs/spooles/files/spooles-2.2-formats.patch17
-rw-r--r--sci-libs/spooles/files/spooles-2.2-makefiles.patch47
-rw-r--r--sci-libs/spooles/metadata.xml22
-rw-r--r--sci-libs/spooles/spooles-2.2.ebuild67
7 files changed, 0 insertions, 197 deletions
diff --git a/sci-libs/spooles/Manifest b/sci-libs/spooles/Manifest
deleted file mode 100644
index 7475647eb6a2..000000000000
--- a/sci-libs/spooles/Manifest
+++ /dev/null
@@ -1,7 +0,0 @@
-AUX Make.inc.in 139 BLAKE2B 960e1107c3903f7b8e929e8057ce6128cc82b3489d9bf09e3eb32f81d4e1b2fa99f03b8b3bc97ce301fba07e663c64471e5ab19fd821d9b45072ea7f542ecfbc SHA512 919c60ca856e4b46b6211f4ace815b5066609e054152b696733d5120d7769a17c6db92c451772b83b0bea5a3e9a14034009755ffbef0889fefd76bca8f466611
-AUX spooles-2.2-I2Ohash-64bit.patch 1035 BLAKE2B 94a1bddf2a86cffdaf3f4f48352232d73077ff303c86de06b029329e10f71cb806e000ead5bf047016aaa676e29ee87f0dbdee5e0a5cecc9e0da616660f42c22 SHA512 825b1a060102799e17ebcfda5025bfbe53555eab3ed32d8c8ba3bfd2f114b9d622763dec78ba311307cab12a93cc6dac363a9237d819830f5ea4c1a6cce7d1f9
-AUX spooles-2.2-formats.patch 654 BLAKE2B 72b3e0ff01f9f11a094dbbd8da11da2158dd6077d430382163265f9fae337d2687fdbc544effdc59003ec97a70cf42b41665048c9c23ccce3cd99a9cca7be13e SHA512 fc4f4dbd4e457f6e162fef5a0d90a153b677205dc9c6c075b47fddc0d8d9c77cda1573d1f9966d5b127084869c797c666fd1e0b579964774020665d988015b86
-AUX spooles-2.2-makefiles.patch 1144 BLAKE2B 180e0e7707fe30cc07939a4fceaf3253d993fe5450b4b11a00092b3c8cc8d1c7b44cb564b72fbd516dbd84474d1684c0b6aae2685422e36bf2f01fe2e4870511 SHA512 29429923b2d5cb5475a2741327a921ff5311f8bc562b357428befa6f7b26660b7ebc2df45bafc2a5f80131a3fe37afba3fe36deb57bdf445a99178bc17faf53a
-DIST spooles.2.2.tgz 4510271 BLAKE2B 86adc0764709f772526909942bcbe034209838c7284e7c1245293e4acb84e9a02511428f0659607de3b39ffecdc02c6b60e4015a8c8905da34b2b15688edab34 SHA512 440146b4abf81d8e66a7c57e839b06b11c7753e16d40ae67f80255d6d5dc9fb43b4fd549326c405a8f3009223fcb0f6997090b3649029c323c732b0759944d19
-EBUILD spooles-2.2.ebuild 1821 BLAKE2B 428c0c25005bbab17db7d619581df8730d04c4c700786d369db820cad150f84fff4da842a488fd0d863ac938b8a94ecf37eef82d61cc42bd1de99a0517da4194 SHA512 ef21fe915946fad6ffd84d048763426b38eb08171184de4f41ff0ed1e6b47bd7536f1cdcd6b64d11dc5bf5e0347e98e9ac1b788768fc6d62dab5d30f8e6631f9
-MISC metadata.xml 1045 BLAKE2B 22258d13dd2f40047b53fdde5301b46fe4e5667cc73a68d105dc7bf5fe5d814a662d594db5c21eb9b91ac688dd1aaa8fc4e89b176c56d735ccbc61c9f60f2801 SHA512 3b514aacc689a00ab5aa10e370d955bcaafa5ba0ee91b3d0c87af8d1e16929bf7d68dfa6fd50a0c35a44355ac6d601bc4b34e84af20313ca65bc13a984ccf08f
diff --git a/sci-libs/spooles/files/Make.inc.in b/sci-libs/spooles/files/Make.inc.in
deleted file mode 100644
index 1557f9fe979e..000000000000
--- a/sci-libs/spooles/files/Make.inc.in
+++ /dev/null
@@ -1,9 +0,0 @@
-.POSIX:
-THREAD_LIBS = -lpthread
-CC = @CC@
-AR = @AR@
-RANLIB = @RANLIB@
-ARFLAGS = rv
-.c.a :
- $(CC) $(CFLAGS) -c $<
- $(AR) $(ARFLAGS) $@ $*.o
diff --git a/sci-libs/spooles/files/spooles-2.2-I2Ohash-64bit.patch b/sci-libs/spooles/files/spooles-2.2-I2Ohash-64bit.patch
deleted file mode 100644
index 0f608da2afc8..000000000000
--- a/sci-libs/spooles/files/spooles-2.2-I2Ohash-64bit.patch
+++ /dev/null
@@ -1,28 +0,0 @@
---- spooles-2.2/I2Ohash/src/util.c~ 1998-05-30 18:45:12.000000000 -0400
-+++ spooles-2.2/I2Ohash/src/util.c 2008-06-28 20:56:49.000000000 -0400
-@@ -39,9 +39,10 @@
- */
- loc1 = (key1 + 1) % hashtable->nlist ;
- loc2 = (key2 + 1) % hashtable->nlist ;
--loc = (loc1*loc2) % hashtable->nlist ;
-+long int loc3 = (long int)loc1*(long int)loc2 % hashtable->nlist ;
-+loc =(int) loc3;
- #if MYDEBUG > 0
--fprintf(stdout, "\n loc1 = %d, loc2 = %d, loc3 = %d", loc1, loc2, loc) ;
-+fprintf(stdout, "\n loc1 = %d, loc2 = %d, loc3 = %ld, loc = %d", loc1, loc2, loc3, loc) ;
- fflush(stdout) ;
- #endif
- /*
-@@ -158,9 +159,10 @@
- #endif
- loc1 = (key1 + 1) % hashtable->nlist ;
- loc2 = (key2 + 1) % hashtable->nlist ;
--loc = (loc1*loc2) % hashtable->nlist ;
-+long int loc3 = (long int)loc1*(long int)loc2 % hashtable->nlist ;
-+loc =(int) loc3;
- #if MYDEBUG > 0
--fprintf(stdout, "\n loc1 = %d, loc2 = %d, loc3 = %d", loc1, loc2, loc) ;
-+fprintf(stdout, "\n loc1 = %d, loc2 = %d, loc3 = %ld, loc = %d", loc1, loc2, loc3, loc) ;
- fflush(stdout) ;
- #endif
- /*
diff --git a/sci-libs/spooles/files/spooles-2.2-formats.patch b/sci-libs/spooles/files/spooles-2.2-formats.patch
deleted file mode 100644
index 080574e730d0..000000000000
--- a/sci-libs/spooles/files/spooles-2.2-formats.patch
+++ /dev/null
@@ -1,17 +0,0 @@
---- SolveMap/src/setup.c.orig 2011-03-05 18:08:51.000000000 +0000
-+++ SolveMap/src/setup.c 2011-03-05 18:16:50.000000000 +0000
-@@ -28,12 +28,12 @@
- ---------------
- */
- if ( solvemap == NULL ) {
-- fprintf(stderr, "\n fatal error in SolveMap_forwardSetup(%p,%d)"
-+ fprintf(stderr, "\n fatal error in SolveMap_forwardSetup"
- "\n solvemap is NULL\n") ;
- exit(-1) ;
- }
- if ( myid < 0 || myid >= solvemap->nproc ) {
-- fprintf(stderr, "\n fatal error in SolveMap_forwardSetup(%p,%d)"
-+ fprintf(stderr, "\n fatal error in SolveMap_forwardSetup"
- "\n myid %d, solvemap->nproc %d\n", myid, solvemap->nproc) ;
- exit(-1) ;
- }
diff --git a/sci-libs/spooles/files/spooles-2.2-makefiles.patch b/sci-libs/spooles/files/spooles-2.2-makefiles.patch
deleted file mode 100644
index 4af8e083736c..000000000000
--- a/sci-libs/spooles/files/spooles-2.2-makefiles.patch
+++ /dev/null
@@ -1,47 +0,0 @@
---- MPI/makefile~ 1998-12-17 15:47:44.000000000 +0000
-+++ MPI/makefile 2008-02-26 00:10:57.000000000 +0000
-@@ -2,7 +2,7 @@
- cd drivers ; make drivers
-
- lib :
-- cd src ; make spoolesMPI.a
-+ cd src ; make makeLib
-
- clean :
- cd src ; make clean
---- MPI/src/makefile~ 1998-12-16 21:54:41.000000000 +0000
-+++ MPI/src/makefile 2008-02-26 00:08:16.000000000 +0000
-@@ -42,3 +42,8 @@
-
- clean :
- - rm -f *.a *.o
-+
-+makeLib :
-+ perl ../../makeLib > makeG
-+ make -f makeG
-+ rm -f makeG
---- MT/makefile~ 1998-12-17 15:47:48.000000000 +0000
-+++ MT/makefile 2008-02-26 00:12:43.000000000 +0000
-@@ -2,7 +2,7 @@
- cd drivers ; make drivers
-
- lib :
-- cd src ; make spoolesMT.a
-+ cd src ; make makeLib
-
- clean :
- cd src ; make clean
---- makeLib~ 2011-03-05 16:44:12.000000000 +0000
-+++ makeLib 2011-03-05 17:46:58.000000000 +0000
-@@ -70,8 +70,8 @@
- .c.o :
- $(PURIFY) $(CC) -c $(CFLAGS) $*.c -o $(OBJ)_$*.o
-
--../../spooles.a : ${OBJ_FILES}
-- $(AR) $(ARFLAGS) ../../spooles.a $(OBJ)_*.o
-+../../libspooles.a : ${OBJ_FILES}
-+ $(AR) $(ARFLAGS) ../../libspooles.a $(OBJ)_*.o
- rm -f $(OBJ)_*.o
-- $(RANLIB) ../../spooles.a
-+ $(RANLIB) ../../libspooles.a
- EOF
diff --git a/sci-libs/spooles/metadata.xml b/sci-libs/spooles/metadata.xml
deleted file mode 100644
index 4f2c1ace32a3..000000000000
--- a/sci-libs/spooles/metadata.xml
+++ /dev/null
@@ -1,22 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="project">
- <email>sci@gentoo.org</email>
- <name>Gentoo Science Project</name>
- </maintainer>
- <longdescription lang="en">
- SPOOLES is a library for solving sparse real and complex linear
- systems of equations, written in the C language using object
- oriented design. At present, there is the following functionality:
- 1. Compute multiple minimum degree, generalized nested dissection
- and multisection orderings of matrices with symmetric structure.
- 2. Factor and solve square linear systems of equations with
- symmetric structure, with or without pivoting for stability.
- 3. Factor and solve overdetermined full rank systems of equations
- using a multifrontal QR factorization.
- 4. Solve square linear systems using a variety of Krylov iterative
- methods. The preconditioner is a drop tolerance factorization,
- with or without pivoting for stability.
- </longdescription>
-</pkgmetadata>
diff --git a/sci-libs/spooles/spooles-2.2.ebuild b/sci-libs/spooles/spooles-2.2.ebuild
deleted file mode 100644
index cd1a944ec56b..000000000000
--- a/sci-libs/spooles/spooles-2.2.ebuild
+++ /dev/null
@@ -1,67 +0,0 @@
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=4
-inherit eutils toolchain-funcs versionator flag-o-matic
-
-MYP=${PN}.${PV}
-
-DESCRIPTION="SParse Object Oriented Linear Equations Solver"
-HOMEPAGE="http://www.netlib.org/linalg/spooles"
-SRC_URI="http://www.netlib.org/linalg/${PN}/${MYP}.tgz"
-
-LICENSE="public-domain"
-SLOT="0"
-KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
-IUSE="mpi static-libs threads"
-
-RDEPEND="mpi? ( virtual/mpi )"
-DEPEND="${RDEPEND}"
-
-S="${WORKDIR}"
-
-make_shared_lib() {
- local soname=$(basename "${1%.a}").so.$(get_major_version)
- einfo "Making ${soname}"
- ${2:-$(tc-getCC)} ${LDFLAGS} \
- -shared -Wl,-soname="${soname}" \
- -Wl,--whole-archive "${1}" -Wl,--no-whole-archive \
- -o $(dirname "${1}")/"${soname}" || return 1
-}
-
-src_prepare() {
- epatch "${FILESDIR}"/${P}-I2Ohash-64bit.patch
- epatch "${FILESDIR}"/${P}-makefiles.patch
- epatch "${FILESDIR}"/${P}-formats.patch
- find . -name makefile -exec \
- sed -i -e 's:make:$(MAKE):g' '{}' \;
- sed -e "s/@CC@/$(tc-getCC)/" \
- -e "s/@AR@/$(tc-getAR)/" \
- -e "s/@RANLIB@/$(tc-getRANLIB)/" \
- "${FILESDIR}"/Make.inc.in > Make.inc || die
-}
-
-src_compile () {
- append-flags -fPIC
- emake lib
- use threads && emake -C MT lib
- use mpi && emake -C MPI CC=mpicc lib
- make_shared_lib libspooles.a $(use mpi && echo mpicc) || die "shared lib failed"
- if use static-libs; then
- filter-flags -fPIC
- emake clean
- emake lib
- use threads && emake -C MT lib
- use mpi && emake -C MPI CC=mpicc lib
- fi
-}
-
-src_install () {
- dolib.so libspooles.so.2
- dosym libspooles.so.2 /usr/$(get_libdir)/libspooles.so
- use static-libs && dolib.a libspooles.a
- find . -name '*.h' -print0 | \
- xargs -0 -n1 --replace=headerfile install -D headerfile tmp/headerfile
- insinto /usr/include/${PN}
- doins -r tmp/*
-}