summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-benchmark
Commit message (Collapse)AuthorAgeFilesLines
* nbench-byte: Fix license QA errorOtavio Salvador2015-01-281-1/+1
| | | | | | | | | | | | | | | | | | | The license is not a common only and seems to be a 'free distribution' license but without explicit rules about modification or similar. Due that, we copied the license text from the README file and added it onto nbench-byte license file. This fixes following QA error: ,---- | WARNING: Recipe nbench-byte, LICENSE (freely distributable) has | invalid format, LICENSES must have operator "([&|() ])" between | them. `---- Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Armin Kuster <akuster808@gmail.com>
* iperf: fix out of tree configurationBelal, Awais2015-01-282-0/+53
| | | | | | | | | | | | | | The configure step uses a package header to check for support of types/declares, this package header encapsulates all the required system headers for providing the needed resources. When configured from an out of tree directory the package header is not found due to the hard path. We now make the path for package header relative to 'srcdir' so it is found appropriately. Signed-off-by: Awais Belal <awais_belal@mentor.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Armin Kuster <akuster808@gmail.com>
* libhugetlbfs: Fix page size & text offset for arm archesGary S. Robertson2014-12-263-33/+58
| | | | | | | | | | | | Fixed computation of page size and text segment offset for various arm architectures - including both LE and BE variants of armv7 as well as aarch64 Upstream Status: Accepted at libhugetlbfs project Signed-off-by: Gary S. Robertson <gary.robertson@linaro.org> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Armin Kuster <akuster808@gmail.com>
* libhugetlbfs: Make cross-devel recognize all ix86 archesGary S. Robertson2014-12-262-0/+33
| | | | | | | | | | | | In a non-native cross-development scenario, the Makefile only recognized i386 or x86_64 PC architectures. Extended this to also recognize i486, i586, and i686 Upstream Status: Accepted but not yet applied by libhugetlbfs project Signed-off-by: Gary S. Robertson <gary.robertson@linaro.org> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Armin Kuster <akuster808@gmail.com>
* libhugetlbfs: add bash and perl to RDEPENDSChong.Lu@windriver.com2014-10-301-1/+2
| | | | | | | | | | | | This solves the following warning: libhugetlbfs-2.18: libhugetlbfs-tests requires /bin/bash, but no providers in its RDEPENDS [file-rdeps] libhugetlbfs-2.18: libhugetlbfs requires /bin/bash, /usr/bin/perl, but no providers in its RDEPENDS [file-rdeps] Signed-off-by: Chong Lu <Chong.Lu@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* Phoronix Test Suite packageTodd E Brandt2014-09-261-0/+24
| | | | | | | | | | | | | | | | This is the package recipe for the phoronix test suite v5.2.1. The tool is for benchmarking and testing of the system. Signed-off-by: Todd Brandt <todd.e.brandt@linux.intel.com> ---- meta-oe/recipes-benchmark/phoronix-test-suite/phoronix-test-suite_5.2.1.bb | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) v2: changes based on Ross Burton's comments. However, I kept this line: S = "${WORKDIR}/phoronix-test-suite", since the tarball folder doesn't include the version number. v3: changed the license file locatoin and moved the RDEPENDS field down Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* bonnie: add perl to RDEPENDS_bonnie-scriptsRobert Yang2014-09-261-0/+2
| | | | | | | | Perl: bonnie-scripts/usr/bin/bon_csv2html:#!/usr/bin/perl bonnie-scripts/usr/bin/bon_csv2txt:#!/usr/bin/perl Signed-off-by: Robert Yang <liezhi.yang@windriver.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-212-0/+207
| | | | | | | | | | | | | | | | | | | | | | | | 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-212-2/+64
| | | | | | | | | | | | | 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>
* libhugetlbfs: Extend arm32 support to include BE variantsGary S. Robertson2014-08-153-30/+39
| | | | | | | | | | | | | | | | | | | Upstream Status: Submitted This patch applies the same technique used by Koen Kool in the following patch which was accepted by the libhugetlbfs project: [0a4f6] Add aarch64_be_support 2014-03-31 10:52:37 It modifies the libhugetlbfs Makefile to mark all 32-bit arm architectures as supported by the libhugetlbfs build. Builds and successful functional tests have been performed for armv7a LE and BE runtime platforms. This patch replaces and renders obsolete the following patch: arm32-support.patch by: Chunrong Guo <B40290@freescale.com> Signed-off-by: Gary S. Robertson <gary.robertson@linaro.org> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* libhugetlbfs: not build obj32 for all 64b platformsTing Liu2014-07-301-2/+1
| | | | | | | | | | | | | | | qemux86_64 has the same issue with powerpc64, set BUILDTYPE=NATIVEONLY as default Fix the below build issue for 64bit platforms: | fatal error: gnu/stubs-32.h: No such file or directory | # include <gnu/stubs-32.h> | ^ | compilation terminated. | make: *** [obj32/elflink.o] Error 1 Signed-off-by: Ting Liu <b28495@freescale.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* libhugetlbfs: not build obj32 for powerpc64Ting Liu2014-07-221-0/+1
| | | | | | | | | | | | | | If obj32 needed, user can build lib32-libhugetlbfs. Fix the below build issue for 64bit powerpc boards: | fatal error: gnu/stubs-32.h: No such file or directory | # include <gnu/stubs-32.h> | ^ | compilation terminated. | make: *** [obj32/elflink.o] Error 1 Signed-off-by: Ting Liu <b28495@freescale.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* libhugetlbfs: use ARCH ppc/ppc64 for powerpc/powerpc64Ting Liu2014-07-221-1/+4
| | | | | | | | | | In recent libhugetlbfs source, powerpc/powerpc64 is changed back to ppc/ppc64 (to match with the output of `uname -a`). Update the recipe to avoid build issue for now. Signed-off-by: Ting Liu <b28495@freescale.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* libhugetlbfs: fix packagingKoen Kooi2014-07-221-1/+5
| | | | | | | | | Libhugetlbs doesn't generate proper .so.X libs, only two .so files. Package those in ${PN} and silence the resulting QA warning. This fixes: ERROR: QA Issue: libhugetlbfs-tests rdepends on libhugetlbfs-dev Signed-off-by: Koen Kooi <koen.kooi@linaro.org> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* libhugetlbfs: fix versioningKoen Kooi2014-07-221-0/+3
| | | | | | | PE bump is needed because "git+stuff"" > "2.18" Signed-off-by: Koen Kooi <koen.kooi@linaro.org> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* libhugetlbfs: arm 32bit supportChunrong Guo2014-07-222-1/+31
| | | | | Signed-off-by: Chunrong Guo <B40290@freescale.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* glmark2: inherit distro_features_checkMartin Jansa2014-07-151-1/+1
| | | | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* cpuburn-neon: Upgrade to version 20140626Lauren Post2014-07-151-4/+5
| | | | | | | | | Previous location is no longer accessible and breaks builds that include cpuburn-neon. This updates the location to fix the build breaks Signed-off-by: Lauren Post <lauren.post@freescale.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* meta-oe: use BPN in SRC_URIRobert Yang2014-07-153-3/+3
| | | | | | | | | | | | Fixed SRC_URI: * ${PN} -> ${BPN}, use ${BP} if it was ${PN}-${PV} * ${P} -> ${BP} Otherwise we would meet do_fetch errors when we do the multilib, native or nativesdk build. Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* glmark2: Add virtual/libx11 dependencyMartin Jansa2014-06-251-1/+4
| | | | | | | | * without it, do_configure fails: | Checking for 'x11' : not found | The configuration failed Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* nbench-byte: Fix parallel building errorOtavio Salvador2014-06-132-1/+25
| | | | | | | | | | | | | | | | | | | This extends the dependencies on pointer.h to fix following error: | ./sysinfo.sh arm-poky-linux-gnueabi-gcc ... | In file included from misc.h:36:0, | from misc.c:23: | nmglobal.h:29:21: fatal error: pointer.h: No such file or directory | #include "pointer.h" | ^ | compilation terminated. | make: *** [misc.o] Error 1 | make: *** Waiting for unfinished jobs.... | ERROR: oe_runmake failed | WARNING: exit code 1 from a shell command. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* glmark2: update to version 2014.03Diego Rondini2014-05-151-4/+15
| | | | | | | | | | | Update glmark2 receipe to upstream version 2014.03. The configure step has changed and instead of using "--enable-stuff" syntax, now the syntax is "--with-flavors=flavor1,flavor2". Thanks to Paul Eggleton for the help on how to deal with that: https://lists.yoctoproject.org/pipermail/yocto/2014-April/019328.html Signed-off-by: Diego Rondini <diego.ml@zoho.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* dbench: Fix out of tree buildOtavio Salvador2014-05-052-5/+5
| | | | | | | | This fixes the Makefile so the client.txt file is copied from the original source tree. This fixes the out of tree build error. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* libhugetlbfs: update srcrev to 2.18 releaseFathi Boudra2014-05-048-228/+113
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Update recipe: - update SRCREV to latest release, 2.18 - switch back to master branch - increase verbosity (pass V=1 to EXTRA_OEMAKE) to make debugging easier * Drop patches: - fix-lib64-can-not-be-shiped-in-64bit-target.patch replaced by LIBARGS definition. the build system allows to override libdir using LIB32 and LIB64 variables - 0001-install-perl-lib-to-directory-perl-instead-of-perl5.patch replaced by a one-liner to fixup perl module directory hardcoded to perl5 * Refresh skip-checking-LIB32-and-LIB64-if-they-point-to-the-s.patch - only disable the error to skip the check * Add patches: - 0001-aarch64-fix-cross-compilation.patch - submitted upstream allow to override CC and use it for aarch64 case like the other arch - 0001-aarch64-fix-page-size-not-properly-computed.patch - submitted upstream fix typo on MB variable (MB -> $MB) and add the missing linker variants (aarch64elfb, aarch64linux, aarch64linuxb) - 0001-replace-lib-lib64-hardcoded-values-by-LIBDIR32-LIBDI.patch submitted upstream. replace lib/lib64 hardcoded values by LIBDIR32 and LIBDIR64 variables * Remove patches that aren't applied in the recipe (they're all merged upstream and available in 2.18 release): - libhugetlbfs/files/aarch64-support.patch - aarch64-unit-test-fixes.patch - add-PROT-NONE-to-the-mprotest-test.patch Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org> 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-032-2/+2
| | | | | | | | | 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>
* iozone: update version to 414Jackie Huang2014-05-032-56/+27
| | | | | | | | | Changes: - use BPN to fix multilib builds - drop the fileop-arm.patch since the issue is already fixed in the new version. Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
* bonnie++: update to version 1.03eJackie Huang2014-04-202-32/+30
| | | | | | | | | Changes: * use BPN in the file name in SRC_URI. * install binaries in bindir and sbindir instead of base_bindir and base_sbindir. Signed-off-by: Jackie Huang <jackie.huang@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* glmark2: Rework recipe to use the 'waf' classOtavio Salvador2014-03-231-13/+1
| | | | | | | This removes the duplicated code and uses the OE-Core waf class. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* iperf: Upgrade to version 2.0.5Lauren Post2014-03-1812-654/+26
| | | | | | | | | This version provides better ethernet performance Patch is required for man page portion of build Signed-off-by: Lauren Post <lauren.post@freescale.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* recipes: convert remaining SUMMARY/DESCRIPTION cosmetic issuesMatthieu CRAPET2014-02-238-10/+10
| | | | | | | | | | | | | 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>
* libhugetlbfs: ensure package strip logic stays the same after oe-core ↵Koen Kooi2014-02-011-0/+1
| | | | | | | | | package.bbclass changes See http://patches.openembedded.org/patch/65311/ Signed-off-by: Koen Kooi <koen.kooi@linaro.org> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* lmbench: use base_libdir instead of hardcoded /libTing Liu2014-01-222-0/+33
| | | | | | | | | | | 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>
* libhugetbfs: add branch parameter and uprev to 6824d18Ting Liu2014-01-222-6/+4
| | | | | 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>
* libhugetlbfs: kill /opt usageKoen Kooi2013-10-211-3/+3
| | | | | | | /opt should never be used for packages built by OE, so install the tests in a more standard location. Signed-off-by: Koen Kooi <koen.kooi@linaro.org> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* libhugetlbfs: install perl lib to directory perl instead of perl5Chunrong Guo2013-10-152-2/+41
| | | | | | | | | | | | | | | *libhugetlbfs depends on perl, and perl installs a directory 'perl' and make a symlink 'perl5' to it. So just install perl libs in libhugetlbfs to directory 'perl' instead of 'perl5'. This can avoid the following error: | CalledProcessError: Command 'tar -cf - -C .../perl/5.14.3-r1/sysroot-destdir | -ps . | tar -xf - -C .../tmp/sysroots/t4240qds' | returned non-zero exit status 2 with output | tar: ./usr/lib/perl5: Cannot create symlink to `perl': File exists | tar: Exiting with failure status due to previous errors Signed-off-by: Chunrong Guo <B40290@freescale.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* libhugetlbfs: not use hard coded path in run_tests.pyChunrong Guo2013-10-152-0/+44
| | | | | | | | *Hard coded path makes the script impossible to run out of source tree. *After 'make install', we can use hugeadm utility under DESTDIR. Signed-off-by: Chunrong Guo <B40290@freescale.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* libhugetlbfs: install static 4G-edge testcasesChunrong Guo2013-10-152-10/+7
| | | | | | | *TESTS_64 is empty, install will fail due to missing file operand. Signed-off-by: Chunrong Guo <B40290@freescale.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* libhugetlbfs: add recipeChunrong Guo2013-10-058-0/+481
| | | | | Signed-off-by: Chunrong Guo <B40290@freescale.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>
* glmark2: add dependency on jpegMartin Jansa2013-08-141-1/+1
| | | | | | | | * fails without: | Checking for header jpeglib.h : not found | The configuration failed Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* iperf: Fix licenseChunrong Guo2013-08-081-1/+1
| | | | | | | | | *the current version of Iperf has a false LICENSE set, so fix license with the generic BSD license Signed-off-by: Chunrong Guo <B40290@freescale.com> Acked-by: Paul Barker <paul@paulbarker.me.uk> 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>
* glmark2: Add recipe for glmark2Diego Rondini2013-06-271-0/+35
| | | | | | | Add a recipe for glmark2, which is an OpenGL 2.0 / OpenGL ES 2.0 benchmark. Signed-off-by: Diego Rondini <diego.ml@zoho.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* fio: Add armv6 supportOtavio Salvador2013-04-192-1/+32
| | | | | Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* recipes: Unify indentationMartin Jansa2013-04-1510-79/+79
| | | | | | | | | | | | | | | | | | | | | | | | | * 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>