From c5283d322accc6097afec74eab24550829788bab Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Fri, 23 Mar 2018 04:19:44 +0000 Subject: gentoo resync : 23.03.2018 --- sys-cluster/openmpi/Manifest | 4 +- sys-cluster/openmpi/openmpi-2.1.2.ebuild | 174 ------------------------------- sys-cluster/openmpi/openmpi-2.1.3.ebuild | 174 +++++++++++++++++++++++++++++++ 3 files changed, 176 insertions(+), 176 deletions(-) delete mode 100644 sys-cluster/openmpi/openmpi-2.1.2.ebuild create mode 100644 sys-cluster/openmpi/openmpi-2.1.3.ebuild (limited to 'sys-cluster/openmpi') diff --git a/sys-cluster/openmpi/Manifest b/sys-cluster/openmpi/Manifest index edbc01518733..ac77701170e9 100644 --- a/sys-cluster/openmpi/Manifest +++ b/sys-cluster/openmpi/Manifest @@ -10,7 +10,7 @@ DIST openmpi-1.8.7.tar.bz2 13228742 BLAKE2B d273d038726f0892467416388c4c52f4ed8b DIST openmpi-1.8.8.tar.bz2 13231433 BLAKE2B d196fd0bb08cfb0c86a29ae39015eb15e1465554e322c1ae039b61cee3a027ea0ba8d7fecd02e310309caec416147611a233861e464db4449da3b449387b1dca SHA512 8ca2e3ebb9d9ba0f33faba9bef76fe95293721b73619cbc18176611074a56c277e9ab6cae7fa6c87ace11f16151c1bc495b2a8dbc8ad064d5a8f89f5d431a660 DIST openmpi-2.0.2.tar.bz2 8311215 BLAKE2B 8dd0d7b95c396e9a0f05760136bbf62defd3527b2ac4f9ec738239b91d8cf5ed0c3dc4ad5330f0ea2fafa3464164e3d514bc058dc9d019daa83382ae990f442c SHA512 87dc3c23db4b9cb92dbacc9b384b21ce8c4288fe4edc204fbf4a3bef70d8ac4329269e777ed190fa87933d78b73b9e5550ea3b925b2039599cfef3953567232a DIST openmpi-2.0.4.tar.bz2 8272983 BLAKE2B 7d0a392fbc8c896cdccefb9bf0ff83fbd8db8a42d17f06cb23ac88ba896e2c75e1b1b7a79559d0ce3c2b881f197f54ce1bd8967c889bafe2b97f95fb6b957501 SHA512 2cccb83847d44f6282ec24f7bc12ab51b84dc5ac1a2a919ef0761847ff7cdcb31cfb1f38dca33df7063a98c27a64575a108002716d207cbba3a54773b999e6c5 -DIST openmpi-2.1.2.tar.bz2 8278459 BLAKE2B 83f6617322baad4fb13d399fa6a491d1d8dec1a5862974552a5f0cb033ab2a27eb0a44055e2670e3fbe79dbac68ed0130bdfec057cad48e474b814ccd56e59e6 SHA512 8a27a67cab384f9f03efe69bfdd51a8e8790f47a156e3a7e34f26a29d033889653070981c0105f142a96f00293fc069536bd020ae28a97afb564eab747e60457 +DIST openmpi-2.1.3.tar.bz2 8311304 BLAKE2B a6a2d0d759a7207e4e9e9bb1526825ce5b0c9acd22c113f71712381fd7cab55228e78294533a5af6ef2b243803d789c5c71c6d59dd7a8ebbf10b2aa5d99296fd SHA512 61ecf53d840feb4cad1e792225c7fb07a8c4cb849f21693051359cde2cf1b5060de3a9d00ba3b55ded20b5b93bc5ac439951b4fe5cb1a74d4e800f26c979feba DIST openmpi-3.0.0.tar.bz2 9267606 BLAKE2B 9ee569a9c5f5918bb3d389a2945a2e7a5d98464afbd111eb2426a4e8296a23cf6d5b558554ce8126b13f910bd59acbb77e93ac297f3cf222c4bc764836b39ee6 SHA512 7e37eacf959a803d6d89dff4291b64a1f3d83bc7941b778a2fb13d12be0f205cb904e4a807d79676ad1e31fd99ffb15f255c8a227e830673455abb144f14616a EBUILD openmpi-1.10.7.ebuild 6371 BLAKE2B 4c0972ec160ca97f6bb3bb26230acad63db196e143a3d53d159ca033885658417970cf02ecff2e7941e346c79a56a8c4a219c552c3b6a3c813f3438d6c8d3388 SHA512 fe8b2309eec88e65a0286d625213fb2b25fa73db7ff4feac115c3f1f40a0155172f9d4f730d25e587416120e5be4d3bea5d9ac6d124a60ed3763599709c59544 EBUILD openmpi-1.4.3.ebuild 2599 BLAKE2B 7d4cfad71f26c7cb3ba7d1e96fdc837d35d577b5d0e4d82a324f36d350548afb17a343cf0ffe6cb5c906c5165b20bcf8c70971a5d9e1b194dcfea62a234b9c9b SHA512 300e6e21c6a51ce3d097de46813bc496c5efe6508434f5d1a7bfc6b393452192b546802905f8562867b3386a86ad06bb7c42db8d06fd9d50afdf3a3105d0997b @@ -22,6 +22,6 @@ EBUILD openmpi-1.8.7-r1.ebuild 5560 BLAKE2B 2612d375a86e1d98cd5886c7ced4664b5fce EBUILD openmpi-1.8.8.ebuild 5566 BLAKE2B 56828b2534ab5fa76cac1dfbb67249cb64de5017c9e7187038da3e3aa90bd31a143b0c93c497ff5b505f5921eb49c37d6bfa202d4f16928bc6d3a618dabb454b SHA512 c0781188fecce6c9bb8981c7e1008230da9f54defd47098664b963989c202ee0910cd675f6a1660f4bb6b8a0cab2c199fb7cb93e002e1e7ba009d512ac6e6f58 EBUILD openmpi-2.0.2.ebuild 5881 BLAKE2B 3b9331e3c0826735f10657eab3b2ecedd1915626b3e9a65dd8ff323b20923cb190bde5007301428008410f28d68b09e20f4a8a2de04650c5bc579303d7cfb4c8 SHA512 56d519eaa17a62c27f94eb9278f1f6059d07a29ac7dd5bfd520cf2ac281e12932986a57fd266df3587f4ce548dacbf8be97136464a58d41a97cee5066a6cfc70 EBUILD openmpi-2.0.4.ebuild 5879 BLAKE2B 3c5dd06e93489e08b3e93e19330bfb810c7feebcec92a00f90d5f5a0adf22f831edb86796bfd434484c9bbc18713bd72008523279541953d34b7667f5254eb74 SHA512 3eb9bc52989c931ca16dfa6834ee245bab20253659fbf7e7b8bcff0d02406e64a3a17b6634395777c5317061a669134e3c4288b1922b8505f3176ca8f62d3bd5 -EBUILD openmpi-2.1.2.ebuild 5596 BLAKE2B beb41a1306eb635f09bb4a862eed9217a57cd8bff89ce65dd5b19a1ab12856ca50a676c91f025dca53bd68cfa289aca0c676a8dbc8c3f22c74ce18336bfc5806 SHA512 3f76918594348cc5a475a8828ffdcb9ed6bde1ba0dd1a9207d048162041b4b3060dabdd8bdfd91f3a12f44e7c25a5b85aaa98480e07e76edf8aff48bd1baccb4 +EBUILD openmpi-2.1.3.ebuild 5596 BLAKE2B beb41a1306eb635f09bb4a862eed9217a57cd8bff89ce65dd5b19a1ab12856ca50a676c91f025dca53bd68cfa289aca0c676a8dbc8c3f22c74ce18336bfc5806 SHA512 3f76918594348cc5a475a8828ffdcb9ed6bde1ba0dd1a9207d048162041b4b3060dabdd8bdfd91f3a12f44e7c25a5b85aaa98480e07e76edf8aff48bd1baccb4 EBUILD openmpi-3.0.0-r1.ebuild 5482 BLAKE2B 9176ba52c12f53e9e600dc0b77ea7b7377953e70f8c0c81f20de9f5ab1d8311529560d534b5bf2f08e5e5b0407f4d19b69fe443027fd725223f77361fa498757 SHA512 566314c8969df8e5573bcd4064b0f0ace73897d1e4cb271d38ad311301b4ba3bfeec05ace93e11e415b85977603946d581d7b6fad13117682378c015accd7324 MISC metadata.xml 901 BLAKE2B 8cdef4e4438351cb99b59bafb932e4b2b960f08b4eaa9917ac2a5d97fd2423781b1ec27a16005ae6470b8f50509ae3c08c2d06f95e452bd2cf00505b7a79ac35 SHA512 6f30f50d2f2173a01e7ef0d4b808352be98b64945b6af1f05cfaa28024f6efccad28984fe0ad31094f8822c5e251c1270765d5905c7737e1b84302143fe4ac09 diff --git a/sys-cluster/openmpi/openmpi-2.1.2.ebuild b/sys-cluster/openmpi/openmpi-2.1.2.ebuild deleted file mode 100644 index 823dd2c95def..000000000000 --- a/sys-cluster/openmpi/openmpi-2.1.2.ebuild +++ /dev/null @@ -1,174 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -FORTRAN_NEEDED=fortran - -inherit cuda flag-o-matic fortran-2 java-pkg-opt-2 toolchain-funcs versionator multilib-minimal - -MY_P=${P/-mpi} -S=${WORKDIR}/${MY_P} - -IUSE_OPENMPI_FABRICS=" - openmpi_fabrics_ofed - openmpi_fabrics_knem - openmpi_fabrics_psm" - -IUSE_OPENMPI_RM=" - openmpi_rm_pbs - openmpi_rm_slurm" - -IUSE_OPENMPI_OFED_FEATURES=" - openmpi_ofed_features_control-hdr-padding - openmpi_ofed_features_udcm - openmpi_ofed_features_rdmacm - openmpi_ofed_features_dynamic-sl" - -DESCRIPTION="A high-performance message passing library (MPI)" -HOMEPAGE="http://www.open-mpi.org" -SRC_URI="http://www.open-mpi.org/software/ompi/v$(get_version_component_range 1-2)/downloads/${MY_P}.tar.bz2" -LICENSE="BSD" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux" -IUSE="cma cuda cxx elibc_FreeBSD fortran heterogeneous ipv6 java mpi-threads numa romio threads - ${IUSE_OPENMPI_FABRICS} ${IUSE_OPENMPI_RM} ${IUSE_OPENMPI_OFED_FEATURES}" - -REQUIRED_USE="openmpi_rm_slurm? ( !openmpi_rm_pbs ) - openmpi_rm_pbs? ( !openmpi_rm_slurm ) - openmpi_fabrics_psm? ( openmpi_fabrics_ofed ) - openmpi_ofed_features_control-hdr-padding? ( openmpi_fabrics_ofed ) - openmpi_ofed_features_udcm? ( openmpi_fabrics_ofed ) - openmpi_ofed_features_rdmacm? ( openmpi_fabrics_ofed ) - openmpi_ofed_features_dynamic-sl? ( openmpi_fabrics_ofed )" - -# dev-util/nvidia-cuda-toolkit is always multilib -CDEPEND=" - !sys-cluster/mpich - !sys-cluster/mpich2 - !sys-cluster/nullmpi - !sys-cluster/mpiexec - >=dev-libs/libevent-2.0.22[${MULTILIB_USEDEP},threads] - dev-libs/libltdl:0[${MULTILIB_USEDEP}] - >=sys-apps/hwloc-1.11.2[${MULTILIB_USEDEP},numa?] - >=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}] - cuda? ( >=dev-util/nvidia-cuda-toolkit-6.5.19-r1 ) - elibc_FreeBSD? ( || ( dev-libs/libexecinfo >=sys-freebsd/freebsd-lib-10.0 ) ) - openmpi_fabrics_ofed? ( sys-fabric/ofed:* ) - openmpi_fabrics_knem? ( sys-cluster/knem ) - openmpi_fabrics_psm? ( sys-fabric/infinipath-psm:* ) - openmpi_rm_pbs? ( sys-cluster/torque ) - openmpi_rm_slurm? ( sys-cluster/slurm ) - openmpi_ofed_features_rdmacm? ( sys-fabric/librdmacm:* )" - -RDEPEND="${CDEPEND} - java? ( >=virtual/jre-1.6 )" - -DEPEND="${CDEPEND} - java? ( >=virtual/jdk-1.6 )" - -MULTILIB_WRAPPED_HEADERS=( - /usr/include/mpi.h - /usr/include/openmpi/ompi/mpi/java/mpiJava.h -) - -pkg_setup() { - fortran-2_pkg_setup - java-pkg-opt-2_pkg_setup - - elog - elog "OpenMPI has an overwhelming count of configuration options." - elog "Don't forget the EXTRA_ECONF environment variable can let you" - elog "specify configure options if you find them necessary." - elog -} - -src_prepare() { - default - - # Necessary for scalibility, see - # http://www.open-mpi.org/community/lists/users/2008/09/6514.php - if use threads; then - echo 'oob_tcp_listen_mode = listen_thread' \ - >> opal/etc/openmpi-mca-params.conf || die - fi -} - -multilib_src_configure() { - if use java; then - # We must always build with the right -source and -target - # flags. Passing flags to javac isn't explicitly supported here - # but we can cheat by overriding the configure test for javac. - export ac_cv_path_JAVAC="$(java-pkg_get-javac) $(java-pkg_javac-args)" - fi - - ECONF_SOURCE=${S} econf \ - --sysconfdir="${EPREFIX}/etc/${PN}" \ - --enable-pretty-print-stacktrace \ - --enable-orterun-prefix-by-default \ - --with-hwloc="${EPREFIX}/usr" \ - --with-libltdl="${EPREFIX}/usr" \ - --with-libevent="${EPREFIX}/usr" \ - --enable-mpi-fortran=$(usex fortran all no) \ - $(use_enable cxx mpi-cxx) \ - $(use_with cma) \ - $(use_with cuda cuda "${EPREFIX}"/opt/cuda) \ - $(use_enable romio io-romio) \ - $(use_enable heterogeneous) \ - $(use_enable ipv6) \ - $(multilib_native_use_enable java) \ - $(multilib_native_use_enable java mpi-java) \ - $(multilib_native_use_enable mpi-threads mpi-thread-multiple) \ - $(multilib_native_use_with openmpi_fabrics_ofed verbs "${EPREFIX}"/usr) \ - $(multilib_native_use_with openmpi_fabrics_knem knem "${EPREFIX}"/usr) \ - $(multilib_native_use_with openmpi_fabrics_psm psm "${EPREFIX}"/usr) \ - $(multilib_native_use_enable openmpi_ofed_features_control-hdr-padding openib-control-hdr-padding) \ - $(multilib_native_use_enable openmpi_ofed_features_rdmacm openib-rdmacm) \ - $(multilib_native_use_enable openmpi_ofed_features_udcm openib-udcm) \ - $(multilib_native_use_enable openmpi_ofed_features_dynamic-sl openib-dynamic-sl) \ - $(multilib_native_use_with openmpi_rm_pbs tm) \ - $(multilib_native_use_with openmpi_rm_slurm slurm) -} - -multilib_src_test() { - # Doesn't work with the default src_test as the dry run (-n) fails. - emake -j1 check -} - -multilib_src_install() { - default - - # fortran header cannot be wrapped (bug #540508), workaround part 1 - if multilib_is_native_abi && use fortran; then - mkdir "${T}"/fortran || die - mv "${ED}"usr/include/mpif* "${T}"/fortran || die - else - # some fortran files get installed unconditionally - rm \ - "${ED}"usr/include/mpif* \ - "${ED}"usr/bin/mpif* \ - "${ED}"usr/bin/oshfort \ - "${ED}"usr/bin/shmemfort \ - || die - fi -} - -multilib_src_install_all() { - # fortran header cannot be wrapped (bug #540508), workaround part 2 - if use fortran; then - mv "${T}"/fortran/mpif* "${ED}"usr/include || die - fi - - # Remove la files, no static libs are installed and we have pkg-config - find "${ED}" -name '*.la' -delete || die - - if use java; then - local mpi_jar="${ED}"usr/$(get_libdir)/mpi.jar - java-pkg_dojar "${mpi_jar}" - # We don't want to install the jar file twice - # so let's clean after ourselves. - rm "${mpi_jar}" || die - fi - - einstalldocs -} diff --git a/sys-cluster/openmpi/openmpi-2.1.3.ebuild b/sys-cluster/openmpi/openmpi-2.1.3.ebuild new file mode 100644 index 000000000000..823dd2c95def --- /dev/null +++ b/sys-cluster/openmpi/openmpi-2.1.3.ebuild @@ -0,0 +1,174 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +FORTRAN_NEEDED=fortran + +inherit cuda flag-o-matic fortran-2 java-pkg-opt-2 toolchain-funcs versionator multilib-minimal + +MY_P=${P/-mpi} +S=${WORKDIR}/${MY_P} + +IUSE_OPENMPI_FABRICS=" + openmpi_fabrics_ofed + openmpi_fabrics_knem + openmpi_fabrics_psm" + +IUSE_OPENMPI_RM=" + openmpi_rm_pbs + openmpi_rm_slurm" + +IUSE_OPENMPI_OFED_FEATURES=" + openmpi_ofed_features_control-hdr-padding + openmpi_ofed_features_udcm + openmpi_ofed_features_rdmacm + openmpi_ofed_features_dynamic-sl" + +DESCRIPTION="A high-performance message passing library (MPI)" +HOMEPAGE="http://www.open-mpi.org" +SRC_URI="http://www.open-mpi.org/software/ompi/v$(get_version_component_range 1-2)/downloads/${MY_P}.tar.bz2" +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux" +IUSE="cma cuda cxx elibc_FreeBSD fortran heterogeneous ipv6 java mpi-threads numa romio threads + ${IUSE_OPENMPI_FABRICS} ${IUSE_OPENMPI_RM} ${IUSE_OPENMPI_OFED_FEATURES}" + +REQUIRED_USE="openmpi_rm_slurm? ( !openmpi_rm_pbs ) + openmpi_rm_pbs? ( !openmpi_rm_slurm ) + openmpi_fabrics_psm? ( openmpi_fabrics_ofed ) + openmpi_ofed_features_control-hdr-padding? ( openmpi_fabrics_ofed ) + openmpi_ofed_features_udcm? ( openmpi_fabrics_ofed ) + openmpi_ofed_features_rdmacm? ( openmpi_fabrics_ofed ) + openmpi_ofed_features_dynamic-sl? ( openmpi_fabrics_ofed )" + +# dev-util/nvidia-cuda-toolkit is always multilib +CDEPEND=" + !sys-cluster/mpich + !sys-cluster/mpich2 + !sys-cluster/nullmpi + !sys-cluster/mpiexec + >=dev-libs/libevent-2.0.22[${MULTILIB_USEDEP},threads] + dev-libs/libltdl:0[${MULTILIB_USEDEP}] + >=sys-apps/hwloc-1.11.2[${MULTILIB_USEDEP},numa?] + >=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}] + cuda? ( >=dev-util/nvidia-cuda-toolkit-6.5.19-r1 ) + elibc_FreeBSD? ( || ( dev-libs/libexecinfo >=sys-freebsd/freebsd-lib-10.0 ) ) + openmpi_fabrics_ofed? ( sys-fabric/ofed:* ) + openmpi_fabrics_knem? ( sys-cluster/knem ) + openmpi_fabrics_psm? ( sys-fabric/infinipath-psm:* ) + openmpi_rm_pbs? ( sys-cluster/torque ) + openmpi_rm_slurm? ( sys-cluster/slurm ) + openmpi_ofed_features_rdmacm? ( sys-fabric/librdmacm:* )" + +RDEPEND="${CDEPEND} + java? ( >=virtual/jre-1.6 )" + +DEPEND="${CDEPEND} + java? ( >=virtual/jdk-1.6 )" + +MULTILIB_WRAPPED_HEADERS=( + /usr/include/mpi.h + /usr/include/openmpi/ompi/mpi/java/mpiJava.h +) + +pkg_setup() { + fortran-2_pkg_setup + java-pkg-opt-2_pkg_setup + + elog + elog "OpenMPI has an overwhelming count of configuration options." + elog "Don't forget the EXTRA_ECONF environment variable can let you" + elog "specify configure options if you find them necessary." + elog +} + +src_prepare() { + default + + # Necessary for scalibility, see + # http://www.open-mpi.org/community/lists/users/2008/09/6514.php + if use threads; then + echo 'oob_tcp_listen_mode = listen_thread' \ + >> opal/etc/openmpi-mca-params.conf || die + fi +} + +multilib_src_configure() { + if use java; then + # We must always build with the right -source and -target + # flags. Passing flags to javac isn't explicitly supported here + # but we can cheat by overriding the configure test for javac. + export ac_cv_path_JAVAC="$(java-pkg_get-javac) $(java-pkg_javac-args)" + fi + + ECONF_SOURCE=${S} econf \ + --sysconfdir="${EPREFIX}/etc/${PN}" \ + --enable-pretty-print-stacktrace \ + --enable-orterun-prefix-by-default \ + --with-hwloc="${EPREFIX}/usr" \ + --with-libltdl="${EPREFIX}/usr" \ + --with-libevent="${EPREFIX}/usr" \ + --enable-mpi-fortran=$(usex fortran all no) \ + $(use_enable cxx mpi-cxx) \ + $(use_with cma) \ + $(use_with cuda cuda "${EPREFIX}"/opt/cuda) \ + $(use_enable romio io-romio) \ + $(use_enable heterogeneous) \ + $(use_enable ipv6) \ + $(multilib_native_use_enable java) \ + $(multilib_native_use_enable java mpi-java) \ + $(multilib_native_use_enable mpi-threads mpi-thread-multiple) \ + $(multilib_native_use_with openmpi_fabrics_ofed verbs "${EPREFIX}"/usr) \ + $(multilib_native_use_with openmpi_fabrics_knem knem "${EPREFIX}"/usr) \ + $(multilib_native_use_with openmpi_fabrics_psm psm "${EPREFIX}"/usr) \ + $(multilib_native_use_enable openmpi_ofed_features_control-hdr-padding openib-control-hdr-padding) \ + $(multilib_native_use_enable openmpi_ofed_features_rdmacm openib-rdmacm) \ + $(multilib_native_use_enable openmpi_ofed_features_udcm openib-udcm) \ + $(multilib_native_use_enable openmpi_ofed_features_dynamic-sl openib-dynamic-sl) \ + $(multilib_native_use_with openmpi_rm_pbs tm) \ + $(multilib_native_use_with openmpi_rm_slurm slurm) +} + +multilib_src_test() { + # Doesn't work with the default src_test as the dry run (-n) fails. + emake -j1 check +} + +multilib_src_install() { + default + + # fortran header cannot be wrapped (bug #540508), workaround part 1 + if multilib_is_native_abi && use fortran; then + mkdir "${T}"/fortran || die + mv "${ED}"usr/include/mpif* "${T}"/fortran || die + else + # some fortran files get installed unconditionally + rm \ + "${ED}"usr/include/mpif* \ + "${ED}"usr/bin/mpif* \ + "${ED}"usr/bin/oshfort \ + "${ED}"usr/bin/shmemfort \ + || die + fi +} + +multilib_src_install_all() { + # fortran header cannot be wrapped (bug #540508), workaround part 2 + if use fortran; then + mv "${T}"/fortran/mpif* "${ED}"usr/include || die + fi + + # Remove la files, no static libs are installed and we have pkg-config + find "${ED}" -name '*.la' -delete || die + + if use java; then + local mpi_jar="${ED}"usr/$(get_libdir)/mpi.jar + java-pkg_dojar "${mpi_jar}" + # We don't want to install the jar file twice + # so let's clean after ourselves. + rm "${mpi_jar}" || die + fi + + einstalldocs +} -- cgit v1.2.3