diff options
author | Patrick McLean <patrick.mclean@sony.com> | 2020-10-28 09:12:54 -0700 |
---|---|---|
committer | Patrick McLean <chutzpah@gentoo.org> | 2020-10-28 09:12:54 -0700 |
commit | d11ecb3ef39a2b7cea866976349c6a4bdc3ea16b (patch) | |
tree | 0adcb59c4cacddbc24f36e005414323880fb9059 /dev-libs/simdjson | |
parent | dev-python/importlib_resources: remove old (diff) | |
download | gentoo-d11ecb3ef39a2b7cea866976349c6a4bdc3ea16b.tar.gz gentoo-d11ecb3ef39a2b7cea866976349c6a4bdc3ea16b.tar.bz2 gentoo-d11ecb3ef39a2b7cea866976349c6a4bdc3ea16b.zip |
dev-libs/simdjson-0.6.0: Version bump
Copyright: Sony Interactive Entertainment Inc.
Package-Manager: Portage-3.0.8, Repoman-3.0.2
Signed-off-by: Patrick McLean <chutzpah@gentoo.org>
Diffstat (limited to 'dev-libs/simdjson')
-rw-r--r-- | dev-libs/simdjson/Manifest | 2 | ||||
-rw-r--r-- | dev-libs/simdjson/files/simdjson-0.4.7-tests-compiler.patch | 41 | ||||
-rw-r--r-- | dev-libs/simdjson/metadata.xml | 8 | ||||
-rw-r--r-- | dev-libs/simdjson/simdjson-0.4.7.ebuild | 34 | ||||
-rw-r--r-- | dev-libs/simdjson/simdjson-0.6.0.ebuild | 34 |
5 files changed, 119 insertions, 0 deletions
diff --git a/dev-libs/simdjson/Manifest b/dev-libs/simdjson/Manifest new file mode 100644 index 000000000000..edba6dcf5b14 --- /dev/null +++ b/dev-libs/simdjson/Manifest @@ -0,0 +1,2 @@ +DIST simdjson-0.4.7.tar.gz 4119328 BLAKE2B f19a603b83282081457f548bd9b609f4fc4b9b0e32c868c8d4ecc15fbc359e6463576c24f38b6623cd72cc4681a1db42ec45ee605df6096876982caa9f96be91 SHA512 023e8b75652cb29c41eb1e01ebc6c484b28ff5f6736c885fb5d8c639b1047660fd0eb24d131dabc035fc7fc824e15fe49b177bc3613e329f1d8cd956173a490f +DIST simdjson-0.6.0.tar.gz 7888638 BLAKE2B 8c42d5a2d57adb75d4c5298e0e1264726d509cdc4dc1e65cafc609b8ecd6623dd74f257f7d736a39e7f969e41e370d5dce1b3c99beec27f151600160d4cd2c81 SHA512 9dbb2b14fb5599b8acf996044953eee15ffecb51a0386f29dead9a3053d3f48531574ee9accde0460239ab8fa76757d329f404c4ce708531b71dc299c742281f diff --git a/dev-libs/simdjson/files/simdjson-0.4.7-tests-compiler.patch b/dev-libs/simdjson/files/simdjson-0.4.7-tests-compiler.patch new file mode 100644 index 000000000000..b641373e1a37 --- /dev/null +++ b/dev-libs/simdjson/files/simdjson-0.4.7-tests-compiler.patch @@ -0,0 +1,41 @@ +diff --git a/examples/quickstart/Makefile b/examples/quickstart/Makefile +index 4d3f227..90c2237 100644 +--- a/examples/quickstart/Makefile ++++ b/examples/quickstart/Makefile +@@ -5,7 +5,7 @@ JSONEXAMPLES=$(ROOT)/jsonexamples + test: quickstart twitter.json + ./quickstart + quickstart: quickstart.cpp simdjson.cpp simdjson.h +- c++ -o ./quickstart quickstart.cpp simdjson.cpp ++ $(CXX) -o ./quickstart quickstart.cpp simdjson.cpp + clean: + rm -f simdjson.cpp simdjson.h twitter.json quickstart quickstart11 quickstart14 + simdjson.cpp: $(SINGLEHEADER)/simdjson.cpp +@@ -17,16 +17,16 @@ twitter.json: $(JSONEXAMPLES)/twitter.json + + quickstart11: $(ROOT)/src/**.h $(ROOT)/src/**.cpp $(ROOT)/include/**.h $(ROOT)/src/**.cpp + rm -f simdjson.h simdjson.cpp +- c++ -o ./quickstart11 quickstart.cpp $(ROOT)/src/simdjson.cpp -I$(ROOT)/src -I$(ROOT)/include -std=c++11 ++ $(CXX) -o ./quickstart11 quickstart.cpp $(ROOT)/src/simdjson.cpp -I$(ROOT)/src -I$(ROOT)/include -std=c++11 + test11: quickstart11 twitter.json + ./quickstart11 + quickstart14: $(ROOT)/src/**.h $(ROOT)/src/**.cpp $(ROOT)/include/**.h $(ROOT)/src/**.cpp + rm -f simdjson.h simdjson.cpp +- c++ -o ./quickstart14 quickstart.cpp $(ROOT)/src/simdjson.cpp -I$(ROOT)/src -I$(ROOT)/include -std=c++14 ++ $(CXX) -o ./quickstart14 quickstart.cpp $(ROOT)/src/simdjson.cpp -I$(ROOT)/src -I$(ROOT)/include -std=c++14 + test14: quickstart14 twitter.json + ./quickstart14 + quickstart17: $(ROOT)/src/**.h $(ROOT)/src/**.cpp $(ROOT)/include/**.h $(ROOT)/src/**.cpp + rm -f simdjson.h simdjson.cpp +- c++ -o ./quickstart17 quickstart.cpp $(ROOT)/src/simdjson.cpp -I$(ROOT)/src -I$(ROOT)/include -std=c++17 ++ $(CXX) -o ./quickstart17 quickstart.cpp $(ROOT)/src/simdjson.cpp -I$(ROOT)/src -I$(ROOT)/include -std=c++17 + test17: quickstart17 twitter.json + ./quickstart17 +diff --git a/singleheader/README.md b/singleheader/README.md +index fd58a7a..e495ec9 100644 +--- a/singleheader/README.md ++++ b/singleheader/README.md +@@ -1,2 +1,2 @@ + Try : +-c++ -O3 -std=c++17 -pthread -o amalgamate_demo amalgamate_demo.cpp && ./amalgamate_demo ../jsonexamples/twitter.json ../jsonexamples/amazon_cellphones.ndjson ++${CXX} -O3 -std=c++17 -pthread -o amalgamate_demo amalgamate_demo.cpp && ./amalgamate_demo ../jsonexamples/twitter.json ../jsonexamples/amazon_cellphones.ndjson diff --git a/dev-libs/simdjson/metadata.xml b/dev-libs/simdjson/metadata.xml new file mode 100644 index 000000000000..cee379b15409 --- /dev/null +++ b/dev-libs/simdjson/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>chutzpah@gentoo.org</email> + <name>Patrick McLean</name> + </maintainer> +</pkgmetadata> diff --git a/dev-libs/simdjson/simdjson-0.4.7.ebuild b/dev-libs/simdjson/simdjson-0.4.7.ebuild new file mode 100644 index 000000000000..77da37bac071 --- /dev/null +++ b/dev-libs/simdjson/simdjson-0.4.7.ebuild @@ -0,0 +1,34 @@ +# Copyright 2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit toolchain-funcs cmake + +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}.tar.gz" + +LICENSE="Apache-2.0 Boost-1.0" +SLOT="0/2" +KEYWORDS="~amd64 ~x86" +IUSE="test" + +BDEPEND=" + sys-apps/file + sys-apps/findutils + sys-apps/grep +" + +RESTRICT="!test? ( test )" + +src_configure() { + local mycmakeargs=( + $(usex test '' '-DSIMDJSON_JUST_LIBRARY=ON') + ) + + cmake_src_configure +} diff --git a/dev-libs/simdjson/simdjson-0.6.0.ebuild b/dev-libs/simdjson/simdjson-0.6.0.ebuild new file mode 100644 index 000000000000..77da37bac071 --- /dev/null +++ b/dev-libs/simdjson/simdjson-0.6.0.ebuild @@ -0,0 +1,34 @@ +# Copyright 2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit toolchain-funcs cmake + +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}.tar.gz" + +LICENSE="Apache-2.0 Boost-1.0" +SLOT="0/2" +KEYWORDS="~amd64 ~x86" +IUSE="test" + +BDEPEND=" + sys-apps/file + sys-apps/findutils + sys-apps/grep +" + +RESTRICT="!test? ( test )" + +src_configure() { + local mycmakeargs=( + $(usex test '' '-DSIMDJSON_JUST_LIBRARY=ON') + ) + + cmake_src_configure +} |