From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 51DF9138359 for ; Sun, 27 Sep 2020 15:32:48 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 80BF2E07DB; Sun, 27 Sep 2020 15:32:47 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 5C10AE07DB for ; Sun, 27 Sep 2020 15:32:47 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 355E3340B27 for ; Sun, 27 Sep 2020 15:32:46 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 9FAB1339 for ; Sun, 27 Sep 2020 15:32:44 +0000 (UTC) From: "Aisha Tammy" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Aisha Tammy" Message-ID: <1601220746.2d25882dc4028dc8092fcb0c8dbe111f1c401e0b.epsilon-0@gentoo> Subject: [gentoo-commits] proj/sci:master commit in: sys-cluster/mpe2/ X-VCS-Repository: proj/sci X-VCS-Files: sys-cluster/mpe2/metadata.xml sys-cluster/mpe2/mpe2-1.3.0.ebuild X-VCS-Directories: sys-cluster/mpe2/ X-VCS-Committer: epsilon-0 X-VCS-Committer-Name: Aisha Tammy X-VCS-Revision: 2d25882dc4028dc8092fcb0c8dbe111f1c401e0b X-VCS-Branch: master Date: Sun, 27 Sep 2020 15:32:44 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 3990de73-1880-4b20-bb71-412079b51963 X-Archives-Hash: 81fbd3775f311367ea75cb10a8915f19 commit: 2d25882dc4028dc8092fcb0c8dbe111f1c401e0b Author: Aisha Tammy aisha cc> AuthorDate: Sun Sep 27 15:32:26 2020 +0000 Commit: Aisha Tammy aisha cc> CommitDate: Sun Sep 27 15:32:26 2020 +0000 URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=2d25882d sys-cluster/mpe2: drop package present in ::gentoo Package-Manager: Portage-3.0.8, Repoman-3.0.1 Signed-off-by: Aisha Tammy aisha.cc> sys-cluster/mpe2/metadata.xml | 8 -- sys-cluster/mpe2/mpe2-1.3.0.ebuild | 147 ------------------------------------- 2 files changed, 155 deletions(-) diff --git a/sys-cluster/mpe2/metadata.xml b/sys-cluster/mpe2/metadata.xml deleted file mode 100644 index 8bf4b5f36..000000000 --- a/sys-cluster/mpe2/metadata.xml +++ /dev/null @@ -1,8 +0,0 @@ - - - - - cluster@gentoo.org - Gentoo Cluster Project - - diff --git a/sys-cluster/mpe2/mpe2-1.3.0.ebuild b/sys-cluster/mpe2/mpe2-1.3.0.ebuild deleted file mode 100644 index d1bf59c08..000000000 --- a/sys-cluster/mpe2/mpe2-1.3.0.ebuild +++ /dev/null @@ -1,147 +0,0 @@ -# Copyright 1999-2016 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -FORTRAN_NEEDED=fortran - -inherit eutils fortran-2 java-utils-2 toolchain-funcs - -MY_P=${P/_/} -DESCRIPTION="MPI development tools" -HOMEPAGE="http://www-unix.mcs.anl.gov/perfvis/download/index.htm" -SRC_URI="ftp://ftp.mcs.anl.gov/pub/mpi/${PN%2}/${MY_P}.tar.gz" - -LICENSE="mpich2" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="minimal fortran threads debug" - -COMMON_DEPEND=" - !minimal? ( - x11-libs/libXtst - x11-libs/libXi - ) - || ( - sys-cluster/openmpi[fortran?,threads?] - sys-cluster/mpich2[fortran?,threads?] - )" - -DEPEND="!minimal? ( >=virtual/jdk-1.4 ) - ${COMMON_DEPEND}" - -RDEPEND=" -!minimal? ( >=virtual/jre-1.4 ) - ${COMMON_DEPEND}" - -S="${WORKDIR}"/${MY_P} -MPE_IMP="" - -# README: -# This ebuild is created to handle building with both mpich2 and openmpi. -# However, without empi (in the science overlay), and some further -# conversion to use mpi.eclass, we can only handle one implementation -# at a time. I still believe it's better to have the ebuild setup -# correctly in preperation. - -pkg_setup() { - fortran-2_pkg_setup - local i - - if has_version sys-cluster/openmpi; then - MPE_IMP=openmpi - elif has_version sys-cluster/mpich2; then - MPE_IMP=mpich2 - else - die "Unknown MPI implementation" - fi - - export JFLAGS="${JFLAGS} $(java-pkg_javac-args)" - - if [[ "${MPE_IMP}" == openmpi ]] && [ -z "${MPE2_FORCE_OPENMPI_TEST}" ]; then - echo - elog "Currently src_test fails on collchk with openmpi, hence" - elog "testing is disabled by default. If you would like to" - elog "force testing, please add MPE_FORCE_OPENMPI_TEST=1" - elog "to your environment." - echo - fi - - einfo "Building with support for: sys-cluster/${MPE_IMP}" -} - -src_prepare() { - default - # Don't assume path contains ./ - sed -i 's,\($MPERUN\) $pgm,\1 ./$pgm,' sbin/mpetestexeclog.in || die - - # No parallel make: - # http://trac.mcs.anl.gov/projects/mpich2/ticket/1095#comment:1 - MAKEOPTS+=" -j1" -} - -src_configure() { - local c="--with-mpicc=/usr/bin/mpicc" - - if use fortran; then - c="${c} --with-mpif77=/usr/bin/mpif77" - else - c="${c} --disable-f77" - fi - - if use minimal; then - c="${c} --enable-slog2=no --disable-rlog --disable-sample" - else - c="${c} --with-java2=$(java-config --jdk-home) --enable-slog2=build" - fi - - if [[ "${MPE_IMP}" == openmpi ]]; then - c="${c} --disable-rlog --disable-sample" - fi - - econf ${c} \ - --sysconfdir=/etc/${PN} \ - --datadir=/usr/share/${PN} \ - --with-htmldir=/usr/share/${PN} \ - --with-docdir=/usr/share/${PN} \ - --enable-collchk \ - --enable-wrappers \ - $(use_enable !minimal graphics) \ - $(use_enable threads threadlogging) \ - $(use_enable debug g) -} - -src_test() { - local rc - - cd "${S}" || die - if [[ "${MPE_IMP}" == mpich2 ]]; then - echo "MPD_SECRETWORD=junk" > "${T}"/mpd.conf - chmod 600 "${T}"/mpd.conf - export MPD_CONF_FILE="${T}/mpd.conf" - "${ROOT}"usr/bin/mpd -d --pidfile="${T}"/mpd.pid - elif [[ "${MPE_IMP}" == openmpi* ]] && [ -z "${MPE2_FORCE_OPENMPI_TEST}" ]; then - elog - elog "Skipping tests for openmpi" - elog - return 0 - fi - - emake \ - CC="${S}"/bin/mpecc \ - FC="${S}"/bin/mpefc \ - MPERUN="${ROOT}/usr/bin/mpiexec -n 4" \ - CLOG2TOSLOG2="${S}/src/slog2sdk/bin/clog2TOslog2" \ - check; - rc=${?} - if [[ "${MPE_IMP}" == mpich2 ]]; then - "${ROOT}"usr/bin/mpdallexit || kill $(<"${T}"/mpd.pid) - fi - - return ${rc} -} - -src_install() { - default - rm -f "${D}"/usr/sbin/mpeuninstall || die -}