mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-23 14:03:33 -04:00
44 lines
1.0 KiB
Bash
44 lines
1.0 KiB
Bash
# Copyright 1999-2021 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=8
|
|
|
|
CMAKE_MAKEFILE_GENERATOR=emake
|
|
FORTRAN_STANDARD="2003"
|
|
|
|
inherit cmake 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}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
|
|
|
S="${WORKDIR}/${MY_PN}-${PV}"
|
|
|
|
LICENSE="BSD"
|
|
SLOT="0"
|
|
KEYWORDS="~amd64 ~x86"
|
|
|
|
#! Disable tests due for most versions of openmpi and mpich failed 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."
|
|
#! But tests run successfully with FEATURES="-network-sandbox"
|
|
#IUSE="test"
|
|
#RESTRICT="!test? ( test )"
|
|
|
|
RDEPEND="
|
|
|| ( >=sys-cluster/openmpi-1.10.7[fortran] >=sys-cluster/mpich-3.3[fortran] )
|
|
"
|
|
DEPEND="
|
|
${RDEPEND}
|
|
"
|
|
|
|
pkg_setup() {
|
|
fortran-2_pkg_setup
|
|
}
|
|
|
|
#src_test() {
|
|
# cmake_build test
|
|
#}
|