File tree Expand file tree Collapse file tree 7 files changed +23
-13
lines changed
Expand file tree Collapse file tree 7 files changed +23
-13
lines changed Original file line number Diff line number Diff line change @@ -121,7 +121,7 @@ jobs:
121121 justlib-gcc10 :
122122 description : Build just the library, install it and do a basic test
123123 executor : gcc10
124- environment : { CMAKE_FLAGS: -SIMDJSON_JUST_LIBRARY =ON }
124+ environment : { CMAKE_FLAGS: -DSIMDJSON_JUST_LIBRARY =ON }
125125 steps : [ cmake_build, cmake_install_test ]
126126 gcc10 :
127127 description : Build and run tests on GCC 10 and AVX 2 with a cmake static build, this test performance regression
Original file line number Diff line number Diff line change @@ -7,11 +7,15 @@ project(simdjson
77
88set (PROJECT_VERSION_MAJOR 0)
99set (PROJECT_VERSION_MINOR 4)
10- set (PROJECT_VERSION_PATCH 1 )
11- set (SIMDJSON_LIB_VERSION "0.4.1 " CACHE STRING "simdjson library version" )
10+ set (PROJECT_VERSION_PATCH 2 )
11+ set (SIMDJSON_LIB_VERSION "0.4.2 " CACHE STRING "simdjson library version" )
1212set (SIMDJSON_LIB_SOVERSION "2" CACHE STRING "simdjson library soversion" )
1313set (SIMDJSON_GITHUB_REPOSITORY https://github.com/simdjson/simdjson)
1414
15+ # The SIMDJSON_LIB_SOVERSION is 0 for versions before 0.3.0.
16+ # The SIMDJSON_LIB_SOVERSION is 1 for version 0.3.
17+ # The SIMDJSON_LIB_SOVERSION is 2 for version 0.4.
18+
1519include (GNUInstallDirs )
1620include (cmake/simdjson-flags.cmake )
1721include (cmake/simdjson-user-cmakecache.cmake )
@@ -43,8 +47,8 @@ add_subdirectory(windows)
4347if (NOT (SIMDJSON_JUST_LIBRARY))
4448 add_subdirectory (dependencies ) ## This needs to be before tools because of cxxopts
4549 add_subdirectory (tools ) ## This needs to be before tests because of cxxopts
46- add_subdirectory (singleheader )
4750endif ()
51+ add_subdirectory (singleheader )
4852
4953#
5054# Compile tools / tests / benchmarks
Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ PROJECT_NAME = simdjson
3838# could be handy for archiving the generated documentation or if some version
3939# control system is used.
4040
41- PROJECT_NUMBER = "0.4.1 "
41+ PROJECT_NUMBER = "0.4.2 "
4242
4343# Using the PROJECT_BRIEF tag one can provide an optional one line description
4444# for a project that appears at the top of each page and should give viewer a
Original file line number Diff line number Diff line change 44#define SIMDJSON_SIMDJSON_VERSION_H
55
66/* * The version of simdjson being used (major.minor.revision) */
7- #define SIMDJSON_VERSION 0.4.1
7+ #define SIMDJSON_VERSION 0.4.2
88
99namespace simdjson {
1010enum {
1919 /* *
2020 * The revision (major.minor.REVISION) of simdjson being used.
2121 */
22- SIMDJSON_VERSION_REVISION = 1
22+ SIMDJSON_VERSION_REVISION = 2
2323};
2424} // namespace simdjson
2525
Original file line number Diff line number Diff line change 1- /* auto-generated on Fri 26 Jun 2020 20:03 :28 EDT. Do not edit! */
1+ /* auto-generated on Sun 28 Jun 2020 12:39 :28 EDT. Do not edit! */
22
33#include < iostream>
44#include " simdjson.h"
Original file line number Diff line number Diff line change 1- /* auto-generated on Fri 26 Jun 2020 20:03 :28 EDT. Do not edit! */
1+ /* auto-generated on Sun 28 Jun 2020 12:39 :28 EDT. Do not edit! */
22/* begin file src/simdjson.cpp */
33#include "simdjson.h"
44
Original file line number Diff line number Diff line change 1- /* auto-generated on Fri 26 Jun 2020 20:03 :28 EDT. Do not edit! */
1+ /* auto-generated on Sun 28 Jun 2020 12:39 :28 EDT. Do not edit! */
22/* begin file include/simdjson.h */
33#ifndef SIMDJSON_H
44#define SIMDJSON_H
@@ -190,7 +190,6 @@ use a 64-bit target such as x64 or 64-bit ARM.")
190190#endif
191191#endif
192192
193-
194193// workaround for large stack sizes under -O0.
195194// https://github.com/simdjson/simdjson/issues/691
196195#ifdef __APPLE__
@@ -204,6 +203,13 @@ use a 64-bit target such as x64 or 64-bit ARM.")
204203#endif
205204#endif
206205
206+
207+ #if SIMDJSON_DO_NOT_USE_THREADS_NO_MATTER_WHAT
208+ // No matter what happened, we undefine SIMDJSON_THREADS_ENABLED and so disable threads.
209+ #undef SIMDJSON_THREADS_ENABLED
210+ #endif
211+
212+
207213#if defined(__clang__)
208214#define NO_SANITIZE_UNDEFINED __attribute__((no_sanitize(" undefined" )))
209215#elif defined(__GNUC__)
@@ -2032,7 +2038,7 @@ SIMDJSON_DISABLE_UNDESIRED_WARNINGS
20322038#define SIMDJSON_SIMDJSON_VERSION_H
20332039
20342040/** The version of simdjson being used (major.minor.revision) */
2035- #define SIMDJSON_VERSION 0.4.1
2041+ #define SIMDJSON_VERSION 0.4.2
20362042
20372043namespace simdjson {
20382044enum {
@@ -2047,7 +2053,7 @@ enum {
20472053 /**
20482054 * The revision (major.minor.REVISION) of simdjson being used.
20492055 */
2050- SIMDJSON_VERSION_REVISION = 1
2056+ SIMDJSON_VERSION_REVISION = 2
20512057};
20522058} // namespace simdjson
20532059
You can’t perform that action at this time.
0 commit comments