From: "Patrick McLean" <chutzpah@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/simdjson/
Date: Thu, 2 Mar 2023 21:24:21 +0000 (UTC) [thread overview]
Message-ID: <1677792173.2b8d54212699e12f4f6b5a1c9ab76a045ff704ed.chutzpah@gentoo> (raw)
commit: 2b8d54212699e12f4f6b5a1c9ab76a045ff704ed
Author: Patrick McLean <chutzpah <AT> gentoo <DOT> org>
AuthorDate: Thu Mar 2 21:22:53 2023 +0000
Commit: Patrick McLean <chutzpah <AT> gentoo <DOT> org>
CommitDate: Thu Mar 2 21:22:53 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2b8d5421
dev-libs/simdjson: add 3.1.3
Signed-off-by: Patrick McLean <chutzpah <AT> gentoo.org>
dev-libs/simdjson/Manifest | 1 +
dev-libs/simdjson/simdjson-3.1.3.ebuild | 87 +++++++++++++++++++++++++++++++++
2 files changed, 88 insertions(+)
diff --git a/dev-libs/simdjson/Manifest b/dev-libs/simdjson/Manifest
index 4b12e8016d4b..870069e6af56 100644
--- a/dev-libs/simdjson/Manifest
+++ b/dev-libs/simdjson/Manifest
@@ -1,4 +1,5 @@
DIST simdjson-3.0.0.gh.tar.gz 1628275 BLAKE2B eef18be927c50527885f6e042ef22317b7e6da6a77d652a4415b98ec7fda227a1b3b798774c12b587a1a011b16c4011a0656f1bf1a20886432796e64076f4775 SHA512 4ea58cd4d059f5e83734f8f084056a58a587529e13df5c47fbb42b141052688f8517ab4e7d6cd4581c6b560f8804968fa0c9c7184b1d8d54e45c280302a069ec
DIST simdjson-3.1.0.gh.tar.gz 1632837 BLAKE2B c7df7d500753c0fc23637b81e5fa2b01617d1ed24b388054b94cd877d4b9a21cc7495f3a98910600aa9e659a3d734ed6abcc9ba2f6f1f497cbadae313af02d9b SHA512 839b96c17c40274080b2543a78845bae6e7784a53374c0935674e52283ba1cda9dc55ac910641644eb55b8413b02156205153d95619a06ed8bb054429b992051
DIST simdjson-3.1.1.gh.tar.gz 1633897 BLAKE2B a2bc394bfbf7916bc7743d3891b84eb3743cce2998242ecb427a7a3357986ea90c6ee546c3048aeb5629c9475f9ce862038f349ced51f684d199441632cca7ef SHA512 fb7d0963236c8fa692bf6c4ed2a66da5b29632c02e357894e0d5c604467e82f9a56cc7e8229769d9e401ed5bf5dfb25ae46f40fbe68605cedf58d763d03af93f
+DIST simdjson-3.1.3.gh.tar.gz 1642519 BLAKE2B 3aaea9c6c226b7d6e5f7251abe72e22c36344ab0d9aa472b046a850f83c028ea0d4e7c694aa343809bef99cd6d70cdfee7d6a60c5bcc1a6424800602b61a2ac0 SHA512 45d2dc0f6735f516f6f6476e8b53577002cb76a5d08c34c8f2a4501fa4c05ab65f6ae09716aad23d60900c777caf944d79c3289015bb05180ce9009c39b0e0c1
DIST simdjson-data-a5b13babe65c1bba7186b41b43d4cbdc20a5c470.tar.gz 6635706 BLAKE2B 563376147f18d590a176a5a0398365db1a3e677b773c018f335efa7fff05ac22ac5dc37613792082a32e6c9b91a773a590f7dfd15efa5ba660f9142b128b28a7 SHA512 168198404b11b8c76ff4f53645d7b5a88a5c72b4a5b6646b4410859ec3416ae9b37fc59f7d2f014ccc785615ea5c31dc00b145dbb1a7acb701b94029dd4ea1e1
diff --git a/dev-libs/simdjson/simdjson-3.1.3.ebuild b/dev-libs/simdjson/simdjson-3.1.3.ebuild
new file mode 100644
index 000000000000..3556dd4aab2c
--- /dev/null
+++ b/dev-libs/simdjson/simdjson-3.1.3.ebuild
@@ -0,0 +1,87 @@
+# Copyright 2020-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit toolchain-funcs cmake
+
+DATA_HASH="a5b13babe65c1bba7186b41b43d4cbdc20a5c470"
+DESCRIPTION="SIMD accelerated C++ JSON library"
+HOMEPAGE="
+ https://simdjson.org/
+ https://github.com/simdjson/simdjson
+"
+SRC_URI="
+ https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz
+ test? ( https://github.com/${PN}/${PN}-data/archive/${DATA_HASH}.tar.gz -> ${PN}-data-${DATA_HASH}.tar.gz )
+"
+
+LICENSE="Apache-2.0 Boost-1.0 BSD MIT"
+SLOT="0/15"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
+IUSE="test tools"
+
+BDEPEND="
+ sys-apps/file
+ sys-apps/grep
+ virtual/pkgconfig
+"
+DEPEND="
+ tools? ( <dev-libs/cxxopts-3.1:= )
+"
+
+REQUIRED_USE="test? ( tools )"
+RESTRICT="!test? ( test )"
+
+PATCHES=(
+ "${FILESDIR}/simdjson-1.0.0-dont-bundle-cxxopts.patch"
+ "${FILESDIR}/simdjson-0.9.0-tests.patch"
+ "${FILESDIR}/simdjson-1.0.0-dont-fetch-data-tarball.patch"
+ "${FILESDIR}/simdjson-1.0.0-install-tools.patch"
+ "${FILESDIR}/simdjson-1.0.0-tests.patch"
+)
+
+DOCS=(
+ AUTHORS
+ CONTRIBUTING.md
+ CONTRIBUTORS
+ HACKING.md
+ README.md
+)
+
+src_prepare() {
+ if use test; then
+ mv "${WORKDIR}/${PN}-data-${DATA_HASH}" "${S}/dependencies/${PN}-data" || die
+ fi
+
+ sed -e 's:-Werror ::' -i cmake/developer-options.cmake || die
+ sed -e '/Werror/ d ; /Werror/ d ' -i tests/ondemand/compilation_failure_tests/CMakeLists.txt || die
+ sed -e "s:^c++ :$(tc-getCXX) :" -i singleheader/README.md || die
+ mv tools/{,simd}jsonpointer.cpp || die
+ cmake_src_prepare
+}
+
+src_configure() {
+ local mycmakeargs=(
+ -DSIMDJSON_ENABLE_THREADS=ON
+ )
+ use test && mycmakeargs+=(
+ -DSIMDJSON_TESTS=ON
+ )
+
+ if use tools; then
+ mycmakeargs+=(
+ -DSIMDJSON_DEVELOPER_MODE=ON
+ -DSIMDJSON_ALLOW_DOWNLOADS=OFF
+ -DSIMDJSON_GOOGLE_BENCHMARKS=OFF
+ -DSIMDJSON_COMPETITION=OFF
+ -DSIMDJSON_TOOLS=ON
+ )
+ elif ! use test; then
+ mycmakeargs+=(
+ -DSIMDJSON_DEVELOPER_MODE=OFF
+ )
+ fi
+
+ cmake_src_configure
+}
next reply other threads:[~2023-03-02 21:24 UTC|newest]
Thread overview: 96+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-03-02 21:24 Patrick McLean [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-11-01 19:13 [gentoo-commits] repo/gentoo:master commit in: dev-libs/simdjson/ Andreas K. Hüttel
2024-10-31 13:51 Sam James
2024-10-30 15:46 Arthur Zamarin
2024-10-26 10:42 Sam James
2024-10-26 10:40 Sam James
2024-10-26 10:40 Sam James
2024-10-25 22:31 Sam James
2024-09-02 11:22 Jakov Smolić
2024-07-29 19:39 Arthur Zamarin
2024-07-29 19:37 Arthur Zamarin
2024-07-17 4:38 Viorel Munteanu
2024-06-26 5:43 Arthur Zamarin
2024-06-25 23:16 Sam James
2024-06-13 19:48 Patrick McLean
2024-05-30 18:41 Arthur Zamarin
2024-05-30 17:25 Patrick McLean
2024-05-30 17:25 Patrick McLean
2024-05-24 19:01 Patrick McLean
2024-05-24 2:46 Ionen Wolkens
2024-05-12 11:13 Yixun Lan
2024-04-05 20:50 Patrick McLean
2024-04-05 17:37 Patrick McLean
2024-04-05 17:36 Patrick McLean
2024-02-24 0:01 Patrick McLean
2024-02-07 18:38 Patrick McLean
2024-02-07 18:38 Patrick McLean
2024-02-07 18:38 Patrick McLean
2023-12-08 18:55 Patrick McLean
2023-12-04 20:25 Patrick McLean
2023-12-04 20:25 Patrick McLean
2023-10-28 2:01 Patrick McLean
2023-10-26 17:46 Patrick McLean
2023-09-20 16:54 Patrick McLean
2023-09-20 16:54 Patrick McLean
2023-08-22 18:11 Patrick McLean
2023-08-07 21:26 Patrick McLean
2023-07-07 6:07 Patrick McLean
2023-07-07 6:06 Patrick McLean
2023-07-07 6:06 Patrick McLean
2023-06-15 19:03 Patrick McLean
2023-06-15 19:03 Patrick McLean
2023-04-27 22:01 Patrick McLean
2023-03-14 17:33 Patrick McLean
2023-03-13 18:19 Patrick McLean
2023-03-13 18:19 Patrick McLean
2023-03-02 21:24 Patrick McLean
2023-03-02 21:24 Patrick McLean
2023-02-14 21:28 Patrick McLean
2023-02-07 17:52 Patrick McLean
2023-01-26 18:44 Patrick McLean
2023-01-26 18:44 Patrick McLean
2023-01-13 10:16 Arthur Zamarin
2022-10-28 11:02 Sam James
2022-10-07 22:55 Patrick McLean
2022-08-01 19:03 Patrick McLean
2022-07-20 0:42 Patrick McLean
2022-06-30 21:35 Patrick McLean
2022-06-30 16:29 Patrick McLean
2022-06-30 16:29 Patrick McLean
2022-06-30 16:23 Patrick McLean
2022-06-16 16:01 Patrick McLean
2022-06-02 21:13 Patrick McLean
2022-06-02 16:02 Patrick McLean
2022-06-02 15:55 Patrick McLean
2022-05-26 21:21 Patrick McLean
2022-05-25 17:26 Patrick McLean
2022-05-18 1:22 Patrick McLean
2022-01-06 10:39 David Seifert
2021-10-28 0:55 Patrick McLean
2021-10-21 16:19 Patrick McLean
2021-10-05 20:57 Patrick McLean
2021-09-08 18:25 Patrick McLean
2021-09-08 18:25 Patrick McLean
2021-08-02 23:15 Patrick McLean
2021-06-07 18:19 Patrick McLean
2021-05-28 1:40 Patrick McLean
2021-05-22 7:42 Patrick McLean
2021-05-17 2:37 Sam James
2021-05-15 17:47 Patrick McLean
2021-04-16 22:06 Patrick McLean
2021-04-01 17:26 Patrick McLean
2021-04-01 17:26 Patrick McLean
2021-03-21 2:51 Patrick McLean
2021-02-11 17:41 Patrick McLean
2021-01-28 19:00 Patrick McLean
2021-01-28 19:00 Patrick McLean
2020-12-14 19:41 Patrick McLean
2020-12-07 18:20 Patrick McLean
2020-12-05 23:41 Patrick McLean
2020-12-05 0:34 Patrick McLean
2020-11-04 23:40 Patrick McLean
2020-10-30 17:33 Patrick McLean
2020-10-29 5:13 Sam James
2020-10-29 5:13 Sam James
2020-10-28 23:28 Georgy Yakovlev
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1677792173.2b8d54212699e12f4f6b5a1c9ab76a045ff704ed.chutzpah@gentoo \
--to=chutzpah@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox