Commit Graph

109 Commits

Author SHA1 Message Date
b31eb23f83 Release 1.0.14. 2018-04-01 14:51:12 +03:00
0787743754 Release 1.0.13. 2018-02-17 18:33:06 +03:00
f7fe954eb3 configure.ac: more cleanups 2018-01-18 10:00:09 +03:00
d1ddc523a8 configure:ac: cleanup obsolete/unnecessary options and compiler flags. 2018-01-17 19:17:05 +03:00
07e02e988b Release 1.0.12. 2018-01-17 13:23:59 +03:00
1927dd319e Define compatibility m4 macros early to fix CentOS 6 builds. 2018-01-14 14:46:45 +03:00
7ee5776eff Remove build dependency on xxd/vim-common. 2018-01-06 11:11:53 +03:00
6a8770c4b5 Release 1.0.11. 2017-12-09 20:05:59 +03:00
c1c0df8d63 Release 1.0.10. 2017-10-26 16:34:28 +03:00
cd13882cb6 Fix #172: sysbench 1.0.9 doesn't build with mariadb 10.2.8
Add a configure check for <server/mysql_version.h> which appears to be
the most portable way to fix MariaDB builds (see MDEV-13773).
2017-09-17 22:23:30 +03:00
78192201c9 Release 1.0.9. 2017-09-05 20:26:28 +03:00
69214e2d4b Release 1.0.8. 2017-07-04 21:55:46 +03:00
e4a08be147 Release 1.0.7. 2017-05-15 17:09:33 +03:00
538521184a Compatibility fix for MySQL 8.0 client libraries.
The type of MYSQL_BIND::is_null has been changed from my_bool* to bool*
in MySQL 8.0. Since the size bool is not defined by the standard, we
either need to change the DB and Lua APIs to ensure is_null points to a
large enough buffer for MySQL API to store a bool, or do conversions
between sysbench and MySQL data structures. For now, just assert that
sizeof(bool) == 1, which is likely the case on all supported platforms.
2017-05-15 14:17:21 +03:00
ac3b64bc34 Bump version to 1.0.6. 2017-04-13 23:38:56 +03:00
926a36a6d0 Release 1.0.5. 2017-04-02 14:43:12 +03:00
7777ff5d85 Fix #121: make buildhost cpudetection optional
Don't fail with an error when --without-gcc-arch is specified, or CPU
autodetection fails.
2017-03-14 20:39:36 +03:00
75ad51a2b1 Release 1.0.4. 2017-03-13 15:05:12 +03:00
df9217e43a Do not auto-detect -march if already specified in CFLAGS by the user. 2017-03-13 12:07:26 +03:00
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