diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-04-14 05:44:50 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-04-14 05:44:50 +0100 |
commit | 1d18b53ed419c49eb3f71637ccd58a431c1368d4 (patch) | |
tree | eb3671b1209855aa64534ee96262d06bcda99d74 /dev-cpp | |
parent | fdca6388cf31827202fae75cae067c695bd09339 (diff) |
gentoo auto-resync : 14:04:2023 - 05:44:49
Diffstat (limited to 'dev-cpp')
-rw-r--r-- | dev-cpp/Manifest.gz | bin | 13077 -> 13078 bytes | |||
-rw-r--r-- | dev-cpp/edencommon/Manifest | 2 | ||||
-rw-r--r-- | dev-cpp/edencommon/edencommon-2023.04.10.00.ebuild | 41 | ||||
-rw-r--r-- | dev-cpp/folly/Manifest | 2 | ||||
-rw-r--r-- | dev-cpp/folly/folly-2023.04.10.00.ebuild | 110 |
5 files changed, 155 insertions, 0 deletions
diff --git a/dev-cpp/Manifest.gz b/dev-cpp/Manifest.gz Binary files differindex 1746078f0317..db30ce29e04f 100644 --- a/dev-cpp/Manifest.gz +++ b/dev-cpp/Manifest.gz diff --git a/dev-cpp/edencommon/Manifest b/dev-cpp/edencommon/Manifest index db3957a20150..092cf8f4a31a 100644 --- a/dev-cpp/edencommon/Manifest +++ b/dev-cpp/edencommon/Manifest @@ -1,5 +1,7 @@ DIST edencommon-2022.08.29.00.gh.tar.gz 143430 BLAKE2B a66bae35413097140b24c9313b12d55d52cbd98396ff1afacc751eb9752d4116ab19aeb9320dead5500189d74b4d91fdc09d9648fc6b5fbb55a706328488e7ef SHA512 6622c5de2dbff96717a345c82aaf9335745ed57262bb55c7a6704a68259ce81376ff0a2e9f3818ed1c1f08434da704f31fd4e3d8c48dd13646f0202e7564b2c7 DIST edencommon-2023.02.06.00.gh.tar.gz 144809 BLAKE2B bfde04282eff3ad745ed02708ba550e81c3d7916c634f01bc3fa9f2232953b4ccc8f319378636add4122cdf4c944212d7ecb649072c82f44dd8751640bc8f260 SHA512 c5763aa6a035febc6ce2a8b32c7ffb576b0a73448cf44e4a3788d87c45507a429065a02c37bce2165b2b51b3139cef51dc5ecd6cce203093f9043387b8912b15 +DIST edencommon-2023.04.10.00.gh.tar.gz 146594 BLAKE2B 8712de4a79d1f0d2fc2f9fb88c6ea262e5b9c849c96848a3ff0906085e0088a3d68efe12b7e4d7085c05f6909f06da5f3b40c54af522da21bd19a0b795aef06f SHA512 2f1c32b1940834f0b6e5cd104832f0a373cb417fd3e64e9e744c95b24361a3df5e540bf14a74be15a95b4c241cfec92c6185bc0bf11e1de927f729a3a9458ee8 EBUILD edencommon-2022.08.29.00.ebuild 869 BLAKE2B 55f75751770a07d0201ff07640ebda0fd724541acdd174976577e16dabf95582f346491fa713ac7d2af12d465884ef69dd3e44799b6f772847dbf8942def247a SHA512 775e7af49b381efb4062c02cc407b6dbbbada6ba5428e7cf96f6264a2240876fef841099320d5335c445ac0e3cd3f06056c23e1ca94f2c066efea5cb8a7cc472 EBUILD edencommon-2023.02.06.00.ebuild 875 BLAKE2B 9923ebe3369d37693f295570084ea079de3116099b9ed507ccda4279da5e64fcecaddaa2b3e5d710eb9d066e62a96e3308f2da3dfaaa42f7b1f0e9df73cc0d93 SHA512 e9e9cb9c0ec650a3599ade17a854faf679f67c2277beaafacd1f38f9db97bc032bb74b502acf87b32e2c81fb13f60a79036e28682d976250c9c309eb136cacbd +EBUILD edencommon-2023.04.10.00.ebuild 875 BLAKE2B 9923ebe3369d37693f295570084ea079de3116099b9ed507ccda4279da5e64fcecaddaa2b3e5d710eb9d066e62a96e3308f2da3dfaaa42f7b1f0e9df73cc0d93 SHA512 e9e9cb9c0ec650a3599ade17a854faf679f67c2277beaafacd1f38f9db97bc032bb74b502acf87b32e2c81fb13f60a79036e28682d976250c9c309eb136cacbd MISC metadata.xml 336 BLAKE2B d87d655ad085e53410760329202ce130e41d98fd35ca8c9e38c07665177a21d187c94a4570d3c18a409eeb89f00017edd50cd127adbbd35f99a0da1fd342f048 SHA512 894ed9ebd715743d2ce4591456a5776e1e215cf8845ffa0e16e6b6a25b316213b5547b0e3717050dc83518c9c2e100348c0804f25e599cb785415b8411def8ac diff --git a/dev-cpp/edencommon/edencommon-2023.04.10.00.ebuild b/dev-cpp/edencommon/edencommon-2023.04.10.00.ebuild new file mode 100644 index 000000000000..411e811b2905 --- /dev/null +++ b/dev-cpp/edencommon/edencommon-2023.04.10.00.ebuild @@ -0,0 +1,41 @@ +# Copyright 2022-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +# These must be bumped together: +# dev-cpp/edencommon +# dev-cpp/folly +# dev-util/watchman + +inherit cmake + +DESCRIPTION="Shared library for Watchman and Eden projects" +HOMEPAGE="https://github.com/facebookexperimental/edencommon" +SRC_URI="https://github.com/facebookexperimental/edencommon/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz" + +LICENSE="MIT" +SLOT="0/${PV}" +KEYWORDS="~amd64" +IUSE="llvm-libunwind" + +RDEPEND=" + dev-cpp/gflags:= + dev-cpp/glog:=[gflags] + dev-cpp/folly:= + llvm-libunwind? ( sys-libs/llvm-libunwind:= ) + !llvm-libunwind? ( sys-libs/libunwind:= ) +" +DEPEND=" + ${RDEPEND} + dev-cpp/gtest +" + +src_configure() { + local mycmakeargs=( + -DCMAKE_INSTALL_DIR="$(get_libdir)/cmake/${PN}" + -DLIB_INSTALL_DIR="$(get_libdir)" + ) + + cmake_src_configure +} diff --git a/dev-cpp/folly/Manifest b/dev-cpp/folly/Manifest index 8b95054192e7..972cd7ee370d 100644 --- a/dev-cpp/folly/Manifest +++ b/dev-cpp/folly/Manifest @@ -1,6 +1,8 @@ AUX folly-2022.07.04.00-musl-fix.patch 1150 BLAKE2B 6774badf3856fa94ae69dc4ca3fb3aca628dcf3b96fd7d141967815a9a07c07349f852a35275baba7b91d60e0c61dc3e1639cab4727666fa128d0334f36815a2 SHA512 15029e25b4da1f9cfe227978a54f63c198361df665b4657ef6a80ffdd3911c80be8e6c3799c8c16ff0fcca050932155628651a6e5ed566a41174dced9e51dc58 DIST folly-v2022.08.29.00.tar.gz 3696645 BLAKE2B c1ff618be8b6a73bf0a1249212cf904ac472711086e54da73dd631ecf002761e30496e8631d6591f51e279b736ae9b3fe50959de6b1f86f01f9d6bc08fe675fc SHA512 1437a1314e26624715a0bb781049e19300eb3a67648287b319c55ce0dfbc867a09bd9d2f0cece6fc75fc62b21899aa94b464ae49c12687be7c94fdf0c7b95790 DIST folly-v2023.02.06.00.tar.gz 3790845 BLAKE2B b1c0eed7a2dccba3ccb5e25aa24cc0a6d628fbc3134bf0ed82a1e0e614825a3ae620d79a54e2bea398274afcb662bdfca48d7193f69db35f624ed6a2fa9bae99 SHA512 b9cd8132a702e88e4c9fefcce190d9fd403253c9b71dc22316f237922d99f9cd980ab81d50ddb48ae0e614a493b3d61865b03eee46d59805f83fce528f831646 +DIST folly-v2023.04.10.00.tar.gz 3816300 BLAKE2B fe262148583321ee55da9305a9e060e48915598c08edbd0edb884529d0a9547783f2e1a45b0f39e461ea6b92e9c0b74fc7b071ec1ed044b810ac2065c93a5f10 SHA512 4f154127f24e2e57873ed8e135989c214ae3bbaf0302594b3e67de89e04bf4905f45471a488220ecade56b9ae2b928a779b66f7632210a02b1087a4c05141d5a EBUILD folly-2022.08.29.00.ebuild 2474 BLAKE2B ba8b143ee679b37e2facd8ac30f6eee6ca8fd2606c5731757f2a2b5d6f6a9ce655d97f97317c907c5452e0e6494e81ee1dee376d97c708cc950b9e1e6090853d SHA512 81b7baddf458a0d394e158671f71f613fc7b760aea065b5ce7ab26856bdae9303462ac770b6dd067bf49f63fc776fdae4a66c9437cd9de009a2e716969e044f1 EBUILD folly-2023.02.06.00.ebuild 2691 BLAKE2B 87fa37f79761d5222734d38f2e3955b3d48200b8f197d6e655e1f59cd7d11b480a045f0bb09b25930d9cf210ef39ab8c6e8de3514e1dfd65b295e0c2f948cc31 SHA512 f7dfdee2935ac1c2b22300d7646e2c2d8ec595733c3e087d67b599a773d8fc90802ca977354da45271fd26a8a5ae0b1dd7598e9557dfb243dcd101441550f9c4 +EBUILD folly-2023.04.10.00.ebuild 2822 BLAKE2B fa3df4771db2609c819bc25f63999bd46162b65887aacb713ec4d009ba8b93c332fa1c5d0138e57d8a7bbee302c383fa2f0f32784a59afabdfc0660d7a2328ea SHA512 d82f58b20eecc0420fba647575d2822f0e13ec5b33cf8a72db5a459ad8e7131f4255136229331c21338015109eb99000d4711b6fc145b6309d16db719167ca65 MISC metadata.xml 319 BLAKE2B 0c8d18b906a50ee77fef7db1f99206b1c4d38dfa7913de363474609bcce38956be8d0958bc400c704ad743396db7230fb0098c83f1caa16ca998d6fd5576369c SHA512 8b077d5d5bf60f0ed5b36aef48188f431ca0675f80190beb407a58fa48fc6f8a48db161b8cde775ab6cfb54a01438fa5edddf0098e80a65b29a403a7f3a2c027 diff --git a/dev-cpp/folly/folly-2023.04.10.00.ebuild b/dev-cpp/folly/folly-2023.04.10.00.ebuild new file mode 100644 index 000000000000..77a442688377 --- /dev/null +++ b/dev-cpp/folly/folly-2023.04.10.00.ebuild @@ -0,0 +1,110 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +# These must be bumped together: +# dev-cpp/edencommon +# dev-cpp/folly +# dev-util/watchman + +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/releases/download/v${PV}/${PN}-v${PV}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~ppc64" +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] + dev-libs/double-conversion:= + dev-libs/libaio + dev-libs/libevent:= + dev-libs/libfmt:= + dev-libs/libsodium:= + dev-libs/openssl:= + >=sys-libs/liburing-2.3:= + sys-libs/zlib + llvm-libunwind? ( sys-libs/llvm-libunwind:= ) + !llvm-libunwind? ( sys-libs/libunwind:= )" +# libiberty is linked statically +DEPEND="${RDEPEND} + sys-libs/binutils-libs + test? ( dev-cpp/gtest )" +BDEPEND="test? ( sys-devel/clang )" + +PATCHES=( + "${FILESDIR}"/${PN}-2022.07.04.00-musl-fix.patch +) + +pkg_setup() { + [[ ${BUILD_TYPE} == binary ]] && return + + if use test && ! tc-is-clang ; then + # Always build w/ Clang for now to avoid gcc ICE + # https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106230 + #if [[ $(gcc-major-version) -eq 12 ]] ; then + # return + #fi + + ## Only older GCC 11 is broken + #if [[ $(gcc-major-version) -eq 11 && $(gcc-minor-version) -ge 3 && $(gcc-micro-version) -ge 1 ]] ; then + # return + #fi + + 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_unpack() { + # Workaround for bug #889420 + mkdir -p "${S}" || die + cd "${S}" || die + default +} + +src_configure() { + # TODO: liburing could in theory be optional but fails to link + local mycmakeargs=( + -DLIB_INSTALL_DIR="$(get_libdir)" + + -DBUILD_TESTS=$(usex test) + + # https://github.com/gentoo/gentoo/pull/29393 + -DCMAKE_LIBRARY_ARCHITECTURE=$(usex amd64 x86_64 ${ARCH}) + ) + + 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 + # - concurrent_hash_map_test.* + # TODO: All SIGSEGV, report upstream! + # - ssl_errors_test.SSLErrorsTest.TestMessage + # Network...? + -E "(timeseries_histogram_test.TimeseriesHistogram.Percentile|HHWheelTimerTest.HHWheelTimerTest.CancelTimeout|concurrent_hash_map_test.*|ssl_errors_test.SSLErrorsTest.TestMessage)" + ) + + cmake_src_test +} |