summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2022-03-07 04:29:29 +0000
committerSam James <sam@gentoo.org>2022-03-07 04:51:00 +0000
commit3b245950a6e7a2da26ee2bf6ac321d6ec6ad9c61 (patch)
treee549030d3891eb3afdee30beec259993f97dec5e /sci-libs
parentsci-libs/parmetis: Stabilize 4.0.3-r2 arm64, #816579 (diff)
downloadgentoo-3b245950a6e7a2da26ee2bf6ac321d6ec6ad9c61.tar.gz
gentoo-3b245950a6e7a2da26ee2bf6ac321d6ec6ad9c61.tar.bz2
gentoo-3b245950a6e7a2da26ee2bf6ac321d6ec6ad9c61.zip
sci-libs/parmetis: drop 4.0.3-r1
Closes: https://bugs.gentoo.org/816579 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'sci-libs')
-rw-r--r--sci-libs/parmetis/Manifest1
-rw-r--r--sci-libs/parmetis/metadata.xml4
-rw-r--r--sci-libs/parmetis/parmetis-4.0.3-r1.ebuild155
3 files changed, 0 insertions, 160 deletions
diff --git a/sci-libs/parmetis/Manifest b/sci-libs/parmetis/Manifest
index bab1f34b3d8a..f51deaae9a5a 100644
--- a/sci-libs/parmetis/Manifest
+++ b/sci-libs/parmetis/Manifest
@@ -1,2 +1 @@
-DIST metis-5.1.0.tar.gz 4984968 BLAKE2B c5f8ff552fce7e7cc02740e6197c9deb5e05e8bc2e2e56cad0cba85705eec6990b511182930c8758fd16a18015f54c8a4827038039bc3c58ee41df468ea175bc SHA512 deea47749d13bd06fbeaf98a53c6c0b61603ddc17a43dae81d72c8015576f6495fd83c11b0ef68d024879ed5415c14ebdbd87ce49c181bdac680573bea8bdb25
DIST parmetis-4.0.3.tar.gz 5567670 BLAKE2B 69a44ea8e50d8fd78046a342807b994220d03da3ab1695533d92772b1840302917a7d5d6f9eb020d9ff8ab7e5372bff0386d6354b662f58495b74f8f596c45f9 SHA512 454a91921ca35c981df11c9846a11963ff8fd8407a25179453af33f8fe69493f6dd7f2a0b8feed9a7d3f121e45b715749dd7a94873eaac2bae4cad1e535ca132
diff --git a/sci-libs/parmetis/metadata.xml b/sci-libs/parmetis/metadata.xml
index 62de4c03afb6..67e8ddda1e5f 100644
--- a/sci-libs/parmetis/metadata.xml
+++ b/sci-libs/parmetis/metadata.xml
@@ -13,8 +13,4 @@ functionality provided by METIS and includes routines that are
especially suited for parallel AMR computations and large scale
numerical simulations.
</longdescription>
- <use>
- <flag name="int64">Build the 64 bits integer library (needed for &gt; 2^31 vertices)</flag>
- <flag name="double-precision">Floating-point operation done as double precision</flag>
- </use>
</pkgmetadata>
diff --git a/sci-libs/parmetis/parmetis-4.0.3-r1.ebuild b/sci-libs/parmetis/parmetis-4.0.3-r1.ebuild
deleted file mode 100644
index 991ac87315bf..000000000000
--- a/sci-libs/parmetis/parmetis-4.0.3-r1.ebuild
+++ /dev/null
@@ -1,155 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-# Check metis version bundled in parmetis tar ball
-# by diff of metis and parmetis tar ball
-METISPV=5.1.0
-METISP=metis-${METISPV}
-inherit cmake-utils toolchain-funcs
-
-DESCRIPTION="Parallel (MPI) unstructured graph partitioning library"
-HOMEPAGE="http://glaros.dtc.umn.edu/gkhome/metis/parmetis/overview"
-SRC_URI="
- http://glaros.dtc.umn.edu/gkhome/fetch/sw/${PN}/${P}.tar.gz
- doc? ( http://glaros.dtc.umn.edu/gkhome/fetch/sw/metis/${METISP}.tar.gz )
- examples? ( http://glaros.dtc.umn.edu/gkhome/fetch/sw/metis/${METISP}.tar.gz )"
-
-LICENSE="all-rights-reserved"
-SLOT="0"
-KEYWORDS="amd64 arm64 x86 ~amd64-linux ~x86-linux"
-IUSE="doc double-precision examples int64 mpi openmp pcre static-libs"
-RESTRICT="mirror bindist"
-
-DEPEND="mpi? ( virtual/mpi )
- pcre? ( dev-libs/libpcre:= )"
-RDEPEND="${DEPEND}
- !<sci-libs/metis-5"
-
-pkg_setup() {
- [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
-}
-
-src_prepare() {
- cmake-utils_src_prepare
-
- # libdir love
- sed -i \
- -e '/DESTINATION/s/lib/lib${LIB_SUFFIX}/g' \
- libparmetis/CMakeLists.txt metis/libmetis/CMakeLists.txt || die
- # set metis as separate shared lib
- sed -i \
- -e 's/METIS_LIB/ParMETIS_LIB/g' \
- metis/libmetis/CMakeLists.txt || die
- sed -i \
- -e '/programs/d' \
- CMakeLists.txt metis/CMakeLists.txt || die
- if use static-libs; then
- mkdir "${WORKDIR}/${PN}_static" || die
- fi
-
- if use mpi; then
- export CC=mpicc CXX=mpicxx
- else
- sed -i \
- -e '/add_subdirectory(include/d' \
- -e '/add_subdirectory(libparmetis/d' \
- CMakeLists.txt || die
- fi
-
- if use int64; then
- sed -i -e '/IDXTYPEWIDTH/s/32/64/' metis/include/metis.h || die
- fi
-
- if use double-precision; then
- sed -i -e '/REALTYPEWIDTH/s/32/64/' metis/include/metis.h || die
- fi
-}
-
-src_configure() {
- parmetis_configure() {
- local mycmakeargs=(
- -DGKLIB_PATH="${S}/metis/GKlib"
- -DMETIS_PATH="${S}/metis"
- -DGKRAND=ON
- -DMETIS_INSTALL=ON
- -DOPENMP=$(usex openmp)
- -DPCRE=$(usex pcre)
- $@
- )
- cmake-utils_src_configure
- }
- parmetis_configure -DSHARED=ON
- if use static-libs; then
- sed -i -e '/fPIC/d' metis/GKlib/GKlibSystem.cmake || die
- BUILD_DIR="${WORKDIR}/${PN}_static" parmetis_configure
- fi
-}
-
-src_compile() {
- cmake-utils_src_compile
- use static-libs && \
- BUILD_DIR="${WORKDIR}/${PN}_static" cmake-utils_src_compile
-}
-
-src_install() {
- cmake-utils_src_install
- use static-libs && \
- BUILD_DIR="${WORKDIR}/${PN}_static" cmake-utils_src_install
- insinto /usr/include
- doins metis/include/metis.h
-
- newdoc metis/Changelog Changelog.metis}
- use doc && dodoc "${WORKDIR}/${METISP}"/manual/manual.pdf
- if use examples; then
- docinto examples/metis
- dodoc -r "${WORKDIR}/${METISP}"/{programs,graphs}/.
- docompress -x /usr/share/doc/${PF}/examples/metis
- fi
- # alternative stuff
- cat > metis.pc <<-EOF
- prefix=${EPREFIX}/usr
- libdir=\${prefix}/$(get_libdir)
- includedir=\${prefix}/include
- Name: metis
- Description: Unstructured graph partitioning library
- Version: ${METISPV}
- URL: ${HOMEPAGE/parmetis/metis}
- Libs: -L\${libdir} -lmetis
- Cflags: -I\${includedir}/metis
- EOF
- insinto /usr/$(get_libdir)/pkgconfig
- doins metis.pc
- # change if scotch is actually an alternative to metis
- #alternatives_for metis metis 0 \
- # /usr/$(get_libdir)/pkgconfig/metis.pc refmetis.pc
-
- if use mpi; then
- dodoc Changelog
- use doc && dodoc manual/manual.pdf
- if use examples; then
- docinto examples/${PN}
- dodoc -r {programs,Graphs}/.
- docompress -x /usr/share/doc/${PF}/examples/${PN}
- fi
- # alternative stuff
- cat > ${PN}.pc <<-EOF
- prefix=${EPREFIX}/usr
- libdir=\${prefix}/$(get_libdir)
- includedir=\${prefix}/include
- Name: ${PN}
- Description: ${DESCRIPTION}
- Version: ${PV}
- URL: ${HOMEPAGE}
- Libs: -L\${libdir} -l${PN}
- Cflags: -I\${includedir}/${PN}
- Requires: metis
- EOF
- insinto /usr/$(get_libdir)/pkgconfig
- doins ${PN}.pc
- # change if scotch is actually an alternative to parmetis
- #alternatives_for metis-mpi ${PN} 0 \
- # /usr/$(get_libdir)/pkgconfig/metis-mpi.pc ${PN}.pc
- fi
-}