diff options
author | Sam James <sam@gentoo.org> | 2021-05-29 21:01:55 +0200 |
---|---|---|
committer | David Seifert <soap@gentoo.org> | 2021-05-29 21:01:55 +0200 |
commit | f8f72415cb0e6c40d44f896efc6f3ef39cb9af9c (patch) | |
tree | 036e3e010de8302e7b12c7051a96f047613a5a64 /sci-libs | |
parent | sci-libs/parmetis: add missing libpcre dependency (diff) | |
download | gentoo-f8f72415cb0e6c40d44f896efc6f3ef39cb9af9c.tar.gz gentoo-f8f72415cb0e6c40d44f896efc6f3ef39cb9af9c.tar.bz2 gentoo-f8f72415cb0e6c40d44f896efc6f3ef39cb9af9c.zip |
sci-libs/parmetis: use tc-check-openmp
Signed-off-by: Sam James <sam@gentoo.org>
Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'sci-libs')
-rw-r--r-- | sci-libs/parmetis/parmetis-4.0.3-r1.ebuild | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/sci-libs/parmetis/parmetis-4.0.3-r1.ebuild b/sci-libs/parmetis/parmetis-4.0.3-r1.ebuild index 1c2270a88a6d..017c930a97ff 100644 --- a/sci-libs/parmetis/parmetis-4.0.3-r1.ebuild +++ b/sci-libs/parmetis/parmetis-4.0.3-r1.ebuild @@ -28,12 +28,7 @@ RDEPEND="${DEPEND} !<sci-libs/metis-5" pkg_setup() { - if use openmp; then - if [[ $(tc-getCC)$ == *gcc* ]] && ! tc-has-openmp; then - ewarn "You are using gcc but openmp is not available" - die "Need an OpenMP capable compiler" - fi - fi + [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp } src_prepare() { |