Commit Graph

90 Commits

Author SHA1 Message Date
ca0cdffdda Release 1.0.3. 2017-02-26 13:12:24 +03:00
ffcc8084f2 Release 1.0.2. 2017-02-17 12:41:27 +03:00
7fe53e4ffb Convert snapcraft.yaml to snapcraft.yaml.in to update version automatically. 2017-02-07 20:40:21 +03:00
76aa8fd3cb Bump version number to 1.0.1. 2017-02-06 00:07:31 +01:00
481a9fa34a Fixes #105: 1.0.0 clock_gettime runtime failure built with macOS 10.11 and Xcode 8.x
XCode 8 SDK declares clock_gettime() but macOS 10.11 and earlier do not
actually implement it. So just checking for a clock_gettime()
declaration in configure is insufficient.

Instead, do AC_SEARCH_LIBS first to check if -lrt is required, then use
AC_CHECK_FUNCS to check for clock_gettime() availability.
2017-02-05 10:31:41 +01:00
12b3405c6a Move to semantic versioning scheme, set version to 1.0.0. 2017-02-02 01:39:33 +03:00
253dcc4c27 Remove unused function checks from configure.ac. 2017-01-27 19:00:56 +03:00
06d4f99cb6 Rename the 'sysbench' subdirectory to 'src'. 2017-01-27 09:39:28 +03:00
9d73ed0865 Allow Lua scripts to declare supported options.
Lua scripts can now declare their supported options, in which case
sysbench validates command line arguments and display usage
information.

This is a prerequisite for fixing #15 and #79.
2017-01-26 04:23:55 +03:00
a4218987cb Fix help_drv_*.t tests broken by the command line syntax change. 2017-01-25 16:23:38 +03:00
45e219d038 Change the command line syntax: remove the --test option. 2017-01-25 00:02:59 +03:00
e53815173d Simplify ugly require/dofile constructs in OLTP scripts. 2017-01-23 20:58:51 +03:00
ae2d772ff2 Remove stubs for old Lua scripts. 2017-01-16 16:08:08 +03:00
a4ca87f64d Add MemorySanitizer support to configure.ac. Use it in Travis CI when supported. 2017-01-16 10:46:09 +03:00
372bc69792 Check if ASAN is supported by the compiler. 2017-01-16 10:18:47 +03:00
d019abd180 Fix ASAN support in configure.ac. 2017-01-16 09:47:31 +03:00
52e075cb0c Add AddressSanitizer support. Enable it by default in Travis CI builds. 2017-01-16 09:34:13 +03:00
60778578f8 Fixes #101: Obscure ./configure error when pkg-config is not installed
Produce a more meaningful error message at autoconf time when pkg-config
is not installed on the host system.
2017-01-16 08:41:48 +03:00
1d434809ec SQL API refactoring, cut #1. 2017-01-14 01:29:57 +03:00
c22f35f8ae Fix AC_MSG_ERROR() usage. 2017-01-06 15:43:59 +03:00
e84cd1f89c Check for pkg-config availability in configure.ac. 2017-01-06 15:41:49 +03:00
e5a886d3f7 Enforce a C99 compiler. 2017-01-06 14:34:06 +03:00
6b3077f446 Fixes #27: Provide portable reentrant PRNG
Replaced system-provided PRNG with xoroshiro128+. Minor cleanups in
random numbers API.
2017-01-03 21:00:45 +03:00
821be2a7c4 Timers overhaul. 2017-01-02 14:57:55 +03:00
5c45389d60 Replace custom check for Sun compiler with AX_COMPILER_VENDOR. 2016-12-30 09:58:16 +03:00
cf2ce71141 Autodetect the most optimal -march GCC flag for the target architecture.
Use ax_gcc_archflag.m4 to try to guess the most optimal -march value for
the target architecture, unless cross-compiling, or the value is set
explicitly with --with-gcc-arch.

Also, AArch64/ThunderX-specific updates to ax_gcc_archflag.m4.

In sb_concurrency_kit.m4, add --enable-lse to CK build flags if LSE
instructions are supported by the target.
2016-12-30 09:53:56 +03:00
ec2274bf2f Merge branch 'luajit' into concurrency_kit 2016-12-23 17:18:20 +08:00
e398721314 Merge branch '1.0' into luajit 2016-12-18 21:20:32 +08:00
482136beb5 Lua implementation of the main event loop.
For Lua scripts the main event loop is now implemented in Lua
itself. This is a prerequisite for leveraging LuaJIT optimizations.
2016-12-12 22:48:11 +03:00
dc8f6dcf57 Pass global CC, CFLAGS and LDFLAGS to ConcurrencyKit build system.
This allows higher optimization levels in optimized builds and
gcov-enabled CK libraries in --enable-coverage builds.
2016-12-12 17:30:21 +03:00
7ba50048a8 Fix AC_SUBST() usage for USE_MYSQL. 2016-12-12 16:01:07 +03:00
18b7e914a6 Various test-related fixes.
1. Fix drivers.t so it passes when no DB drivers are available.
2. Make it possible for the test suite to detect if certain DB drivers
are available, so individual tests that require them can be skipped.
2016-12-05 13:25:39 +03:00
aade88ed5e Merge branch '1.0' into concurrency_kit 2016-12-05 12:22:21 +03:00
d49c854e52 Suppress "zero-length gnu_printf format string" warnings from GCC. 2016-12-02 18:34:20 +03:00
65c083a6ba Report Git commit SHA in configure and "sysbench --version" output. 2016-10-16 22:57:37 +03:00
6bf78c6132 Initial Concurrency Kit import. 2016-10-16 22:57:37 +03:00
446bc75843 Merge branch '1.0' into luajit 2016-10-15 14:10:57 +03:00
bd237c73bf Fix Sun Studio + Solaris/Sparc builds. 2016-10-14 08:05:34 +03:00
ff5cc25e1b Manually merge branch '1.0' into luajit. 2016-10-09 17:56:05 +02:00
fc37905725 simple build instructions to include oracle client, Also minor change to look at correct folder structure of 12.1 oracle client. 2016-09-26 11:53:01 +01:00
dbca1c60d4 Add coveralls.io integration. 2016-09-05 15:51:34 +03:00
cc8d5a9eec Merge branch '0.5' into 1.0 2016-09-05 10:40:34 +03:00
8fc9357cf0 Add version.t test + some necessary test harness improvements. 2016-09-05 10:39:47 +03:00
1868e1c779 Merge branch '0.5' into 1.0 2016-09-04 20:31:50 +03:00
6d5bba1fe6 Basic support for functional/regression testing. 2016-09-04 20:24:07 +03:00
db9df06050 Add __attribute__((format...)) to printf-like function declarations.
The SB_ATTRIBUTE_FORMAT() now expands to __attribute__((format...) on
platforms that support it. Fixed a number of inconsistencies between
format string and arguments revealed by the format attribute.
2016-03-26 22:43:48 +03:00
684c433a6e configure.ac: bump version number to 1.0
The version number in configure.ac should match the branch.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
2016-03-23 12:09:02 +01:00
a30703fd4c Change project info reported by ./configure. 2016-03-22 19:04:04 +03:00
8745806da6 Print a status summary at the end of ./configure output. 2016-03-22 19:03:16 +03:00
4b6c388a4d Autoconf cleanups. 2016-03-20 14:18:15 +03:00