summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-benchmark/lmbench/lmbench_3.0-a9.bb
Commit message (Collapse)AuthorAgeFilesLines
* lmbench: fix usrmerge install pathMingli Yu2018-08-271-1/+2
| | | | | | | | | | | | | | | | | Rework the patch use-base_libdir-instead-of-hardcoded-lib.patch to 0001-src-Makefile-use-libdir-instead-of-hardcoded-lib.patch to fix the below do_install error when usrmerge enabled in DISTRO_FEATURES and also fix the lib name from lmbench.a to libmbench.a | if [ ! -d /poky-build/tmp-glibc/work/core2-64-wrs-linux/lmbench/3.0-a9-r2/image/usr/usr/lib64 ]; then mkdir /poky-build/tmp-glibc/work/core2-64-wrs-linux/lmbench/3.0-a9-r2/image/usr/usr/lib64; fi | mkdir: cannot create directory /poky-build/tmp-glibc/work/core2-64-wrs-linux/lmbench/3.0-a9-r2/image/usr/usr/lib64 No such file or directory | Makefile:141: recipe for target 'install-target' failed | make[1]: *** [install-target] Error 1 Signed-off-by: Mingli Yu <Mingli.Yu@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* lmbench: add UPSTREAM_CHECK_URIYi Zhao2018-05-291-0/+3
| | | | | Signed-off-by: Yi Zhao <yi.zhao@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* lmbench: Link with libtirpc on glibc as wellKhem Raj2018-05-171-3/+3
| | | | | | | glibc has dropped obsoleted rpc support Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Armin Kuster <akuster808@gmail.com>
* lmbench: Fix build with muslKhem Raj2017-07-241-1/+7
| | | | | Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* lmbench: Fix build with hardening flagsKhem Raj2017-07-011-1/+2
| | | | | Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* Remove bashismsHe Zhe2016-10-031-1/+3
| | | | | Signed-off-by: He Zhe <zhe.he@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* lmbench: avoid gcc optimize-away multiplicationRoy Li2016-05-101-0/+1
| | | | | | | | 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>
* meta-oe: use bb.utils.contains() instead of base_contains()Ross Burton2016-04-281-1/+1
| | | | | | | | 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>
* lmbench: add lmbench-exception LICENSEYasir Khan2014-08-281-1/+1
| | | | | | 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>
* lmbench: remove debianutils from RDEPENDS and add perlJackie Huang2014-08-231-1/+1
| | | | | | | | | | | | | | | - 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>
* lmbench: use BPN instead of PNJackie Huang2014-08-231-2/+2
| | | | | | | | 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>
* lmbench: fix doc install failureJackie Huang2014-08-211-1/+1
| | | | | | | | | 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>
* lmbench: fix lmbench memory check failureJackie Huang2014-08-211-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | 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>
* lmbench: Fix "make html" graph failureJackie Huang2014-08-211-2/+3
| | | | | | | | | | | | | 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>
* bonnie++, lmbench, obex-data-server, samba, sg3-utils: Do not do out-of-tree ↵Khem Raj2014-05-031-1/+1
| | | | | | | | | 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>
* recipes: convert remaining SUMMARY/DESCRIPTION cosmetic issuesMatthieu CRAPET2014-02-231-1/+1
| | | | | | | | | | | | | 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>
* lmbench: use base_libdir instead of hardcoded /libTing Liu2014-01-221-0/+1
| | | | | | | | | | | 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>
* lmbench: fix the CONFIG path in lmbench-runChristopher Larson2013-12-051-1/+1
| | | | | | | | | | | 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>
* lmbench: specify configuration for systemd-tmpfiles --updateJonathan Liu2013-09-101-1/+1
| | | | | | | | | | | | | | 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>
* lmbench: remove /run/lmbench from packageOtavio Salvador2013-07-081-1/+20
| | | | | | | | 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>
* recipes: Unify indentationMartin Jansa2013-04-151-21/+21
| | | | | | | | | | | | | | | | | | | | | | | | | * 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>
* lmbench: update config scriptChunrong Guo2013-03-021-1/+2
| | | | | | | | | *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>
* lmbench: use spaces for indentationMartin Jansa2013-03-021-7/+7
| | | | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* lmbench: fix unpackaged filesMartin Jansa2012-12-111-3/+4
| | | | | | | | | * 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>
* lmbench: Add version 3.0-a9 (initial recipe)Noor Ahsan2011-09-011-0/+54
* 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>