aboutsummaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-benchmark/lmbench/lmbench_3.0-a9.bb
AgeCommit message (Collapse)Author
2017-07-24lmbench: Fix build with muslKhem Raj
Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-07-01lmbench: Fix build with hardening flagsKhem Raj
Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-10-03Remove bashismsHe Zhe
Signed-off-by: He Zhe <zhe.he@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-05-10lmbench: avoid gcc optimize-away multiplicationRoy Li
Change expression used in do_integer_mul and do_uint64_mul benchmarks so GCC doesn't optimize-away the loops, Signed-off-by: Roy Li <rongqing.li@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-04-28meta-oe: use bb.utils.contains() instead of base_contains()Ross Burton
base_contains() is a compatibility wrapper and may warn in the future, so replace all instances with bb.utils.contains(). Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-08-28lmbench: add lmbench-exception LICENSEYasir Khan
Signed-off-by: Christopher Larson <chris_larson@mentor.com> Signed-off-by: Yasir-Khan <yasir_khan@mentor.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-08-23lmbench: remove debianutils from RDEPENDS and add perlJackie Huang
- I don't see any evdidence that lmbench needs debianutils to run: debianutils provides: run-parts, tempfile, savelog, which, ischroot, add-shell, installkernel, remove-shell but none of them is used by lmbench scripts and I tested it work fine without debianutils, so remove debianutils from RDEPENDS - Some scripts in lmbench are perl scripts, so add RDEPENDS on perl (no addtional perl module is needed). Signed-off-by: Jackie Huang <jackie.huang@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-08-23lmbench: use BPN instead of PNJackie Huang
Use BPN instead of PN to fix the dirs in scripts when build with multilib. Signed-off-by: Jackie Huang <jackie.huang@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-08-21lmbench: fix doc install failureJackie Huang
Fix the failure: cp: cannot create regular file `/usr/share/man/man1/bargraph.1': Permission denied mkdir: cannot create directory `/usr/share/man/man9': Permission denied Signed-off-by: Jackie Huang <jackie.huang@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-08-21lmbench: fix lmbench memory check failureJackie Huang
lmbench can't proceed on some targets. The memory check fails because the memory latency of each page is longer then 10us, which is a time limit set in the original memsize.c. The memory latency is very different on different targets due to the hardware and current system load. The targets with slower memory chips or heavy system load need much longer time to read or write the memory. This fix changes the fixed time limit of 10us to a specific value calculated from the runtime target. Also set an upper limit of memory size used for lmbench testing. The memory check sometimes fails if the target has a large amount of memory, for example more than 4G. Signed-off-by: Qingming Su <qingming.su@windriver.com> Signed-off-by: Fupan Li <fupan.li@windriver.com> Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Jackie Huang <jackie.huang@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-08-21lmbench: Fix "make html" graph failureJackie Huang
The html-list perl script cannot parse the first line of the result files about the lmbench version. Additional fixes are to make the result's html pages easier to understand. Signed-off-by: Lin Yu <lin.yu@windriver.com> Signed-off-by: Fupan Li <fupan.li@windriver.com> Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Jackie Huang <jackie.huang@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-05-03bonnie++, lmbench, obex-data-server, samba, sg3-utils: Do not do out-of-tree ↵Khem Raj
builds These recipes are not ready yet Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-02-23recipes: convert remaining SUMMARY/DESCRIPTION cosmetic issuesMatthieu CRAPET
Changes: - rename SUMMARY with length > 80 to DESCRIPTION - rename DESCRIPTION with length < 80 to (non present tag) SUMMARY - drop final point character at the end of SUMMARY string - remove trailing whitespace of SUMMARY line Note: don't bump PR Signed-off-by: Matthieu Crapet <Matthieu.Crapet@ingenico.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-01-22lmbench: use base_libdir instead of hardcoded /libTing Liu
Fix the below QA warning when building 64bit target: | WARNING: QA Issue: lmbench: Files/directories were installed but not | shipped | /usr/lib | /usr/lib/libmbench.a Signed-off-by: Ting Liu <b28495@freescale.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-12-05lmbench: fix the CONFIG path in lmbench-runChristopher Larson
The 'config' script which gets run returns '../scripts/CONFIG.<machine>', so the current value was '${datadir}/lmbench/../scripts/CONFIG.<machine>', which is obviously not ideal. Remove the $SHAREDIR prefix, as the relative path will work from the scripts dir where lmbench-run runs. With this, we can install a custom CONFIG.qemux86 into ${datadir}/lmbench/scripts/, for example. Signed-off-by: Christopher Larson <kergoth@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-09-10lmbench: specify configuration for systemd-tmpfiles --updateJonathan Liu
Running systemd-tmpfiles --update without specifying a configuration file results in all tmpfiles.d configuration files being processed. /usr/lib/tmpfiles.d/systemd.conf creates /run/nologin on boot to prevent non-root users from logging in while the system is booting. If systemd-tmpfiles --update is run after the system has started, it will still create /run/nologin which would prevent non-root users from logging in with the message "System is booting up.". Signed-off-by: Jonathan Liu <net147@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-07-08lmbench: remove /run/lmbench from packageOtavio Salvador
Create /run/lmbench on startup using populate-volatiles.sh and tmpfiles.d for systemd. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-04-15recipes: Unify indentationMartin Jansa
* This change is only aesthetic (unlike indentation in Python tasks). * Some recipes were using tabs. * Some were using 8 spaces. * Some were using mix or different number of spaces. * Make them consistently use 4 spaces everywhere. * Yocto styleguide advises to use tabs (but the only reason to keep tabs is the need to update a lot of recipes). Lately this advice was also merged into the styleguide on the OE wiki. * Using 4 spaces in both types of tasks is better because it's less error prone when someone is not sure if e.g. do_generate_toolchain_file() is Python or shell task and also allows to highlight every tab used in .bb, .inc, .bbappend, .bbclass as potentially bad (shouldn't be used for indenting of multiline variable assignments and cannot be used for Python tasks). * Don't indent closing quote on multiline variables we're quite inconsistent wheater it's first character on line under opening quote or under first non-whitespace character in previous line. Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Acked-by: Koen Kooi <koen@dominion.thruhere.net>
2013-03-02lmbench: update config scriptChunrong Guo
*fix bug that can not find CONFIG file |error: run ./results|./results: line 15: .: CONFIG.p2041rdb: file not found * update CONFIG file path Signed-off-by: Chunrong Guo <B40290@freescale.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-03-02lmbench: use spaces for indentationMartin Jansa
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2012-12-11lmbench: fix unpackaged filesMartin Jansa
* fixes: lmbench-3.0-a9: lmbench: Files/directories were installed but not shipped /usr/man /usr/lib/lmbench Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2011-09-01lmbench: Add version 3.0-a9 (initial recipe)Noor Ahsan
* Imported from oe.dev commit id bac6441118e0b78d55c98afdc108f03b6c655909. Signed-off-by: Noor Ahsan <noor_ahsan@mentor.com> Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>