diff options
author | Michał Górny <mgorny@gentoo.org> | 2020-06-20 18:21:44 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2020-06-20 18:32:53 +0200 |
commit | c13bd50c9fac3e02223ec84dda26819755025b3b (patch) | |
tree | 469bef7a58873ee5a1efe64e97d7b9381413e8b5 /sys-libs/libcxxabi | |
parent | sys-libs/libcxxabi: Apply patches in WORKDIR in 10.0.1+ (diff) | |
download | gentoo-c13bd50c9fac3e02223ec84dda26819755025b3b.tar.gz gentoo-c13bd50c9fac3e02223ec84dda26819755025b3b.tar.bz2 gentoo-c13bd50c9fac3e02223ec84dda26819755025b3b.zip |
sys-libs/libcxxabi: Port to cmake.eclass
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'sys-libs/libcxxabi')
-rw-r--r-- | sys-libs/libcxxabi/libcxxabi-10.0.1.9999.ebuild | 11 | ||||
-rw-r--r-- | sys-libs/libcxxabi/libcxxabi-10.0.1_rc1.ebuild | 11 | ||||
-rw-r--r-- | sys-libs/libcxxabi/libcxxabi-11.0.0.9999.ebuild | 11 |
3 files changed, 18 insertions, 15 deletions
diff --git a/sys-libs/libcxxabi/libcxxabi-10.0.1.9999.ebuild b/sys-libs/libcxxabi/libcxxabi-10.0.1.9999.ebuild index 9a0258061955..a5bff7e08d96 100644 --- a/sys-libs/libcxxabi/libcxxabi-10.0.1.9999.ebuild +++ b/sys-libs/libcxxabi/libcxxabi-10.0.1.9999.ebuild @@ -3,6 +3,7 @@ EAPI=7 +CMAKE_ECLASS=cmake PYTHON_COMPAT=( python3_{6,7} ) inherit cmake-multilib llvm llvm.org multiprocessing python-any-r1 toolchain-funcs @@ -48,7 +49,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() { @@ -87,7 +88,7 @@ multilib_src_configure() { -DLLVM_LIT_ARGS="-vv;-j;${jobs};--param=cxx_under_test=${clang_path}" ) fi - cmake-utils_src_configure + cmake_src_configure } build_libcxx() { @@ -107,8 +108,8 @@ build_libcxx() { -DLIBCXX_INCLUDE_TESTS=OFF ) - cmake-utils_src_configure - cmake-utils_src_compile + cmake_src_configure + cmake_src_compile } multilib_src_test() { @@ -117,7 +118,7 @@ multilib_src_test() { mv "${BUILD_DIR}"/libcxx/lib/libc++* "${BUILD_DIR}/$(get_libdir)/" || die local -x LIT_PRESERVES_TMP=1 - cmake-utils_src_make check-libcxxabi + cmake_build check-libcxxabi } multilib_src_install_all() { diff --git a/sys-libs/libcxxabi/libcxxabi-10.0.1_rc1.ebuild b/sys-libs/libcxxabi/libcxxabi-10.0.1_rc1.ebuild index 9a0258061955..a5bff7e08d96 100644 --- a/sys-libs/libcxxabi/libcxxabi-10.0.1_rc1.ebuild +++ b/sys-libs/libcxxabi/libcxxabi-10.0.1_rc1.ebuild @@ -3,6 +3,7 @@ EAPI=7 +CMAKE_ECLASS=cmake PYTHON_COMPAT=( python3_{6,7} ) inherit cmake-multilib llvm llvm.org multiprocessing python-any-r1 toolchain-funcs @@ -48,7 +49,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() { @@ -87,7 +88,7 @@ multilib_src_configure() { -DLLVM_LIT_ARGS="-vv;-j;${jobs};--param=cxx_under_test=${clang_path}" ) fi - cmake-utils_src_configure + cmake_src_configure } build_libcxx() { @@ -107,8 +108,8 @@ build_libcxx() { -DLIBCXX_INCLUDE_TESTS=OFF ) - cmake-utils_src_configure - cmake-utils_src_compile + cmake_src_configure + cmake_src_compile } multilib_src_test() { @@ -117,7 +118,7 @@ multilib_src_test() { mv "${BUILD_DIR}"/libcxx/lib/libc++* "${BUILD_DIR}/$(get_libdir)/" || die local -x LIT_PRESERVES_TMP=1 - cmake-utils_src_make check-libcxxabi + cmake_build check-libcxxabi } multilib_src_install_all() { diff --git a/sys-libs/libcxxabi/libcxxabi-11.0.0.9999.ebuild b/sys-libs/libcxxabi/libcxxabi-11.0.0.9999.ebuild index 5fb1704b2c15..15a5db043098 100644 --- a/sys-libs/libcxxabi/libcxxabi-11.0.0.9999.ebuild +++ b/sys-libs/libcxxabi/libcxxabi-11.0.0.9999.ebuild @@ -3,6 +3,7 @@ EAPI=7 +CMAKE_ECLASS=cmake PYTHON_COMPAT=( python3_{6,7,8} ) inherit cmake-multilib llvm llvm.org multiprocessing python-any-r1 toolchain-funcs @@ -48,7 +49,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() { @@ -87,7 +88,7 @@ multilib_src_configure() { -DLLVM_LIT_ARGS="-vv;-j;${jobs};--param=cxx_under_test=${clang_path}" ) fi - cmake-utils_src_configure + cmake_src_configure } build_libcxx() { @@ -107,8 +108,8 @@ build_libcxx() { -DLIBCXX_INCLUDE_TESTS=OFF ) - cmake-utils_src_configure - cmake-utils_src_compile + cmake_src_configure + cmake_src_compile } multilib_src_test() { @@ -117,7 +118,7 @@ multilib_src_test() { mv "${BUILD_DIR}"/libcxx/lib/libc++* "${BUILD_DIR}/$(get_libdir)/" || die local -x LIT_PRESERVES_TMP=1 - cmake-utils_src_make check-cxxabi + cmake_build check-cxxabi } multilib_src_install_all() { |