diff options
author | Michał Górny <mgorny@gentoo.org> | 2020-06-20 18:31:20 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2020-06-20 18:32:59 +0200 |
commit | 84e24bee8e501876705cd91c940c3984f018cedf (patch) | |
tree | fc075020e00621e1699662cc779520060c3bd3fe /sys-libs/libomp/libomp-11.0.0.9999.ebuild | |
parent | sys-libs/libomp: Apply patches in WORKDIR in 10.0.1+ (diff) | |
download | gentoo-84e24bee8e501876705cd91c940c3984f018cedf.tar.gz gentoo-84e24bee8e501876705cd91c940c3984f018cedf.tar.bz2 gentoo-84e24bee8e501876705cd91c940c3984f018cedf.zip |
sys-libs/libomp: Port to cmake.eclass
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'sys-libs/libomp/libomp-11.0.0.9999.ebuild')
-rw-r--r-- | sys-libs/libomp/libomp-11.0.0.9999.ebuild | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/sys-libs/libomp/libomp-11.0.0.9999.ebuild b/sys-libs/libomp/libomp-11.0.0.9999.ebuild index b2d599eb53d0..75f1323b4f52 100644 --- a/sys-libs/libomp/libomp-11.0.0.9999.ebuild +++ b/sys-libs/libomp/libomp-11.0.0.9999.ebuild @@ -3,6 +3,7 @@ EAPI=7 +CMAKE_ECLASS=cmake PYTHON_COMPAT=( python3_{6,7,8} ) inherit cmake-multilib linux-info llvm.org multiprocessing python-any-r1 @@ -70,7 +71,7 @@ src_prepare() { # cmake eclasses suck by forcing ${S} here CMAKE_USE_DIR=${S} \ S=${WORKDIR} \ - cmake-utils_src_prepare + cmake_src_prepare } multilib_src_configure() { @@ -102,12 +103,12 @@ multilib_src_configure() { -DOPENMP_TEST_C_COMPILER="$(type -P "${CHOST}-clang")" -DOPENMP_TEST_CXX_COMPILER="$(type -P "${CHOST}-clang++")" ) - cmake-utils_src_configure + cmake_src_configure } multilib_src_test() { # respect TMPDIR! local -x LIT_PRESERVES_TMP=1 - cmake-utils_src_make check-libomp + cmake_build check-libomp } |