From 077907b7c371f507611bfbc163695f5f2ccf9514 Mon Sep 17 00:00:00 2001 From: Daniel Lemire Date: Sun, 28 Jun 2020 12:40:13 -0400 Subject: [PATCH] Preparing a new patch release. --- CMakeLists.txt | 10 +++++++--- Doxyfile | 2 +- include/simdjson/simdjson_version.h | 4 ++-- singleheader/amalgamate_demo.cpp | 2 +- singleheader/simdjson.cpp | 2 +- singleheader/simdjson.h | 14 ++++++++++---- 6 files changed, 22 insertions(+), 12 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index a15c5436..c6b49166 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -7,11 +7,15 @@ project(simdjson set(PROJECT_VERSION_MAJOR 0) set(PROJECT_VERSION_MINOR 4) -set(PROJECT_VERSION_PATCH 1) -set(SIMDJSON_LIB_VERSION "0.4.1" CACHE STRING "simdjson library version") +set(PROJECT_VERSION_PATCH 2) +set(SIMDJSON_LIB_VERSION "0.4.2" CACHE STRING "simdjson library version") set(SIMDJSON_LIB_SOVERSION "2" CACHE STRING "simdjson library soversion") set(SIMDJSON_GITHUB_REPOSITORY https://github.com/simdjson/simdjson) +# The SIMDJSON_LIB_SOVERSION is 0 for versions before 0.3.0. +# The SIMDJSON_LIB_SOVERSION is 1 for version 0.3. +# The SIMDJSON_LIB_SOVERSION is 2 for version 0.4. + include(GNUInstallDirs) include(cmake/simdjson-flags.cmake) include(cmake/simdjson-user-cmakecache.cmake) @@ -43,8 +47,8 @@ add_subdirectory(windows) if(NOT(SIMDJSON_JUST_LIBRARY)) add_subdirectory(dependencies) ## This needs to be before tools because of cxxopts add_subdirectory(tools) ## This needs to be before tests because of cxxopts - add_subdirectory(singleheader) endif() +add_subdirectory(singleheader) # # Compile tools / tests / benchmarks diff --git a/Doxyfile b/Doxyfile index 792a6b80..0c769525 100644 --- a/Doxyfile +++ b/Doxyfile @@ -38,7 +38,7 @@ PROJECT_NAME = simdjson # could be handy for archiving the generated documentation or if some version # control system is used. -PROJECT_NUMBER = "0.4.1" +PROJECT_NUMBER = "0.4.2" # Using the PROJECT_BRIEF tag one can provide an optional one line description # for a project that appears at the top of each page and should give viewer a diff --git a/include/simdjson/simdjson_version.h b/include/simdjson/simdjson_version.h index 8d4f0819..b7667054 100644 --- a/include/simdjson/simdjson_version.h +++ b/include/simdjson/simdjson_version.h @@ -4,7 +4,7 @@ #define SIMDJSON_SIMDJSON_VERSION_H /** The version of simdjson being used (major.minor.revision) */ -#define SIMDJSON_VERSION 0.4.1 +#define SIMDJSON_VERSION 0.4.2 namespace simdjson { enum { @@ -19,7 +19,7 @@ enum { /** * The revision (major.minor.REVISION) of simdjson being used. */ - SIMDJSON_VERSION_REVISION = 1 + SIMDJSON_VERSION_REVISION = 2 }; } // namespace simdjson diff --git a/singleheader/amalgamate_demo.cpp b/singleheader/amalgamate_demo.cpp index d5ae0a38..3b6ed63c 100644 --- a/singleheader/amalgamate_demo.cpp +++ b/singleheader/amalgamate_demo.cpp @@ -1,4 +1,4 @@ -/* auto-generated on Fri 26 Jun 2020 20:03:28 EDT. Do not edit! */ +/* auto-generated on Sun 28 Jun 2020 12:39:28 EDT. Do not edit! */ #include #include "simdjson.h" diff --git a/singleheader/simdjson.cpp b/singleheader/simdjson.cpp index c9451a61..517cd532 100644 --- a/singleheader/simdjson.cpp +++ b/singleheader/simdjson.cpp @@ -1,4 +1,4 @@ -/* auto-generated on Fri 26 Jun 2020 20:03:28 EDT. Do not edit! */ +/* auto-generated on Sun 28 Jun 2020 12:39:28 EDT. Do not edit! */ /* begin file src/simdjson.cpp */ #include "simdjson.h" diff --git a/singleheader/simdjson.h b/singleheader/simdjson.h index b13c740f..ef850496 100644 --- a/singleheader/simdjson.h +++ b/singleheader/simdjson.h @@ -1,4 +1,4 @@ -/* auto-generated on Fri 26 Jun 2020 20:03:28 EDT. Do not edit! */ +/* auto-generated on Sun 28 Jun 2020 12:39:28 EDT. Do not edit! */ /* begin file include/simdjson.h */ #ifndef SIMDJSON_H #define SIMDJSON_H @@ -190,7 +190,6 @@ use a 64-bit target such as x64 or 64-bit ARM.") #endif #endif - // workaround for large stack sizes under -O0. // https://github.com/simdjson/simdjson/issues/691 #ifdef __APPLE__ @@ -204,6 +203,13 @@ use a 64-bit target such as x64 or 64-bit ARM.") #endif #endif + +#if SIMDJSON_DO_NOT_USE_THREADS_NO_MATTER_WHAT +// No matter what happened, we undefine SIMDJSON_THREADS_ENABLED and so disable threads. +#undef SIMDJSON_THREADS_ENABLED +#endif + + #if defined(__clang__) #define NO_SANITIZE_UNDEFINED __attribute__((no_sanitize("undefined"))) #elif defined(__GNUC__) @@ -2032,7 +2038,7 @@ SIMDJSON_DISABLE_UNDESIRED_WARNINGS #define SIMDJSON_SIMDJSON_VERSION_H /** The version of simdjson being used (major.minor.revision) */ -#define SIMDJSON_VERSION 0.4.1 +#define SIMDJSON_VERSION 0.4.2 namespace simdjson { enum { @@ -2047,7 +2053,7 @@ enum { /** * The revision (major.minor.REVISION) of simdjson being used. */ - SIMDJSON_VERSION_REVISION = 1 + SIMDJSON_VERSION_REVISION = 2 }; } // namespace simdjson