From 46eedbedafdb0040c37884982d4c775ce277fb7b Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Wed, 20 Oct 2021 10:22:14 +0100 Subject: gentoo resync : 20.10.2021 --- sys-cluster/mpich2/Manifest | 2 +- sys-cluster/mpich2/mpich2-1.5-r1.ebuild | 123 ++++++++++++++++++++++++++++++++ sys-cluster/mpich2/mpich2-1.5.ebuild | 123 -------------------------------- 3 files changed, 124 insertions(+), 124 deletions(-) create mode 100644 sys-cluster/mpich2/mpich2-1.5-r1.ebuild delete mode 100644 sys-cluster/mpich2/mpich2-1.5.ebuild (limited to 'sys-cluster/mpich2') diff --git a/sys-cluster/mpich2/Manifest b/sys-cluster/mpich2/Manifest index 39dfd58c0502..d0c24b4e3156 100644 --- a/sys-cluster/mpich2/Manifest +++ b/sys-cluster/mpich2/Manifest @@ -1,4 +1,4 @@ AUX mpich2-1.5-fno-common.patch 531 BLAKE2B 1b7823e5c597384eb3dea589dfca0caee8fee9ed2887ac25c5152812fa1ea4e3e6d31669945e9c0c16b443e85c6fc9e075ad54b3b5d7a60fbc1921917b023978 SHA512 2e71c542e7cf4237c723dea527be06b6f37fd7f338810cf5a544b39234dda089b06ed58dd8e0ff5b7cdd3c716a0bae90b6e47c0bb03c865a93c962567d3267f5 DIST mpich2-1.5.tar.gz 22826035 BLAKE2B 75075fbdd0111725e5bce1e828561125cdba2c91ecfb5af7c6ebd0603f8de05aa5813e57bf05b276607d0a6c0a378862b5631ab988f87e67299e7f651efdc76b SHA512 01ef68accdd60af805705c1c7a144a570eee6f01984939fe151a093f963c956fba366247b1058885ba1a2ff626278d30e928e03d394bd6cf2a4b6dab99586c15 -EBUILD mpich2-1.5.ebuild 2977 BLAKE2B 57e1ce873844d9a05b1dea78d4a8c949cf3c113fa3e43355edb8dfdc3deea72c4d7b81686e530dd39a8bc1a35836a0cc87790be1a95fa842c889a33c6e347f77 SHA512 c676dbd4663a4cb8b06e5bbd97805335501f21ba66898a5fefc4477bd9d4b21c6ff021853b3f77f9f4533c9e741d057b42c0521e7e4d1208e267592c319bf443 +EBUILD mpich2-1.5-r1.ebuild 2982 BLAKE2B a363e5f8de2e1e7e62b1cc9d40a66827a16a7a0435802e5794ca0e9b1079c5b07163cb8761f7c2fb4091d3903ac4707fc0003d3415679a1b49e397898aafdc91 SHA512 6d27ac06b7275f7caa8b4d1eb45ee87591f390b57c37885776df37354615e8deb0d43ed173394c057a041e2b496fbb564095d53632b8b61d0ab4b653cc17fc5b MISC metadata.xml 427 BLAKE2B 367f9a26db478ba0c84be955fe5861c50c9bcad56be08f07ed1d958b26f9d9529e6e1e7d0f24a0256306fc93062f5309a068ea2a661fbdcba837c95c7ab2eec5 SHA512 3c0b449002cf029ec027c9f0bb0c0025a142577a2f747eac4b0d96c62255bd76ce6233744eb844d05f2b93d51225e497f4e34357564a6fcce50176bc1cf51e77 diff --git a/sys-cluster/mpich2/mpich2-1.5-r1.ebuild b/sys-cluster/mpich2/mpich2-1.5-r1.ebuild new file mode 100644 index 000000000000..b436f7e5fe9d --- /dev/null +++ b/sys-cluster/mpich2/mpich2-1.5-r1.ebuild @@ -0,0 +1,123 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +FORTRAN_NEEDED=fortran + +inherit epatch fortran-2 flag-o-matic + +MY_PV=${PV/_/} +DESCRIPTION="A high performance and portable MPI implementation" +HOMEPAGE="http://www.mcs.anl.gov/research/projects/mpich2/index.php" +SRC_URI="http://www.mcs.anl.gov/research/projects/mpich2/downloads/tarballs/${MY_PV}/${PN}-${MY_PV}.tar.gz" + +SLOT="0" +LICENSE="mpich2" +KEYWORDS="amd64 ~arm64 ~hppa ppc ppc64 x86 ~amd64-linux ~x86-linux" +IUSE="+cxx doc fortran mpi-threads romio threads" + +COMMON_DEPEND=" + dev-libs/libaio + net-libs/libnsl:0= + sys-apps/hwloc + romio? ( net-fs/nfs-utils )" + +DEPEND="${COMMON_DEPEND} + dev-lang/perl + sys-devel/libtool" + +RDEPEND="${COMMON_DEPEND} + !sys-cluster/mpich + !sys-cluster/openmpi" + +S="${WORKDIR}"/${PN}-${MY_PV} + +pkg_setup() { + FORTRAN_STANDARD="77 90" + fortran-2_pkg_setup + + if use mpi-threads && ! use threads; then + ewarn "mpi-threads requires threads, assuming that's what you want" + fi +} + +src_prepare() { + epatch "${FILESDIR}/${P}-fno-common.patch" + + # Using MPICH2LIB_LDFLAGS doesn't seem to full work. + sed -i 's| *@WRAPPER_LDFLAGS@ *||' \ + src/packaging/pkgconfig/mpich2.pc.in \ + src/env/*.in \ + || die +} + +src_configure() { + local c="--enable-shared --disable-static" + + # The configure statements can be somewhat confusing, as they + # don't all show up in the top level configure, however, they + # are picked up in the children directories. + + if use mpi-threads; then + # MPI-THREAD requries threading. + c="${c} --with-thread-package=pthreads" + c="${c} --enable-threads=runtime" + else + if use threads ; then + c="${c} --with-thread-package=pthreads" + else + c="${c} --with-thread-package=none" + fi + c="${c} --enable-threads=single" + fi + + # GCC 10 compatibility workaround + # bug #725722 + append-fflags $(test-flags-FC -fallow-argument-mismatch) + + export MPICH2LIB_CFLAGS=${CFLAGS} + export MPICH2LIB_CPPFLAGS=${CPPFLAGS} + export MPICH2LIB_CXXFLAGS=${CXXFLAGS} + export MPICH2LIB_FFLAGS=${FFLAGS} + export MPICH2LIB_FCFLAGS=${FCFLAGS} + export MPICH2LIB_LDFLAGS=${LDFLAGS} + # dropped w/ bug #725722 fix + #unset CFLAGS CPPFLAGS CXXFLAGS FFLAGS FCFLAGS LDFLAGS + + c="${c} --sysconfdir=${EPREFIX}/etc/${PN}" + c="${c} --docdir=${EPREFIX}/usr/share/doc/${PF}" + + # Forcing Bash as there's quite a few bashisms in the build system + CONFIG_SHELL="${BROOT}/bin/bash" econf ${c} \ + --with-pm=hydra \ + --disable-mpe \ + --disable-fast \ + --enable-smpcoll \ + --enable-versioning \ + $(use_enable romio) \ + $(use_enable cxx) \ + $(use_enable fortran f77) \ + $(use_enable fortran fc) +} + +src_test() { + emake -j1 check +} + +src_install() { + default + + dodir /usr/share/doc/${PF} + dodoc COPYRIGHT README{,.envvar} CHANGES RELEASE_NOTES + newdoc src/pm/hydra/README README.hydra + if use romio; then + newdoc src/mpi/romio/README README.romio + fi + + if ! use doc; then + rm -rf "${D}"usr/share/doc/${PF}/www* + fi + + find "${ED}" -name '*.la' -delete || die +} diff --git a/sys-cluster/mpich2/mpich2-1.5.ebuild b/sys-cluster/mpich2/mpich2-1.5.ebuild deleted file mode 100644 index 05eb7a68a7d2..000000000000 --- a/sys-cluster/mpich2/mpich2-1.5.ebuild +++ /dev/null @@ -1,123 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -FORTRAN_NEEDED=fortran - -inherit epatch fortran-2 flag-o-matic - -MY_PV=${PV/_/} -DESCRIPTION="A high performance and portable MPI implementation" -HOMEPAGE="http://www.mcs.anl.gov/research/projects/mpich2/index.php" -SRC_URI="http://www.mcs.anl.gov/research/projects/mpich2/downloads/tarballs/${MY_PV}/${PN}-${MY_PV}.tar.gz" - -SLOT="0" -LICENSE="mpich2" -KEYWORDS="amd64 ~arm64 ~hppa ppc ppc64 x86 ~amd64-linux ~x86-linux" -IUSE="+cxx doc fortran mpi-threads romio threads" - -COMMON_DEPEND=" - dev-libs/libaio - net-libs/libnsl:0= - sys-apps/hwloc - romio? ( net-fs/nfs-utils )" - -DEPEND="${COMMON_DEPEND} - dev-lang/perl - sys-devel/libtool" - -RDEPEND="${COMMON_DEPEND} - !sys-cluster/mpich - !sys-cluster/openmpi" - -S="${WORKDIR}"/${PN}-${MY_PV} - -pkg_setup() { - FORTRAN_STANDARD="77 90" - fortran-2_pkg_setup - - if use mpi-threads && ! use threads; then - ewarn "mpi-threads requires threads, assuming that's what you want" - fi -} - -src_prepare() { - epatch "${FILESDIR}/${P}-fno-common.patch" - - # Using MPICH2LIB_LDFLAGS doesn't seem to full work. - sed -i 's| *@WRAPPER_LDFLAGS@ *||' \ - src/packaging/pkgconfig/mpich2.pc.in \ - src/env/*.in \ - || die -} - -src_configure() { - local c="--enable-shared --disable-static" - - # The configure statements can be somewhat confusing, as they - # don't all show up in the top level configure, however, they - # are picked up in the children directories. - - if use mpi-threads; then - # MPI-THREAD requries threading. - c="${c} --with-thread-package=pthreads" - c="${c} --enable-threads=runtime" - else - if use threads ; then - c="${c} --with-thread-package=pthreads" - else - c="${c} --with-thread-package=none" - fi - c="${c} --enable-threads=single" - fi - - # GCC 10 compatibility workaround - # bug #725722 - append-fflags $(test-flags-FC -fallow-argument-mismatch) - - export MPICH2LIB_CFLAGS=${CFLAGS} - export MPICH2LIB_CPPFLAGS=${CPPFLAGS} - export MPICH2LIB_CXXFLAGS=${CXXFLAGS} - export MPICH2LIB_FFLAGS=${FFLAGS} - export MPICH2LIB_FCFLAGS=${FCFLAGS} - export MPICH2LIB_LDFLAGS=${LDFLAGS} - # dropped w/ bug #725722 fix - #unset CFLAGS CPPFLAGS CXXFLAGS FFLAGS FCFLAGS LDFLAGS - - c="${c} --sysconfdir=${EPREFIX}/etc/${PN}" - c="${c} --docdir=${EPREFIX}/usr/share/doc/${PF}" - - # Forcing Bash as there's quite a few bashisms in the build system - CONFIG_SHELL="${BROOT}/bin/bash" econf \ - --with-pm=hydra \ - --disable-mpe \ - --disable-fast \ - --enable-smpcoll \ - --enable-versioning \ - $(use_enable romio) \ - $(use_enable cxx) \ - $(use_enable fortran f77) \ - $(use_enable fortran fc) -} - -src_test() { - emake -j1 check -} - -src_install() { - default - - dodir /usr/share/doc/${PF} - dodoc COPYRIGHT README{,.envvar} CHANGES RELEASE_NOTES - newdoc src/pm/hydra/README README.hydra - if use romio; then - newdoc src/mpi/romio/README README.romio - fi - - if ! use doc; then - rm -rf "${D}"usr/share/doc/${PF}/www* - fi - - find "${ED}" -name '*.la' -delete || die -} -- cgit v1.2.3