sys-cluster/opencoarrays - 2.9.3 (guru)

Search

Install

Install this version:

emerge -a =sys-cluster/opencoarrays-2.9.3

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =sys-cluster/opencoarrays-2.9.3

Or alternatively:

emerge --autounmask-write -a =sys-cluster/opencoarrays-2.9.3

Package Information

Description:
A parallel application binary interface for Fortran 2018 compilers
Homepage:
http://www.opencoarrays.org/
License:
BSD

Ebuild Details

Version EAPI Keywords Slot
2.9.3 8 ~amd64 ~x86 0
View Raw Ebuild
# Copyright 1999-2023 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 )"

RDEPEND="
	|| ( >=sys-cluster/openmpi-4.1.2[fortran] >=sys-cluster/mpich-3.4.3[fortran,mpi-threads,threads] )
"
DEPEND="
	${RDEPEND}
"

PATCHES=(
	"${FILESDIR}/${PN}-2.10.1_fix_Wint-conversion_warning_error.patch"
)

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
}

USE Flags

Manage flags for this package: euse -i <flag> -p sys-cluster/opencoarrays | euse -E <flag> -p sys-cluster/opencoarrays | euse -D <flag> -p sys-cluster/opencoarrays

Global/Standard Flags

Inherited Eclasses

Dependencies

DEPEND

	
	|| ( >=sys-cluster/openmpi-4.1.2[fortran] >=sys-cluster/mpich-3.4.3[fortran,mpi-threads,threads] )

RDEPEND

	|| ( >=sys-cluster/openmpi-4.1.2[fortran] >=sys-cluster/mpich-3.4.3[fortran,mpi-threads,threads] )

Manifest for 2.9.3

Type File Size Source URLs
DIST OpenCoarrays-2.9.3.tar.gz 326779 bytes https://github.com/sourceryinstitute/OpenCoarrays/releases/download/2.9.3/OpenCoarrays-2.9.3.tar.gz