diff options
Diffstat (limited to 'sys-cluster')
-rw-r--r-- | sys-cluster/opencoarrays/Manifest | 1 | ||||
-rw-r--r-- | sys-cluster/opencoarrays/opencoarrays-2.10.2.ebuild | 52 |
2 files changed, 53 insertions, 0 deletions
diff --git a/sys-cluster/opencoarrays/Manifest b/sys-cluster/opencoarrays/Manifest index b87326afd..b5099d478 100644 --- a/sys-cluster/opencoarrays/Manifest +++ b/sys-cluster/opencoarrays/Manifest @@ -1,3 +1,4 @@ DIST OpenCoarrays-2.9.3.tar.gz 326779 BLAKE2B 3ef2262f1047db596bbebf96f5f9b1770056eede05a358dc307fbff290e319827fb7894bf841d77fafc195a865b4acb09efb4da0becca936a5a89131c37245b8 SHA512 4e313e3cb6dcdf309dbc37b96756d69812b2867f4cd3325439746b0f6059c29ff6160a538704c872bb6f55c63be3c4c0ca04294946ac8abc5c36cfc1cdf7b460 DIST OpenCoarrays-2.10.0.tar.gz 329486 BLAKE2B 33df3f8d78f6b763ff16ae61fad6ef0c9d3dbc443b9c0b665ba090158d192607d481fdd4900b2eb1e08e07363ac4f0cc6cbed3f9b4f0d0bd99dcabd8e3ec43d5 SHA512 0316e27e7b644736ea01407b1f1d430a3d01d34dd75a85378fac7bf0db19a370f360976bc8d148791b62206d8f42bbf4197570ea75aa5a318ce07b2ce05042b2 DIST OpenCoarrays-2.10.1.tar.gz 338927 BLAKE2B f3a357c44ca0f2ca9b676afd04490936795b4f208ce8d27e1da3d578ccea40cf3dfed2a81c2a06fe423ef9f74ee3344e0f587bcbb3e7e57898d7bb1c112801f7 SHA512 f90e1f5d9a558730a81efacb5075346fe8f69e2469a5f691c0132fbb8753f0ff41d651cc2c38a4a62cbeea3fb7d8b47b3f6a927f75838f3f0b917e17e7cef017 +DIST OpenCoarrays-2.10.2.tar.gz 339400 BLAKE2B 622e4be72d41f3b3749dac920bc4e0b257b07650b0f6a3192a87b1a30a01d56a7eb832d951588f08d70764d55a7d744be945fef37b76785de5da93f544d62ab7 SHA512 941dc192dd5d55f5413e6b05d1cb468d376e3bd481788829dac206ef6f18b9882f7f57704df513f3a2dae4fd4428832308d87ae523b96c164e732ab6f1bbde91 diff --git a/sys-cluster/opencoarrays/opencoarrays-2.10.2.ebuild b/sys-cluster/opencoarrays/opencoarrays-2.10.2.ebuild new file mode 100644 index 000000000..f390ee5f6 --- /dev/null +++ b/sys-cluster/opencoarrays/opencoarrays-2.10.2.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +CMAKE_MAKEFILE_GENERATOR=emake +FORTRAN_STANDARD="2003" + +inherit cmake flag-o-matic fortran-2 + +MY_PN="OpenCoarrays" + +DESCRIPTION="A parallel application binary interface for Fortran 2018 compilers" +HOMEPAGE="http://www.opencoarrays.org/" +SRC_URI="https://github.com/sourceryinstitute/${MY_PN}/releases/download/${PV}/${MY_PN}-${PV}.tar.gz" + +S="${WORKDIR}/${MY_PN}-${PV}" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +# Tests fail with FEATURES="network-sandbox" for most versions of openmpi and mpich it with error: +# "No network interfaces were found for out-of-band communications. +# We require at least one available network for out-of-band messaging." +IUSE="static-libs test" +PROPERTIES="test_network" +RESTRICT="!test? ( test )" + +# >=sys-cluster/openmpi-4.1.2[fortran] is dropped due to +# multiple test failures issue: +# https://github.com/sourceryinstitute/OpenCoarrays/issues/769 +RDEPEND=" + >=sys-cluster/mpich-3.4.3[fortran,mpi-threads,threads] +" +DEPEND=" + ${RDEPEND} +" + +src_configure() { + filter-lto # Bug 860765 + + cmake_src_configure +} + +src_install() { + cmake_src_install + + if ! use static-libs ; then + find "${ED}" -name '*.a' -delete || die # Bug 901423 + fi +} |