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 CDC0C1382C5 for ; Fri, 1 Jan 2021 14:33:57 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 20D3CE0841; Fri, 1 Jan 2021 14:33:57 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (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 E78C9E0841 for ; Fri, 1 Jan 2021 14:33:56 +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 53C6E340BDE for ; Fri, 1 Jan 2021 14:33:55 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id BA8FFC3 for ; Fri, 1 Jan 2021 14:33:53 +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: <1609511622.15de3fc09644b69ce1be1b236c52aab359fb0721.epsilon-0@gentoo> Subject: [gentoo-commits] proj/sci:master commit in: sci-libs/mpiblacs/ X-VCS-Repository: proj/sci X-VCS-Files: sci-libs/mpiblacs/metadata.xml sci-libs/mpiblacs/mpiblacs-1.1-r1.ebuild X-VCS-Directories: sci-libs/mpiblacs/ X-VCS-Committer: epsilon-0 X-VCS-Committer-Name: Aisha Tammy X-VCS-Revision: 15de3fc09644b69ce1be1b236c52aab359fb0721 X-VCS-Branch: master Date: Fri, 1 Jan 2021 14:33:53 +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: 0cab7c2f-ee45-46ab-afad-fe57c1757966 X-Archives-Hash: d5c225b158f2eabadbc94bd43a907b6a commit: 15de3fc09644b69ce1be1b236c52aab359fb0721 Author: Aisha Tammy aisha cc> AuthorDate: Fri Jan 1 14:33:30 2021 +0000 Commit: Aisha Tammy aisha cc> CommitDate: Fri Jan 1 14:33:42 2021 +0000 URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=15de3fc0 sci-libs/mpiblacs: drop package it is not a part of sci-libs/scalapack Package-Manager: Portage-3.0.12, Repoman-3.0.2 Signed-off-by: Aisha Tammy aisha.cc> sci-libs/mpiblacs/metadata.xml | 15 ---- sci-libs/mpiblacs/mpiblacs-1.1-r1.ebuild | 127 ------------------------------- 2 files changed, 142 deletions(-) diff --git a/sci-libs/mpiblacs/metadata.xml b/sci-libs/mpiblacs/metadata.xml deleted file mode 100644 index e90a78797..000000000 --- a/sci-libs/mpiblacs/metadata.xml +++ /dev/null @@ -1,15 +0,0 @@ - - - - - sci@gentoo.org - Gentoo Science Project - - -The BLACS (Basic Linear Algebra Communication Subprograms) -project is an ongoing investigation whose purpose is to create -a linear algebra oriented message passing interface -that may be implemented efficiently and uniformly across -a large range of distributed memory platforms. - - diff --git a/sci-libs/mpiblacs/mpiblacs-1.1-r1.ebuild b/sci-libs/mpiblacs/mpiblacs-1.1-r1.ebuild deleted file mode 100644 index 0c0ba0801..000000000 --- a/sci-libs/mpiblacs/mpiblacs-1.1-r1.ebuild +++ /dev/null @@ -1,127 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 -inherit eutils toolchain-funcs versionator alternatives-2 multilib - -DESCRIPTION="Basic Linear Algebra Communication Subprograms with MPI" -HOMEPAGE="http://www.netlib.org/blacs/" -SRC_URI="${HOMEPAGE}/${PN}.tgz - ${HOMEPAGE}/${PN}-patch03.tgz - test? ( ${HOMEPAGE}/blacstester.tgz )" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" -IUSE="static-libs test" - -RDEPEND="virtual/mpi[fortran] - virtual/blas - !>sci-libs/scalapack-2" -DEPEND="${RDEPEND} - virtual/pkgconfig" - -S="${WORKDIR}/BLACS" - -static_to_shared() { - local libstatic=${1}; shift - local libname=$(basename ${libstatic%.a}) - local soname=${libname}$(get_libname $(get_version_component_range 1-2)) - local libdir=$(dirname ${libstatic}) - - einfo "Making ${soname} from ${libstatic}" - if [[ ${CHOST} == *-darwin* ]] ; then - ${LINK:-$(tc-getCC)} ${LDFLAGS} \ - -dynamiclib -install_name "${EPREFIX}"/usr/lib/"${soname}" \ - -Wl,-all_load -Wl,${libstatic} \ - "$@" -o ${libdir}/${soname} || die "${soname} failed" - else - ${LINK:-$(tc-getCC)} ${LDFLAGS} \ - -shared -Wl,-soname=${soname} \ - -Wl,--whole-archive ${libstatic} -Wl,--no-whole-archive \ - "$@" -o ${libdir}/${soname} || die "${soname} failed" - [[ $(get_version_component_count) -gt 1 ]] && \ - ln -s ${soname} ${libdir}/${libname}$(get_libname $(get_major_version)) || die - ln -s ${soname} ${libdir}/${libname}$(get_libname) || die - fi -} - -src_prepare() { - find . -name Makefile -exec sed -i -e 's:make:$(MAKE):g' '{}' \; || die - - sed -e "s:\(SHELL\s*=\).*:\1$(type -P sh):" \ - -e "s:\(BTOPdir\s*=\).*:\1${S}:" \ - -e "s:\(BLACSFINIT\s*=\).*:\1\$(BLACSdir)/lib${PN}F77init.a:" \ - -e "s:\(BLACSCINIT\s*=\).*:\1\$(BLACSdir)/lib${PN}Cinit.a:" \ - -e "s:\(BLACSLIB\s*=\).*:\1\$(BLACSdir)/lib${PN}.a:" \ - -e "s:\(MPIINCdir\s*=\).*:\1${EPREFIX}/usr/include:" \ - -e "s:\(MPILIB\s*=\).*:\1:" \ - -e '/SYSINC.*=/d' \ - -e 's:\(INTFACE\s*=\).*:\1-DAdd_:' \ - -e 's:\(TRANSCOMM\s*=\).*:\1-DUseMpi2:' \ - -e "s:\(F77\s*=\).*:\1mpif77:" \ - -e "s:\(F77NO_OPTFLAGS\s*=\).*:\1-O0:" \ - -e "s:\(F77FLAGS\s*=\).*:\1${FFLAGS}:" \ - -e "s:\(F77LOADFLAGS\s*=\).*:\1${LDFLAGS}:" \ - -e "s:\(CC\s*=\).*:\1mpicc:" \ - -e "s:\(CCFLAGS\s*=\).*:\1${CFLAGS}:" \ - -e "s:\(CCLOADFLAGS\s*=\).*:\1${LDFLAGS}:" \ - -e "s:\(ARCH\s*=\).*:\1$(tc-getAR):" \ - -e "s:\(RANLIB\s*=\).*:\1$(tc-getRANLIB):" \ - BMAKES/Bmake.MPI-LINUX > Bmake.inc || die -} - -src_compile() { - emake \ - F77NO_OPTFLAGS="-O0 -fPIC" \ - F77FLAGS="${FFLAGS} -fPIC" \ - CCFLAGS="${CFLAGS} -fPIC" \ - mpi - LINK=mpif77 static_to_shared LIB/lib${PN}.a - LINK=mpicc static_to_shared LIB/lib${PN}Cinit.a -LLIB -l${PN} - LINK=mpif77 static_to_shared LIB/lib${PN}F77init.a -LLIB -l${PN} - if use static-libs; then - emake clean -C SRC/MPI && rm -f LIB/*.a - emake mpi - fi -} - -src_test() { - emake tester - cd TESTING/EXE - local x - # do not die because we are expecting an abort - for x in ./x*; do - mpirun -np 4 $x 2>&1 | tee $x.log - grep -q "\*\*\*" $x.log && die "$x failed" - done -} - -src_install() { - pushd LIB - dolib.so lib*$(get_libname)* - use static-libs && dolib.a lib*.a - cat <<-EOF > ${PN}.pc - prefix=${EPREFIX}/usr - libdir=\${prefix}/$(get_libdir) - includedir=\${prefix}/include - Name: ${PN} - Description: ${DESCRIPTION} - Version: ${PV} - URL: ${HOMEPAGE} - Libs: -L\${libdir} -l${PN} -l${PN}Cinit -l${PN}F77init - Private: -lm - Cflags: -I\${includedir}/${PN} - Requires: blas - EOF - insinto /usr/$(get_libdir)/pkgconfig - doins ${PN}.pc - alternatives_for blacs ${PN} 0 \ - /usr/$(get_libdir)/pkgconfig/blacs.pc ${PN}.pc - popd > /dev/null - - pushd SRC/MPI > /dev/null - insinto /usr/include/blacs - doins Bconfig.h Bdef.h - popd > /dev/null -}