mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
sci-libs/flexiblas: Use fortran-2.eclass
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit cmake multilib toolchain-funcs
|
||||
inherit cmake fortran-2 multilib toolchain-funcs
|
||||
|
||||
MY_P=flexiblas-release-v${PV}
|
||||
DESCRIPTION="A BLAS and LAPACK wrapper library with runtime exchangable backends"
|
||||
@@ -57,8 +57,9 @@ pkg_pretend() {
|
||||
}
|
||||
|
||||
pkg_setup() {
|
||||
if [[ ${MERGE_TYPE} != binary ]] && use openmp; then
|
||||
tc-check-openmp
|
||||
if [[ ${MERGE_TYPE} != binary ]]; then
|
||||
fortran-2_pkg_setup
|
||||
use openmp && tc-check-openmp
|
||||
fi
|
||||
}
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit cmake git-r3 multilib toolchain-funcs
|
||||
inherit cmake fortran-2 git-r3 multilib toolchain-funcs
|
||||
|
||||
DESCRIPTION="A BLAS and LAPACK wrapper library with runtime exchangable backends"
|
||||
HOMEPAGE="
|
||||
@@ -54,8 +54,9 @@ pkg_pretend() {
|
||||
}
|
||||
|
||||
pkg_setup() {
|
||||
if [[ ${MERGE_TYPE} != binary ]] && use openmp; then
|
||||
tc-check-openmp
|
||||
if [[ ${MERGE_TYPE} != binary ]]; then
|
||||
fortran-2_pkg_setup
|
||||
use openmp && tc-check-openmp
|
||||
fi
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user