diff options
author | David Seifert <soap@gentoo.org> | 2022-05-14 23:30:07 +0200 |
---|---|---|
committer | David Seifert <soap@gentoo.org> | 2022-05-14 23:30:07 +0200 |
commit | ae45219bbe545f45015a5bb302ae26b40eb4c917 (patch) | |
tree | 51fe55bac956a0acae07b2732bf242f423d4642b /dev-util | |
parent | app-crypt/libb2: [QA] tc-has-openmp → tc-check-openmp (diff) | |
download | gentoo-ae45219bbe545f45015a5bb302ae26b40eb4c917.tar.gz gentoo-ae45219bbe545f45015a5bb302ae26b40eb4c917.tar.bz2 gentoo-ae45219bbe545f45015a5bb302ae26b40eb4c917.zip |
dev-util/mdds: [QA] tc-has-openmp → tc-check-openmp
Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'dev-util')
-rw-r--r-- | dev-util/mdds/mdds-1.7.0.ebuild | 8 | ||||
-rw-r--r-- | dev-util/mdds/mdds-2.0.2.ebuild | 6 | ||||
-rw-r--r-- | dev-util/mdds/mdds-9999.ebuild | 6 |
3 files changed, 4 insertions, 16 deletions
diff --git a/dev-util/mdds/mdds-1.7.0.ebuild b/dev-util/mdds/mdds-1.7.0.ebuild index a94927502245..aefcb358f629 100644 --- a/dev-util/mdds/mdds-1.7.0.ebuild +++ b/dev-util/mdds/mdds-1.7.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -52,13 +52,9 @@ src_prepare() { src_configure() { local myeconfargs=( $(use_enable doc docs) + $(use_enable openmp) $(use_enable valgrind memory_tests) ) - if use openmp && tc-has-openmp; then - myeconfargs+=( --enable-openmp ) - else - myeconfargs+=( --disable-openmp ) - fi econf "${myeconfargs[@]}" } diff --git a/dev-util/mdds/mdds-2.0.2.ebuild b/dev-util/mdds/mdds-2.0.2.ebuild index ed3476333789..9185efd612ad 100644 --- a/dev-util/mdds/mdds-2.0.2.ebuild +++ b/dev-util/mdds/mdds-2.0.2.ebuild @@ -48,13 +48,9 @@ src_prepare() { src_configure() { local myeconfargs=( $(use_enable doc docs) + $(use_enable openmp) $(use_enable valgrind memory_tests) ) - if use openmp && tc-has-openmp; then - myeconfargs+=( --enable-openmp ) - else - myeconfargs+=( --disable-openmp ) - fi econf "${myeconfargs[@]}" } diff --git a/dev-util/mdds/mdds-9999.ebuild b/dev-util/mdds/mdds-9999.ebuild index ed3476333789..9185efd612ad 100644 --- a/dev-util/mdds/mdds-9999.ebuild +++ b/dev-util/mdds/mdds-9999.ebuild @@ -48,13 +48,9 @@ src_prepare() { src_configure() { local myeconfargs=( $(use_enable doc docs) + $(use_enable openmp) $(use_enable valgrind memory_tests) ) - if use openmp && tc-has-openmp; then - myeconfargs+=( --enable-openmp ) - else - myeconfargs+=( --disable-openmp ) - fi econf "${myeconfargs[@]}" } |