summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2020-11-22 15:54:09 +0100
committerDavid Seifert <soap@gentoo.org>2020-11-22 15:54:09 +0100
commit7789551d42cdf355b81e1a2d8002a8e6cf9476bf (patch)
tree52647329af3e25da94aacb1dc2045c283f4923ec /sys-cluster/mvapich2
parentsys-power/nvram-wakeup: Remove last-rited package (diff)
downloadgentoo-7789551d42cdf355b81e1a2d8002a8e6cf9476bf.tar.gz
gentoo-7789551d42cdf355b81e1a2d8002a8e6cf9476bf.tar.bz2
gentoo-7789551d42cdf355b81e1a2d8002a8e6cf9476bf.zip
sys-cluster/mvapich2: Remove last-rited package
Closes: https://bugs.gentoo.org/463188 Closes: https://bugs.gentoo.org/531104 Closes: https://bugs.gentoo.org/613116 Closes: https://bugs.gentoo.org/740926 Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'sys-cluster/mvapich2')
-rw-r--r--sys-cluster/mvapich2/Manifest1
-rw-r--r--sys-cluster/mvapich2/metadata.xml13
-rw-r--r--sys-cluster/mvapich2/mvapich2-1.6.ebuild142
3 files changed, 0 insertions, 156 deletions
diff --git a/sys-cluster/mvapich2/Manifest b/sys-cluster/mvapich2/Manifest
deleted file mode 100644
index 9c59e1fd9d10..000000000000
--- a/sys-cluster/mvapich2/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST mvapich2-1.6.tgz 23239787 BLAKE2B 4cdd286d7a13f70b50ced6ac6cb3df51065225a33141410b699246f2b99d0f4b57611cd95f39806387c71d0f07257560c6f210ed4bbb8ce5fa5d2b8b7071db2c SHA512 4a4aac17742f347c4daed40a8360576ff4c644c549d4a3b364c7d2b1eada6aecc514b447b4613111e113d8f9be79b5101a999298cf89ff19ce63523a54702289
diff --git a/sys-cluster/mvapich2/metadata.xml b/sys-cluster/mvapich2/metadata.xml
deleted file mode 100644
index ba65afe10755..000000000000
--- a/sys-cluster/mvapich2/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>
- <maintainer type="project">
- <email>cluster@gentoo.org</email>
- <name>Gentoo Cluster Project</name>
- </maintainer>
- <use>
- <flag name="large-cluster">Automatically generated description for large-cluster</flag>
- <flag name="medium-cluster">Automatically generated description for medium-cluster</flag>
- <flag name="romio">Automatically generated description for romio</flag>
- </use>
-</pkgmetadata>
diff --git a/sys-cluster/mvapich2/mvapich2-1.6.ebuild b/sys-cluster/mvapich2/mvapich2-1.6.ebuild
deleted file mode 100644
index 6d9ecdeadbc7..000000000000
--- a/sys-cluster/mvapich2/mvapich2-1.6.ebuild
+++ /dev/null
@@ -1,142 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="4"
-
-inherit flag-o-matic fortran-2 toolchain-funcs
-
-DESCRIPTION="MVAPICH2 MPI-over-infiniband package auto-configured for OpenIB"
-HOMEPAGE="http://mvapich.cse.ohio-state.edu/"
-SRC_URI="http://mvapich.cse.ohio-state.edu/download/mvapich2/mvapich2-${PV/_/-}.tgz"
-
-SLOT="0"
-LICENSE="BSD"
-KEYWORDS="~amd64 ~x86"
-IUSE="debug fortran large-cluster medium-cluster romio threads"
-
-RDEPEND="
- sys-fabric/libibverbs
- sys-fabric/libibumad
- sys-fabric/libibmad
- sys-fabric/librdmacm"
-DEPEND="${RDEPEND}"
-
-S="${WORKDIR}/mvapich2-${PV/_/-}"
-
-pkg_setup() {
- fortran-2_pkg_setup
-
- if [ -z "${MVAPICH_HCA_TYPE}" ]; then
- elog "${PN} needs to know which HCA it should optimize for. This is"
- elog "passed to the ebuild with the variable, \${MVAPICH_HCA_TYPE}."
- elog "Please choose one of: _MLX_PCI_EX_SDR_, _MLX_PCI_EX_DDR_,"
- elog "_MLX_PCI_X, _PATH_HT_, or _IBM_EHCA_."
- elog "See make.mvapich2.detect in ${S} for more information."
- die "MVAPICH_HCA_TYPE undefined"
- fi
-
- case ${ARCH} in
- amd64)
- if grep Intel /proc/cpuinfo &>/dev/null; then
- BUILD_ARCH=-D_EM64T_
- else
- BUILD_ARCH=-D_X86_64_
- fi
- ;;
- x86)
- BUILD_ARCH=-D_IA32_
- ;;
- ia64)
- BUILD_ARCH=-D_IA64_
- ;;
- ppc64)
- BUILD_ARCH=-D_PPC64_
- ;;
- *)
- die "unsupported architecture: ${ARCH}"
- ;;
- esac
-}
-
-src_prepare() {
- einfo "Disabling examples"
- # Examples are always compiled with the default 'all' target. This
- # causes problems when we don't build support for everything, including
- # threads, mpe2, etc. So we're not going to build them.
- sed -i 's:.*cd examples && ${MAKE} all.*::' Makefile.in
-}
-
-src_configure() {
- local c="--with-device=osu_ch3:mrail
- --with-rdma=gen2
- --with-pm=mpd
- $(use_enable romio)
- --with-mpe=no"
-
- # TODO Shared libs should build with this, but they don't
- # --enable-shared=gcc"
-
- local enable_srq
- local vcluster=-D_SMALL_CLUSTER
-
- use large-cluster && vcluster=-D_LARGE_CLUSTER
- use medium-cluster && vcluster=-D_MEDIUM_CLUSTER
- [ "${MVAPICH_HCA_TYPE}" == "_MLX_PCI_X_" ] && enable_srq="-DSRQ"
-
- append-ldflags "-lrdmacm"
- append-flags "-DADAPTIVE_RDMA_FAST_PATH -DRDMA_CM"
-
- append-ldflags "-libverbs -libumad -libmad"
-
- append-flags "${BUILD_ARCH} -DUSE_INLINE -D_SMP_ -D_GNU_SOURCE"
- append-flags "${enable_srq} -DUSE_HEADER_CACHING -DLAZY_MEM_UNREGISTER"
- append-flags "-DONE_SIDED -D${MVAPICH_HCA_TYPE} ${vcluster}"
- append-flags "-DMPID_USE_SEQUENCE_NUMBERS -DUSE_MPD_RING"
-
- use debug && c="${c} --enable-g=all --enable-debuginfo"
-
- if use threads; then
- c="${c} --enable-threads=multiple --with-thread-package=pthreads"
- append-flags "-pthread"
- else
- c="${c} --with-thread-package=none"
- fi
-
- # enable f90 support for appropriate compilers
- if use fortran; then
- case "$(tc-getFC)" in
- gfortran|ifort|f95)
- c="${c} --enable-f77 --enable-f90";;
- g77|f77|f2c)
- c="${c} --enable-f77 --disable-f90";;
- esac
- else
- c="${c} --disable-f77 --disable-f90"
- fi
-
- sed -i \
- -e 's/ ${exec_prefix}/ ${DESTDIR}${exec_prefix}/' \
- -e 's/ ${libdir}/ ${DESTDIR}${libdir}/' \
- ${S/-beta2/}/Makefile.in
- sed -i '/bindir/s/ ${bindir}/ ${DESTDIR}${bindir}/' ${S/-beta2/}/src/pm/mpd/Makefile.in
- cd ${S/-beta2/}
-
- econf ${c}
-}
-
-src_install() {
- emake DESTDIR="${D}"
- dodoc CHANGES_MPICH2 COPYRIGHT COPYRIGHT_MVAPICH2 LICENSE.TXT \
- README* RELEASE_NOTES*
-}
-
-pkg_postinst() {
- einfo "To allow normal users to use infiniband, it is necessary to"
- einfo "increase the system limits on locked memory."
- einfo "You must increase the kernel.shmmax sysctl value, and increase"
- einfo "the memlock limits in /etc/security/limits.conf. i.e.:"
- echo
- einfo "echo 'kernel.shmmax = 512000000' >> /etc/sysctl.conf"
- einfo "echo 512000000 > /proc/sys/kernel/shmmax"
- einfo "echo -e '* soft memlock 500000\n* hard memlock 500000' > /etc/security/limits.conf"
-}