summaryrefslogtreecommitdiff
path: root/dev-libs/simdjson/files/simdjson-3.7.1-data-optional.patch
diff options
context:
space:
mode:
authorPatrick McLean <chutzpah@gentoo.org>2024-03-19 11:33:29 -0700
committerPatrick McLean <chutzpah@gentoo.org>2024-03-19 11:33:44 -0700
commit5e62d51a6854f970c0641e8a0c3eacd3507ff77e (patch)
treeb713e468e741e4e982311e3ef6e9451e33172642 /dev-libs/simdjson/files/simdjson-3.7.1-data-optional.patch
parent4b247ff630513d41f4a6c2f74a35cef98f82f0e0 (diff)
downloadgentoo-5e62d51a6854f970c0641e8a0c3eacd3507ff77e.tar.gz
gentoo-5e62d51a6854f970c0641e8a0c3eacd3507ff77e.tar.bz2
gentoo-5e62d51a6854f970c0641e8a0c3eacd3507ff77e.zip
dev-libs/simdjson: add 3.7.1, drop 3.7.0
Signed-off-by: Patrick McLean <chutzpah@gentoo.org>
Diffstat (limited to 'dev-libs/simdjson/files/simdjson-3.7.1-data-optional.patch')
-rw-r--r--dev-libs/simdjson/files/simdjson-3.7.1-data-optional.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/dev-libs/simdjson/files/simdjson-3.7.1-data-optional.patch b/dev-libs/simdjson/files/simdjson-3.7.1-data-optional.patch
new file mode 100644
index 000000000000..f7192d74042c
--- /dev/null
+++ b/dev-libs/simdjson/files/simdjson-3.7.1-data-optional.patch
@@ -0,0 +1,17 @@
+diff --git a/dependencies/CMakeLists.txt b/dependencies/CMakeLists.txt
+index 1d98e6f7..ad903481 100644
+--- a/dependencies/CMakeLists.txt
++++ b/dependencies/CMakeLists.txt
+@@ -20,8 +20,10 @@ if(SIMDJSON_GOOGLE_BENCHMARKS)
+ endif()
+
+ # The bulk of our benchmarking and testing data has been moved simdjson/simdjson-data
+-import_dependency(simdjson-data simdjson/simdjson-data a5b13babe65c1bba7186b41b43d4cbdc20a5c470)
+-add_dependency(simdjson-data)
++if(SIMDJSON_TESTS)
++ import_dependency(simdjson-data simdjson/simdjson-data a5b13babe65c1bba7186b41b43d4cbdc20a5c470)
++ add_dependency(simdjson-data)
++endif()
+ option(SIMDJSON_USE_BOOST_JSON "Try to include BOOST_JSON, this may break your binaries under some systems." OFF)
+ # This prevents variables declared with set() from unnecessarily escaping and
+ # should not be called more than once