From d9d516e8f89da3a6cc0fc8e5cdf05369d42f8ecb Mon Sep 17 00:00:00 2001 From: "Liguros - Gitlab CI/CD [develop]" Date: Fri, 8 Jul 2022 12:47:25 +0000 Subject: Adding metadata --- dev-cpp/folly/folly-2022.03.28.00-r1.ebuild | 61 ++++++++++++++++++++++++ dev-cpp/folly/folly-2022.03.28.00.ebuild | 61 ------------------------ dev-cpp/folly/folly-2022.04.11.00-r1.ebuild | 74 +++++++++++++++++++++++++++++ dev-cpp/folly/folly-2022.04.11.00.ebuild | 74 ----------------------------- 4 files changed, 135 insertions(+), 135 deletions(-) create mode 100644 dev-cpp/folly/folly-2022.03.28.00-r1.ebuild delete mode 100644 dev-cpp/folly/folly-2022.03.28.00.ebuild create mode 100644 dev-cpp/folly/folly-2022.04.11.00-r1.ebuild delete mode 100644 dev-cpp/folly/folly-2022.04.11.00.ebuild (limited to 'dev-cpp') diff --git a/dev-cpp/folly/folly-2022.03.28.00-r1.ebuild b/dev-cpp/folly/folly-2022.03.28.00-r1.ebuild new file mode 100644 index 000000000000..8bffe87201bd --- /dev/null +++ b/dev-cpp/folly/folly-2022.03.28.00-r1.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake toolchain-funcs + +DESCRIPTION="An open-source C++ library developed and used at Facebook" +HOMEPAGE="https://github.com/facebook/folly" +SRC_URI="https://github.com/facebook/folly/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0/${PV}" +KEYWORDS="amd64" +IUSE="llvm-libunwind test" +RESTRICT="!test? ( test )" + +RDEPEND="app-arch/bzip2 + app-arch/lz4:= + app-arch/snappy:= + app-arch/xz-utils + app-arch/zstd:= + dev-cpp/gflags:= + dev-cpp/glog:=[gflags] + dev-libs/boost:=[context,threads(+)] + dev-libs/double-conversion:= + dev-libs/libaio + dev-libs/libevent:= + dev-libs/libfmt:= + dev-libs/libsodium:= + dev-libs/openssl:= + sys-libs/liburing:= + sys-libs/zlib + llvm-libunwind? ( sys-libs/llvm-libunwind:= ) + !llvm-libunwind? ( sys-libs/libunwind:= )" +# libiberty is linked statically +DEPEND="${RDEPEND} + sys-libs/binutils-libs" +BDEPEND="test? ( sys-devel/clang )" + +pkg_setup() { + if use test && [[ ${BUILD_TYPE} != "binary" ]] && ! tc-is-clang ; then + ewarn "Forcing build with Clang due to GCC bug (because tests are enabled)" + ewarn "(https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104008)" + + export CC=${CHOST}-clang + export CXX=${CHOST}-clang++ + fi +} + +src_configure() { + # TODO: liburing could in theory be optional but fails to link + + local mycmakeargs=( + -DLIB_INSTALL_DIR="$(get_libdir)" + + -DBUILD_TESTS=$(usex test) + ) + + cmake_src_configure +} diff --git a/dev-cpp/folly/folly-2022.03.28.00.ebuild b/dev-cpp/folly/folly-2022.03.28.00.ebuild deleted file mode 100644 index f832bf20f635..000000000000 --- a/dev-cpp/folly/folly-2022.03.28.00.ebuild +++ /dev/null @@ -1,61 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit cmake toolchain-funcs - -DESCRIPTION="An open-source C++ library developed and used at Facebook" -HOMEPAGE="https://github.com/facebook/folly" -SRC_URI="https://github.com/facebook/folly/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="Apache-2.0" -SLOT="0/${PV}" -KEYWORDS="amd64" -IUSE="llvm-libunwind test" -RESTRICT="!test? ( test )" - -RDEPEND="app-arch/bzip2 - app-arch/lz4:= - app-arch/snappy:= - app-arch/xz-utils - app-arch/zstd:= - dev-cpp/gflags:= - dev-cpp/glog[gflags] - dev-libs/boost:=[context,threads(+)] - dev-libs/double-conversion:= - dev-libs/libaio - dev-libs/libevent:= - dev-libs/libfmt:= - dev-libs/libsodium:= - dev-libs/openssl:= - sys-libs/liburing:= - sys-libs/zlib - llvm-libunwind? ( sys-libs/llvm-libunwind:= ) - !llvm-libunwind? ( sys-libs/libunwind:= )" -# libiberty is linked statically -DEPEND="${RDEPEND} - sys-libs/binutils-libs" -BDEPEND="test? ( sys-devel/clang )" - -pkg_setup() { - if use test && [[ ${BUILD_TYPE} != "binary" ]] && ! tc-is-clang ; then - ewarn "Forcing build with Clang due to GCC bug (because tests are enabled)" - ewarn "(https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104008)" - - export CC=${CHOST}-clang - export CXX=${CHOST}-clang++ - fi -} - -src_configure() { - # TODO: liburing could in theory be optional but fails to link - - local mycmakeargs=( - -DLIB_INSTALL_DIR="$(get_libdir)" - - -DBUILD_TESTS=$(usex test) - ) - - cmake_src_configure -} diff --git a/dev-cpp/folly/folly-2022.04.11.00-r1.ebuild b/dev-cpp/folly/folly-2022.04.11.00-r1.ebuild new file mode 100644 index 000000000000..3984f479ebea --- /dev/null +++ b/dev-cpp/folly/folly-2022.04.11.00-r1.ebuild @@ -0,0 +1,74 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake toolchain-funcs + +DESCRIPTION="An open-source C++ library developed and used at Facebook" +HOMEPAGE="https://github.com/facebook/folly" +SRC_URI="https://github.com/facebook/folly/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0/${PV}" +KEYWORDS="~amd64" +IUSE="llvm-libunwind test" +RESTRICT="!test? ( test )" + +RDEPEND="app-arch/bzip2 + app-arch/lz4:= + app-arch/snappy:= + app-arch/xz-utils + app-arch/zstd:= + dev-cpp/gflags:= + dev-cpp/glog:=[gflags] + dev-libs/boost:=[context,threads(+)] + dev-libs/double-conversion:= + dev-libs/libaio + dev-libs/libevent:= + dev-libs/libfmt:= + dev-libs/libsodium:= + dev-libs/openssl:= + sys-libs/liburing:= + sys-libs/zlib + llvm-libunwind? ( sys-libs/llvm-libunwind:= ) + !llvm-libunwind? ( sys-libs/libunwind:= )" +# libiberty is linked statically +DEPEND="${RDEPEND} + sys-libs/binutils-libs" +BDEPEND="test? ( sys-devel/clang )" + +pkg_setup() { + if use test && [[ ${BUILD_TYPE} != "binary" ]] && ! tc-is-clang ; then + ewarn "Forcing build with Clang due to GCC bug (because tests are enabled)" + ewarn "(https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104008)" + + export CC=${CHOST}-clang + export CXX=${CHOST}-clang++ + fi +} + +src_configure() { + # TODO: liburing could in theory be optional but fails to link + + local mycmakeargs=( + -DLIB_INSTALL_DIR="$(get_libdir)" + + -DBUILD_TESTS=$(usex test) + ) + + cmake_src_configure +} + +src_test() { + local myctestargs=( + # - timeseries_histogram_test.TimeseriesHistogram.Percentile|HHWheelTimerTest + # Long-standing known test failure + # TODO: report upstream + # - HHWheelTimerTest.HHWheelTimerTest.CancelTimeout + # Timeouts are fragile + -E "(timeseries_histogram_test.TimeseriesHistogram.Percentile|HHWheelTimerTest.HHWheelTimerTest.CancelTimeout)" + ) + + cmake_src_test +} diff --git a/dev-cpp/folly/folly-2022.04.11.00.ebuild b/dev-cpp/folly/folly-2022.04.11.00.ebuild deleted file mode 100644 index ef4a97e38b63..000000000000 --- a/dev-cpp/folly/folly-2022.04.11.00.ebuild +++ /dev/null @@ -1,74 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit cmake toolchain-funcs - -DESCRIPTION="An open-source C++ library developed and used at Facebook" -HOMEPAGE="https://github.com/facebook/folly" -SRC_URI="https://github.com/facebook/folly/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="Apache-2.0" -SLOT="0/${PV}" -KEYWORDS="~amd64" -IUSE="llvm-libunwind test" -RESTRICT="!test? ( test )" - -RDEPEND="app-arch/bzip2 - app-arch/lz4:= - app-arch/snappy:= - app-arch/xz-utils - app-arch/zstd:= - dev-cpp/gflags:= - dev-cpp/glog[gflags] - dev-libs/boost:=[context,threads(+)] - dev-libs/double-conversion:= - dev-libs/libaio - dev-libs/libevent:= - dev-libs/libfmt:= - dev-libs/libsodium:= - dev-libs/openssl:= - sys-libs/liburing:= - sys-libs/zlib - llvm-libunwind? ( sys-libs/llvm-libunwind:= ) - !llvm-libunwind? ( sys-libs/libunwind:= )" -# libiberty is linked statically -DEPEND="${RDEPEND} - sys-libs/binutils-libs" -BDEPEND="test? ( sys-devel/clang )" - -pkg_setup() { - if use test && [[ ${BUILD_TYPE} != "binary" ]] && ! tc-is-clang ; then - ewarn "Forcing build with Clang due to GCC bug (because tests are enabled)" - ewarn "(https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104008)" - - export CC=${CHOST}-clang - export CXX=${CHOST}-clang++ - fi -} - -src_configure() { - # TODO: liburing could in theory be optional but fails to link - - local mycmakeargs=( - -DLIB_INSTALL_DIR="$(get_libdir)" - - -DBUILD_TESTS=$(usex test) - ) - - cmake_src_configure -} - -src_test() { - local myctestargs=( - # - timeseries_histogram_test.TimeseriesHistogram.Percentile|HHWheelTimerTest - # Long-standing known test failure - # TODO: report upstream - # - HHWheelTimerTest.HHWheelTimerTest.CancelTimeout - # Timeouts are fragile - -E "(timeseries_histogram_test.TimeseriesHistogram.Percentile|HHWheelTimerTest.HHWheelTimerTest.CancelTimeout)" - ) - - cmake_src_test -} -- cgit v1.3