mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-21 22:47:14 -08:00
dev-libs/simdjson: Remove old
Package-Manager: Portage-3.0.18, Repoman-3.0.3 Signed-off-by: Patrick McLean <chutzpah@gentoo.org>
This commit is contained in:
@@ -1,3 +1 @@
|
||||
DIST simdjson-0.7.1.tar.gz 7972319 BLAKE2B c06b1db95b5d826babf7c673b8ef390c2169d975bbec585f6ea98a53455643b4ec462683d312fabbf8a1155309ba9fdd20977ba813e0fbfad5cbe45363ef7189 SHA512 f2ed21db24a8c80c48194e875680ee27dcb87ce1ee52d7f7466e3096661ccee179986bdc15d93e2a3d8d9f2f659f3bd678c908cfbde4905afd95e5e767f84e1c
|
||||
DIST simdjson-0.8.2.tar.gz 7994750 BLAKE2B 5d2d69ea4829147efc703677384b95d39d8a97013ba22cbf73721a873683fda8033a52540582f4b7ba060cf46e59898cd743f6e281fb7e61a7cabd4fe3c23701 SHA512 d732b95696b9dcaf648de8536cec181161c846f1e97fa99af6015e39331fbcab39fb6c02378dba810cc75f905cb1c3c6f434fea2fd6f7e11d775aba4ec9b4127
|
||||
DIST simdjson-0.9.2.tar.gz 7958184 BLAKE2B 7fbb3c85b5dfd2d18a09087f6c6e09437bfb8aec418eb219485b6f558fe117791b28e51a45bb416b677d42ca6d73d8b37381deee1aea4bd49fd132a16312a49e SHA512 6d546f0283b680da581b51bab86f7165abdab0a82d51e9c4a5abcf9a94e24059adfb63c8e4e8ef147fee50fc94f6a0efc4dba34dce499926e1da0dcd1fe63dd6
|
||||
|
||||
@@ -1,30 +0,0 @@
|
||||
diff --git a/dependencies/CMakeLists.txt b/dependencies/CMakeLists.txt
|
||||
index 51ab3a31..d3d5e86e 100644
|
||||
--- a/dependencies/CMakeLists.txt
|
||||
+++ b/dependencies/CMakeLists.txt
|
||||
@@ -105,6 +105,3 @@ endif()
|
||||
set_off(CXXOPTS_BUILD_EXAMPLES)
|
||||
set_off(CXXOPTS_BUILD_TESTS)
|
||||
set_off(CXXOPTS_ENABLE_INSTALL)
|
||||
-
|
||||
-import_dependency(cxxopts jarro2783/cxxopts 794c975)
|
||||
-add_dependency(cxxopts)
|
||||
diff --git a/tools/CMakeLists.txt b/tools/CMakeLists.txt
|
||||
index f1a82be7..5c36d994 100644
|
||||
--- a/tools/CMakeLists.txt
|
||||
+++ b/tools/CMakeLists.txt
|
||||
@@ -1,10 +1,7 @@
|
||||
-if(TARGET cxxopts) # we only build the tools if cxxopts is available
|
||||
message(STATUS "We have cxxopts as a dependency and we are buiding the tools (e.g., json2json).")
|
||||
- link_libraries(simdjson simdjson-internal-flags simdjson-windows-headers cxxopts)
|
||||
+ link_libraries(simdjson simdjson-internal-flags simdjson-windows-headers)
|
||||
add_executable(json2json json2json.cpp)
|
||||
add_executable(jsonstats jsonstats.cpp)
|
||||
- add_executable(jsonpointer jsonpointer.cpp)
|
||||
+ add_executable(simdjsonpointer jsonpointer.cpp)
|
||||
add_executable(minify minify.cpp)
|
||||
-else()
|
||||
- message(STATUS "We are missing cxxopts as a dependency so the tools (e.g., json2json) are omitted.")
|
||||
-endif()
|
||||
\ No newline at end of file
|
||||
+ install(TARGETS json2json jsonstats simdjsonpointer minify DESTINATION bin)
|
||||
@@ -1,57 +0,0 @@
|
||||
# Copyright 2020-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit 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/4"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
|
||||
IUSE="test tools"
|
||||
|
||||
BDEPEND="
|
||||
sys-apps/file
|
||||
sys-apps/findutils
|
||||
sys-apps/grep
|
||||
"
|
||||
DEPEND="
|
||||
tools? ( dev-libs/cxxopts:= )
|
||||
"
|
||||
|
||||
REQUIRED_USE="test? ( tools )"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/simdjson-0.7.0-dont-bundle-cssopts.patch"
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
sed -e 's:-Werror ::' -i cmake/simdjson-flags.cmake || die
|
||||
cmake_src_prepare
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local -a mycmakeargs
|
||||
|
||||
if use tools; then
|
||||
mycmakeargs+=(
|
||||
-DSIMDJSON_JUST_LIBRARY=OFF
|
||||
-DSIMDJSON_GOOGLE_BENCHMARKS=OFF
|
||||
-DSIMDJSON_COMPETITION=OFF
|
||||
)
|
||||
else
|
||||
mycmakeargs+=(
|
||||
-DSIMDJSON_JUST_LIBRARY=ON
|
||||
)
|
||||
fi
|
||||
|
||||
cmake_src_configure
|
||||
}
|
||||
@@ -1,67 +0,0 @@
|
||||
# Copyright 2020-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit 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/4"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
|
||||
IUSE="test tools"
|
||||
|
||||
BDEPEND="
|
||||
sys-apps/file
|
||||
sys-apps/findutils
|
||||
sys-apps/grep
|
||||
"
|
||||
DEPEND="
|
||||
tools? ( dev-libs/cxxopts:= )
|
||||
"
|
||||
|
||||
REQUIRED_USE="test? ( tools )"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/simdjson-0.8.0-dont-bundle-cxxopts.patch"
|
||||
)
|
||||
|
||||
DOCS=(
|
||||
AUTHORS
|
||||
CONTRIBUTING.md
|
||||
CONTRIBUTORS
|
||||
HACKING.md
|
||||
README.md
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
sed -e 's:-Werror ::' -i cmake/simdjson-flags.cmake || die
|
||||
cmake_src_prepare
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local -a mycmakeargs=(
|
||||
-DSIMDJSON_ENABLE_THREADS=ON
|
||||
)
|
||||
|
||||
if use tools; then
|
||||
mycmakeargs+=(
|
||||
-DSIMDJSON_JUST_LIBRARY=OFF
|
||||
-DSIMDJSON_GOOGLE_BENCHMARKS=OFF
|
||||
-DSIMDJSON_COMPETITION=OFF
|
||||
)
|
||||
else
|
||||
mycmakeargs+=(
|
||||
-DSIMDJSON_JUST_LIBRARY=ON
|
||||
)
|
||||
fi
|
||||
|
||||
cmake_src_configure
|
||||
}
|
||||
Reference in New Issue
Block a user