summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-benchmark/sysbench
Commit message (Collapse)AuthorAgeFilesLines
* meta-openembedded/all: adapt to UNPACKDIR changesAlexander Kanavin2025-06-251-1/+0
| | | | | | | | | | | | | Please see https://git.yoctoproject.org/poky/commit/?id=4dd321f8b83afecd962393101b2a6861275b5265 for what changes are needed, and sed commands that can be used to make them en masse. I've verified that bitbake -c patch world works with these, but did not run a world build; the majority of recipes shouldn't need further fixups, but if there are some that still fall out, they can be fixed in followups. Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* sysbench: avoid -L/usr/lib32 and configure-unsafe QA issueMartin Jansa2023-08-301-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * when libdir isn't /usr/lib (e.g. /usr/lib32 with multilib), then m4/lib-prefix.m4 can add additional_libdir=\"$libdir\": dnl Potentially add $additional_libdir to $LDFLAGS. dnl But don't add it dnl 1. if it's the standard /usr/lib, dnl 2. if it's already present in $LDFLAGS, dnl 3. if it's /usr/local/lib and we are using GCC on Linux, dnl 4. if it doesn't exist as a directory. if test "X$additional_libdir" != "X/usr/$acl_libdirstem"; then this doesn't happen in regular builds because of condion 1. above * fixes: ERROR: QA Issue: This autoconf log indicates errors, it looked at host include and/or library paths while determining system capabilities. Rerun configure task after fixing this. [configure-unsafe] * drop libaio from DEPENDS as it's added by PACKAGECONFIG when enabled * I've also tried to drop brokensep as it was added in: https://git.openembedded.org/meta-openembedded/commit/?id=bb31da87599853b2e5d4d4adc641a93edb22cd16 https://github.com/openembedded/meta-openembedded/pull/632/commits/d2265dbacdb9e7bd7d6e4a9f1a2b3cc1633fb328 without any explation why brokensep was needed for 1.0.20 (while it wasn't used in 0.4.12 version) and it looks like luajit detection fails without broken sep and build with internal luajit then fails with: ./lua/internal/sysbench.lua.h:1:17: error: expected '=', ',', ';', 'asm' or '__attribute__' before '/' token 1 | unsigned char __/__/__/__/git/src/lua/internal/sysbench_lua[] = | ^ but I'll leave this to someone actually using sysbench Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* sysbench: Enable only on architectures supporting LuaJITKhem Raj2023-01-081-1/+1
| | | | | | LuaJIT is a hard dependency for newer sysbench Signed-off-by: Khem Raj <raj.khem@gmail.com>
* sysbench: Upgrade 0.4.12 -> 1.0.20Peter Bergin2023-01-082-48/+10
| | | | | | | Use system cuncurrencykit and enable riscv Signed-off-by: Peter Bergin <peter@berginkonsult.se> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* sysbench: Always enable largefile supportKhem Raj2022-08-131-2/+2
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* recipes: Update LICENSE variable to use SPDX license identifiersKhem Raj2022-03-041-1/+1
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* Convert to new override syntaxMartin Jansa2021-08-031-1/+1
| | | | | | | | | | This is the result of automated script (0.9.1) conversion: oe-core/scripts/contrib/convert-overrides.py . converting the metadata to use ":" as the override character instead of "_". Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* sysbench: fix memory testmassimo toscanelli2021-07-132-1/+43
| | | | | | | | | | | | | | | | | In sysbench version 0.4, the tmp variable used by the memory test to execute requests is optimized by the compiler. Caching mechanism reduces the direct accesses to the memory increasing the transfer speed. This leads to false timing estimations that considerably affect read and also random write operations. In sysbench version 1, this issue is fixed adding the volatile modifier to the tmp variable. This prevents compiler optimizations forcing a direct access to the memory. The final result is a realistic transfer speed measurement. Signed-off-by: massimo toscanelli <massimo.toscanelli@leica-geosystems.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* Make use of the new bb.utils.filter() functionPeter Kjellerstedt2017-03-071-1/+1
| | | | | Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* meta-oe: remove trailing spacesMartin Jansa2016-08-221-2/+2
| | | | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* sysbench: add new recipeNicolas Dechesne2016-07-291-0/+26
The project used to be hosted on Sourceforge, then Launchpad, and it moved to Github. The last stable release (0.4.12) cannot be found on Sourceforge anymore, and is not available (as tarball) on github. So using the tarball from Launchpad instead. We can move to github when the next release happens (which will be the first one from github). Tested with and without mysql, with and without aio. Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>