summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sci-libs/parmetis/ChangeLog40
-rw-r--r--sci-libs/parmetis/Manifest4
-rw-r--r--sci-libs/parmetis/metadata.xml13
-rw-r--r--sci-libs/parmetis/parmetis-3.2.0.ebuild109
4 files changed, 0 insertions, 166 deletions
diff --git a/sci-libs/parmetis/ChangeLog b/sci-libs/parmetis/ChangeLog
deleted file mode 100644
index f5eefa9..0000000
--- a/sci-libs/parmetis/ChangeLog
+++ /dev/null
@@ -1,40 +0,0 @@
-# ChangeLog for sci-libs/parmetis
-# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-libs/parmetis/ChangeLog,v 1.6 2010/12/22 20:05:13 bicatali Exp $
-
-*parmetis-3.2.0 (23 May 2011)
-
- 23 May 2011; Sébastien Fabbro <bicatali@gentoo.org> +parmetis-3.2.0.ebuild,
- +files/parmetis-3.2.0-autotools.patch, +metadata.xml:
- Version bump and added for virtual/metis and alternatives
-
- 22 Dec 2010; Sébastien Fabbro <bicatali@gentoo.org> parmetis-3.1.1.ebuild:
- Added static-libs flag
-
- 20 Jan 2010; Sébastien Fabbro <bicatali@gentoo.org>
- files/parmetis-3.1.1-autotools.patch:
- Reduced number of jobs for the tests and updated the mpi m4 macro, should
- fix bug #279150
-
- 13 Sep 2009; Sébastien Fabbro <bicatali@gentoo.org> -parmetis-3.1.ebuild,
- -files/parmetis-3.1-autotools.patch:
- Removed old
-
-*parmetis-3.1.1 (14 Mar 2009)
-
- 14 Mar 2009; Sébastien Fabbro <bicatali@gentoo.org>
- +files/parmetis-3.1.1-autotools.patch, +parmetis-3.1.1.ebuild:
- Version bump
-
- 28 Mar 2008; Sébastien Fabbro <bicatali@gentoo.org>
- files/parmetis-3.1-autotools.patch:
- Updated the autotools patch to separate pkg-config files and fixed header
- directory issue (bug #215133, thanks Oliver Borm)
-
-*parmetis-3.1 (27 Mar 2008)
-
- 27 Mar 2008; Sébastien Fabbro <bicatali@gentoo.org>
- +files/parmetis-3.1-autotools.patch, +metadata.xml, +parmetis-3.1.ebuild:
- Initial import. Thankss Oliver Borm for his work and everyone else in bug
- #49953.
-
diff --git a/sci-libs/parmetis/Manifest b/sci-libs/parmetis/Manifest
deleted file mode 100644
index 3e25b7c..0000000
--- a/sci-libs/parmetis/Manifest
+++ /dev/null
@@ -1,4 +0,0 @@
-DIST ParMetis-3.2.0.tar.gz 5291841 RMD160 32a8d5ce0044d289288866fb59432a5b197b096e SHA1 58c28cc6fb245c27fe942e2626c00bdac5a316b3 SHA256 35e8b869d70b6478e0d5f4f51efba00c4783a5020ec90c6a7e7a63a56f141bde
-EBUILD parmetis-3.2.0.ebuild 3145 RMD160 91bf3aabcc7906c0c205ce7274e329c251d3ebe3 SHA1 eae2de026d6beb9b775a9f4dbb845ecab8dd7010 SHA256 9af0d01ae2117a3e80c4624dcb5c576aff0a2c7af7863ac8b7a291435e7cb589
-MISC ChangeLog 1497 RMD160 b42bf9dee81d6ad85c8f6d68c4e7dbb6d95552f6 SHA1 a3eccddecf628d57dbc81d1ab7cd94c6fb07c593 SHA256 e68ee74f7b24ed1d59a516bbe1571b1b59291daf986d3aabda863445bdf052e0
-MISC metadata.xml 567 RMD160 0565f147e7f67469216f64490469c39a78040073 SHA1 619ff63c86b9da320ad0d6af86c83a78e748ef7d SHA256 e7b13d4ac35de3236571c5efd0cbf9143333a4978e9dbe277b45ba3a5b4bd29a
diff --git a/sci-libs/parmetis/metadata.xml b/sci-libs/parmetis/metadata.xml
deleted file mode 100644
index 9a56af3..0000000
--- a/sci-libs/parmetis/metadata.xml
+++ /dev/null
@@ -1,13 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
-<herd>sci</herd>
-<longdescription lang="en">
- ParMETIS is an MPI-based parallel library that implements a variety
- of algorithms for partitioning unstructured graphs and for computing
- fill-reducing orderings of sparse matrices. ParMETIS extends the
- functionality provided by METIS and includes routines that are
- especially suited for parallel AMR computations and large scale
- numerical simulations.
-</longdescription>
-</pkgmetadata>
diff --git a/sci-libs/parmetis/parmetis-3.2.0.ebuild b/sci-libs/parmetis/parmetis-3.2.0.ebuild
deleted file mode 100644
index 50aedad..0000000
--- a/sci-libs/parmetis/parmetis-3.2.0.ebuild
+++ /dev/null
@@ -1,109 +0,0 @@
-# Copyright 1999-2011 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-EAPI=4
-inherit eutils flag-o-matic toolchain-funcs alternatives-2 versionator
-
-MYP=ParMetis-${PV}
-
-DESCRIPTION="Parallel graph partitioner"
-HOMEPAGE="http://www-users.cs.umn.edu/~karypis/metis/parmetis/"
-SRC_URI="http://glaros.dtc.umn.edu/gkhome/fetch/sw/${PN}/${MYP}.tar.gz"
-
-KEYWORDS="~amd64 ~x86"
-LICENSE="free-noncomm"
-SLOT="0"
-IUSE="debug doc mpi static-libs"
-
-DEPEND="mpi? ( virtual/mpi )"
-RDEPEND="${DEPEND}
- !sci-libs/metis"
-
-S="${WORKDIR}/${MYP}"
-
-make_shared_lib() {
- local libstatic=${1}
- local soname=$(basename "${1%.a}").so.$(get_major_version)
- shift
- einfo "Making ${soname}"
- ${LINK:-$(tc-getCC)} ${LDFLAGS} \
- -shared -Wl,-soname="${soname}" \
- -Wl,--whole-archive "${libstatic}" -Wl,--no-whole-archive \
- "$@" -o $(dirname "${libstatic}")/"${soname}" || die "${soname} failed"
- ln -s "${soname}" $(dirname "${libstatic}")/"${soname%.*}"
-}
-
-src_compile() {
- emake -C METISLib CC=$(tc-getCC) COPTIONS=-fPIC OPTFLAGS="${CFLAGS}"
- $(tc-getCC) ${LDFLAGS} -shared -Wl,-soname=libmetis.so \
- -Wl,--whole-archive libmetis.a -Wl,--no-whole-archive \
- -lm -o libmetis.so || die "Creating shared libmetis failed"
- if use mpi; then
- emake -C ParMETISLib CC=mpicc COPTIONS=-fPIC OPTFLAGS="${CFLAGS}"
- mpicc ${LDFLAGS} -shared -Wl,-soname=libparmetis.so \
- -Wl,--whole-archive libparmetis.a -Wl,--no-whole-archive \
- -L. -lmetis -o libparmetis.so || die "Creating shared libparmetis failed"
- fi
- if use static-libs; then
- make clean && rm -f *.a
- emake -C METISLib CC=$(tc-getCC) OPTFLAGS="${CFLAGS}"
- use mpi && emake -C ParMETISLib CC=mpicc OPTFLAGS="${CFLAGS}"
- fi
-}
-
-src_test() {
- use mpi || return
- emake -C Programs CC=mpicc OPTFLAGS="${CFLAGS}"
- cd Graphs
- LD_LIBRARY_PATH="${S}:${LD_LIBRARY_PATH}" \
- mpirun -np 2 ./ptest${PV} rotor.graph && \
- mpirun -np 2 ./mtest${PV} bricks.hex3d 2 || die
-}
-
-src_install() {
- insinto /usr/include/metis
- doins METISLib/*.h
- dolib.so libmetis.so*
- use static-libs && dolib.a libmetis.a
- cat <<-EOF > metis.pc
- prefix=${EPREFIX}/usr
- libdir=\${prefix}/$(get_libdir)
- includedir=\${prefix}/include
- Name: metis
- Description: ${DESCRIPTION}
- Version: ${PV}
- URL: ${HOMEPAGE}
- Libs: -L\${libdir} -lmetis
- Private: -lm
- Cflags: -I\${includedir}/metis
- EOF
- insinto /usr/$(get_libdir)/pkgconfig
- doins metis.pc
- alternatives_for metis parmetis 0 \
- "/usr/$(get_libdir)/pkgconfig/metis.pc" "parmetis.pc"
- if use mpi; then
- insinto /usr/include
- doins parmetis.h
- insinto /usr/include/parmetis
- doins ParMETISLib/*.h
- dolib.so libparmetis.so*
- use static-libs && dolib.a libparmetis.a
- cat <<-EOF > parmetis-mpi.pc
- prefix=${EPREFIX}/usr
- libdir=\${prefix}/$(get_libdir)
- includedir=\${prefix}/include
- Name: parmetis
- Description: ${DESCRIPTION}
- Version: ${PV}
- URL: ${HOMEPAGE}
- Libs: -L\${libdir} -lparmetis
- Private: -lm
- Cflags: -I\${includedir}/metis
- Requires: metis
- EOF
- alternatives_for metis-mpi parmetis 0 \
- "/usr/$(get_libdir)/pkgconfig/metis-mpi.pc" "parmetis-mpi.pc"
- fi
- use doc && dodoc Manual/*.pdf
-}