* [gentoo-commits] repo/proj/guru:dev commit in: dev-cpp/folly/files/, dev-cpp/folly/
@ 2021-05-02 2:27 Alessandro Barbieri
0 siblings, 0 replies; only message in thread
From: Alessandro Barbieri @ 2021-05-02 2:27 UTC (permalink / raw
To: gentoo-commits
commit: 8fc64210595462c76451b564716aa94d179d4b50
Author: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Sun May 2 01:55:11 2021 +0000
Commit: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
CommitDate: Sun May 2 02:27:50 2021 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=8fc64210
dev-cpp/folly: build exception_tracer
Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>
dev-cpp/folly/files/build-exception_tracer.patch | 10 +++++++
dev-cpp/folly/folly-2021.04.19.00-r1.ebuild | 38 ++++++++++++++++++++++++
2 files changed, 48 insertions(+)
diff --git a/dev-cpp/folly/files/build-exception_tracer.patch b/dev-cpp/folly/files/build-exception_tracer.patch
new file mode 100644
index 000000000..f2b6bd50f
--- /dev/null
+++ b/dev-cpp/folly/files/build-exception_tracer.patch
@@ -0,0 +1,10 @@
+--- a/CMakeLists.txt 2021-05-01 23:33:32.935741973 +0200
++++ b/CMakeLists.txt 2021-05-01 23:34:35.369443062 +0200
+@@ -149,7 +149,6 @@
+ REMOVE_MATCHES_FROM_LISTS(files hfiles
+ MATCHES
+ "^${FOLLY_DIR}/build/"
+- "^${FOLLY_DIR}/experimental/exception_tracer/"
+ "^${FOLLY_DIR}/logging/example/"
+ "^${FOLLY_DIR}/(.*/)?test/"
+ "^${FOLLY_DIR}/tools/"
diff --git a/dev-cpp/folly/folly-2021.04.19.00-r1.ebuild b/dev-cpp/folly/folly-2021.04.19.00-r1.ebuild
new file mode 100644
index 000000000..c6e95d1ac
--- /dev/null
+++ b/dev-cpp/folly/folly-2021.04.19.00-r1.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit cmake
+
+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"
+KEYWORDS="~amd64 ~arm64 ~x86"
+PATCHES=( "${FILESDIR}/build-exception_tracer.patch" )
+
+DEPEND="
+ app-arch/lz4
+ app-arch/snappy
+ app-arch/zstd
+ dev-cpp/gflags
+ dev-cpp/glog[gflags]
+ dev-libs/boost[context,threads]
+ dev-libs/double-conversion
+ dev-libs/libevent
+ dev-libs/libfmt
+ sys-libs/binutils-libs
+ sys-libs/zlib
+"
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+ cmake_src_prepare
+ sed \
+ -e "s/lib CACHE/$(get_libdir) CACHE/" \
+ -e "s/lib\/cmake\/folly CACHE/$(get_libdir)\/cmake\/folly CACHE/" \
+ -i CMakeLists.txt || die
+}
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2021-05-02 2:27 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-05-02 2:27 [gentoo-commits] repo/proj/guru:dev commit in: dev-cpp/folly/files/, dev-cpp/folly/ Alessandro Barbieri
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox