Commit Graph

909 Commits

Author SHA1 Message Date
0f3823b3dd Fix a heading format in README.md. 2017-04-09 16:01:07 +03:00
2c963ea204 Add Windows installation instructions to README.md. 2017-04-09 15:58:27 +03:00
9e41f5fd5f Add macOS installation instructions to README.md. 2017-04-09 15:55:11 +03:00
30abfe138e Add instructions on binary package installation to README.md. 2017-04-09 15:47:22 +03:00
97f41009fb Fix .travis.yml syntax. 2017-04-09 08:04:20 +03:00
5a012f528d Upload release builds to 'sysbench' repo, other ones to 'sysbench-prereleases'. 2017-04-09 07:50:03 +03:00
d0bb5e14b4 Remove Debian Stretch from build matrix. 2017-04-08 11:03:58 +03:00
2d8764e2b3 More EL6-specific compatibility fixes in RPM spec. 2017-04-08 11:03:19 +03:00
e5d5a67917 Workaround for %make_build not being available on EL6. 2017-04-08 10:22:22 +03:00
1a16fb87ca Use my packpack fork as a temporary workaround Fedora 24 build failures. 2017-04-07 20:42:56 +03:00
ffab5bd52a Use bundled cram on RPM-based distros due to cram not being available on EL6. 2017-04-07 20:16:54 +03:00
736a6f5a71 Fix sysbench.spec for non-EL6 systems. 2017-04-07 19:52:32 +03:00
38daa7d987 Update .travis.yml to release to PackageCloud from all branches. 2017-04-07 19:07:02 +03:00
9bd7947f15 Use mysql-devel instead of mariadb-devel on Enterprise Linux 6. 2017-04-07 19:06:39 +03:00
437fd63dde Fix 'make distcheck' in .travis.yml. 2017-04-07 18:43:43 +03:00
d38f8174fd More syntax fixes in .travis.yml. 2017-04-07 17:30:27 +03:00
c164223df9 Yet another attempt to fix .travis.yml. 2017-04-07 17:13:41 +03:00
b4b2003eb1 Merge services in .travis.yml. 2017-04-07 16:51:38 +03:00
da7996b4c5 Fix syntax errors in .travis.yml. 2017-04-07 16:40:52 +03:00
fd83bd1623 Update .travis.yml to do distcheck and coverage targets only on Linux/GCC. 2017-04-07 16:33:19 +03:00
bf5f9746ea Add "dist: trusty" back to .travis.yml 2017-04-07 16:28:21 +03:00
ffafb48860 Add packpack / PackageCloud support to .travis.yml. 2017-04-07 16:25:30 +03:00
3a808d870c Add RPM spec based on downstream Fedora packages. 2017-04-07 13:41:18 +03:00
ae6f5e34de Fix clean target in debian/rules. 2017-04-07 13:38:27 +03:00
d7e06d4e7f Fix dependency names in documented build requirements for RedHat/CentOS. 2017-04-06 14:27:26 +03:00
4762ca56de Fix 'make distcheck'. 2017-04-06 11:24:16 +03:00
e2cf43736a Debian-related packaging fixes. 2017-04-06 10:37:17 +03:00
5ec3df7695 Add libaio-dev to documented build dependencies. 2017-04-04 14:34:39 +03:00
926a36a6d0 Release 1.0.5. 2017-04-02 14:43:12 +03:00
b8945d5367 Merge akopytov/LuaJIT up to commit a0b15c7.
This is to cherry-pick the following commit from the Tarantool LuaJIT branch:

commit 0615898d294847677ce8c652f3a67956a48e0ee1
Author: Nick Zavaritsky <mejedi@gmail.com>
Date:   Thu Jul 28 14:24:58 2016 +0300

    Automatically try *.so if *.dylib is missing (osx).
2017-04-02 14:36:03 +03:00
e60ea86b69 Fix api_basic.t. 2017-04-02 11:29:29 +03:00
480c34c33b Report errors thrown by the script properly with the 'sysbench modulename' syntax. 2017-04-02 10:42:01 +03:00
3a217b2826 Fix broken Windows section formatting. 2017-04-01 17:22:41 +03:00
126cd10486 Improve formatting. 2017-04-01 17:21:55 +03:00
19f2dc73e2 Fix #114: building sysbench on Windows
Document the current Windows (non)support status and WSL as a
recommended way to build on Windows 10.
2017-04-01 17:17:04 +03:00
84bec5e223 Improved structure + shell decorates in build instructions. 2017-04-01 16:57:51 +03:00
e1cd610c0c Fix #102: Document build requirements
Document build requirements for Debian/Ubuntu, RedHat/CentOS and macOS.
2017-04-01 16:49:27 +03:00
fb7e62db24 Allow benchmarks to be specified as a module name, i.e. a require() argument. 2017-03-31 13:52:55 +03:00
1fc8326c0d Prevent compiler from optimizing memory loads/stores in the memory benchmark. 2017-03-29 23:33:58 +03:00
a0658f09ce Memory benchmark optimizations.
Optimize the memory benchmark:
- get rid of the global mutex to calculate statistics
- remove if() and switch() branches on critical code paths
- align memory blocks to OS page size
- use native machine word size instead of 'int'
2017-03-29 21:02:07 +03:00
d514625849 Override the default time limit in test_memory.t to improve stability. 2017-03-29 16:43:35 +03:00
7fcbf2e025 Fix system ConcurrencyKit builds on ARMv6.
The problem reported for i686 in #118 also affects ARMv6. Fixed by
allowing workarounds in sb_ck_pr.h to work on architectures other than
i686.
2017-03-29 14:14:19 +03:00
154335edf6 Rename sb_option_copy() to sb_opt_copy() for consistency with other functions. 2017-03-17 11:57:39 +03:00
03c7eb5c29 Fix #123: Table already exists error on prepare
When the deprecated --num-threads option was used in OLTP prepare, the
sysbench.opt.threads variable exported to Lua scripts contained the
default value of 1, even though the actual number of threads created by
sysbench was higher. Which led to unexpected fireworks.

Now the deprecated options override the correspond sysbench.opt.*
variables when used.
2017-03-17 11:53:04 +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
d2bc5d50f8 Fix warning in 32-bit builds. 2017-03-13 14:38:25 +03:00
05f2a8e87b Fix #118: Build fails on i686 when using system ck
Provide compatibility wrappers for system (i.e. distribution-provided)
ConcurrencyKit on i386. Unlike bundled ConcurrencyKit, older versions
that may be provided by distributions do not support CK_USE_CC_BUILTINS,
which makes implementing 64-bit atomics impossible on x86 (32-bit).

Detect if 64-bit atomics are not provided at compile stage and if so,
resort to GCC builtin implementations.
2017-03-13 14:38:19 +03:00
df9217e43a Do not auto-detect -march if already specified in CFLAGS by the user. 2017-03-13 12:07:26 +03:00
956d12996e Fix "PYTHONPATH: unbound variable" error in test_run.sh. 2017-03-12 12:03:21 +03:00