File tree 7 files changed +23
-13
lines changed
7 files changed +23
-13
lines changed Original file line number Diff line number Diff line change @@ -121,7 +121,7 @@ jobs:
121
121
justlib-gcc10 :
122
122
description : Build just the library, install it and do a basic test
123
123
executor : gcc10
124
- environment : { CMAKE_FLAGS: -SIMDJSON_JUST_LIBRARY =ON }
124
+ environment : { CMAKE_FLAGS: -DSIMDJSON_JUST_LIBRARY =ON }
125
125
steps : [ cmake_build, cmake_install_test ]
126
126
gcc10 :
127
127
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
7
7
8
8
set (PROJECT_VERSION_MAJOR 0)
9
9
set (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" )
12
12
set (SIMDJSON_LIB_SOVERSION "2" CACHE STRING "simdjson library soversion" )
13
13
set (SIMDJSON_GITHUB_REPOSITORY https://github.com/simdjson/simdjson)
14
14
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
+
15
19
include (GNUInstallDirs)
16
20
include (cmake/simdjson-flags .cmake)
17
21
include (cmake/simdjson-user-cmakecache.cmake)
@@ -43,8 +47,8 @@ add_subdirectory(windows)
43
47
if (NOT (SIMDJSON_JUST_LIBRARY))
44
48
add_subdirectory (dependencies) ## This needs to be before tools because of cxxopts
45
49
add_subdirectory (tools) ## This needs to be before tests because of cxxopts
46
- add_subdirectory (singleheader)
47
50
endif ()
51
+ add_subdirectory (singleheader)
48
52
49
53
#
50
54
# Compile tools / tests / benchmarks
Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ PROJECT_NAME = simdjson
38
38
# could be handy for archiving the generated documentation or if some version
39
39
# control system is used.
40
40
41
- PROJECT_NUMBER = "0.4.1 "
41
+ PROJECT_NUMBER = "0.4.2 "
42
42
43
43
# Using the PROJECT_BRIEF tag one can provide an optional one line description
44
44
# 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 4
4
#define SIMDJSON_SIMDJSON_VERSION_H
5
5
6
6
/* * The version of simdjson being used (major.minor.revision) */
7
- #define SIMDJSON_VERSION 0.4.1
7
+ #define SIMDJSON_VERSION 0.4.2
8
8
9
9
namespace simdjson {
10
10
enum {
19
19
/* *
20
20
* The revision (major.minor.REVISION) of simdjson being used.
21
21
*/
22
- SIMDJSON_VERSION_REVISION = 1
22
+ SIMDJSON_VERSION_REVISION = 2
23
23
};
24
24
} // namespace simdjson
25
25
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! */
2
2
3
3
#include < iostream>
4
4
#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! */
2
2
/* begin file src/simdjson.cpp */
3
3
#include "simdjson.h"
4
4
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! */
2
2
/* begin file include/simdjson.h */
3
3
#ifndef SIMDJSON_H
4
4
#define SIMDJSON_H
@@ -190,7 +190,6 @@ use a 64-bit target such as x64 or 64-bit ARM.")
190
190
#endif
191
191
#endif
192
192
193
-
194
193
// workaround for large stack sizes under -O0.
195
194
// https://github.com/simdjson/simdjson/issues/691
196
195
#ifdef __APPLE__
@@ -204,6 +203,13 @@ use a 64-bit target such as x64 or 64-bit ARM.")
204
203
#endif
205
204
#endif
206
205
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
+
207
213
#if defined(__clang__)
208
214
#define NO_SANITIZE_UNDEFINED __attribute__((no_sanitize(" undefined" )))
209
215
#elif defined(__GNUC__)
@@ -2032,7 +2038,7 @@ SIMDJSON_DISABLE_UNDESIRED_WARNINGS
2032
2038
#define SIMDJSON_SIMDJSON_VERSION_H
2033
2039
2034
2040
/** The version of simdjson being used (major.minor.revision) */
2035
- #define SIMDJSON_VERSION 0.4.1
2041
+ #define SIMDJSON_VERSION 0.4.2
2036
2042
2037
2043
namespace simdjson {
2038
2044
enum {
@@ -2047,7 +2053,7 @@ enum {
2047
2053
/**
2048
2054
* The revision (major.minor.REVISION) of simdjson being used.
2049
2055
*/
2050
- SIMDJSON_VERSION_REVISION = 1
2056
+ SIMDJSON_VERSION_REVISION = 2
2051
2057
};
2052
2058
} // namespace simdjson
2053
2059
You can’t perform that action at this time.
0 commit comments