47 Commits

Author SHA1 Message Date
Martin Jansa 9cab1276c0 glmark2: Add virtual/libx11 dependency
* without it, do_configure fails:
  | Checking for 'x11'                       : not found
  | The configuration failed
* inherit distro_features_check

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-08-23 13:37:49 +02:00
Otavio Salvador 7a35bc7d6e nbench-byte: Fix parallel building error
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>
2014-08-18 14:28:03 +02:00
Lauren Post e73087c588 cpuburn-neon: Upgrade to version 20140626
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>
Signed-off-by: Cliff Brake <cbrake@bec-systems.com>
2014-07-16 15:28:34 -04:00
Otavio Salvador 0502f9d575 dbench: Fix out of tree build
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>
2014-05-05 18:31:29 +02:00
Fathi Boudra 447ef234d4 libhugetlbfs: update srcrev to 2.18 release
* 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>
2014-05-04 17:14:11 +02:00
Khem Raj bf7f793ace bonnie++, lmbench, obex-data-server, samba, sg3-utils: Do not do out-of-tree 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-05-03 20:47:01 +02:00
Jackie Huang 8115e12059 iozone: update version to 414
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>
2014-05-03 20:45:00 +02:00
Jackie Huang cba5550dd8 bonnie++: update to version 1.03e
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>
2014-04-20 11:19:09 +02:00
Otavio Salvador 3a41db396d glmark2: Rework recipe to use the 'waf' class
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>
2014-03-23 21:49:02 +01:00
Lauren Post e152744d3e iperf: Upgrade to version 2.0.5
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>
2014-03-18 20:04:56 +01:00
Matthieu CRAPET c95e155780 recipes: convert remaining SUMMARY/DESCRIPTION cosmetic issues
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-02-23 23:20:02 +01:00
Koen Kooi 37b2407afa libhugetlbfs: ensure package strip logic stays the same after oe-core 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>
2014-02-01 08:51:05 +01:00
Ting Liu 82cbf30df0 lmbench: use base_libdir instead of hardcoded /lib
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>
2014-01-22 12:22:37 +01:00
Ting Liu e8256e7bb9 libhugetbfs: add branch parameter and uprev to 6824d18
Signed-off-by: Ting Liu <b28495@freescale.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-01-22 12:22:37 +01:00
Christopher Larson 99f52e58d1 lmbench: fix the CONFIG path in lmbench-run
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-12-05 19:48:08 +01:00
Koen Kooi be7ba2fcf1 libhugetlbfs: kill /opt usage
/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>
2013-10-21 12:15:03 +02:00
Chunrong Guo f8903f53db libhugetlbfs: install perl lib to directory perl instead of perl5
*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>
2013-10-15 13:43:53 +02:00
Chunrong Guo 0e2a691f78 libhugetlbfs: not use hard coded path in run_tests.py
*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>
2013-10-15 13:43:53 +02:00
Chunrong Guo 90cd9eab66 libhugetlbfs: install static 4G-edge testcases
*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>
2013-10-15 13:43:53 +02:00
Chunrong Guo fd9f63aad1 libhugetlbfs: add recipe
Signed-off-by: Chunrong Guo <B40290@freescale.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-10-05 12:36:24 +02:00
Jonathan Liu 52c3377b19 lmbench: specify configuration for systemd-tmpfiles --update
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-09-10 22:42:46 +02:00
Martin Jansa 4955ea3959 glmark2: add dependency on jpeg
* fails without:
  | Checking for header jpeglib.h            : not found
  | The configuration failed

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-08-14 13:34:27 +02:00
Chunrong Guo 7912bd2479 iperf: Fix license
*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>
2013-08-08 16:01:34 +02:00
Otavio Salvador a0726a33b3 lmbench: remove /run/lmbench from package
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-07-08 10:35:58 +02:00
Diego Rondini 05270e3741 glmark2: Add recipe for glmark2
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>
2013-06-27 18:52:23 +02:00
Otavio Salvador a7b4558ff2 fio: Add armv6 support
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-04-19 02:45:27 +02:00
Martin Jansa a45830a39b recipes: Unify indentation
* 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-04-15 16:23:17 +02:00
Chunrong Guo d6a9923be4 lmbench: update config script
*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-02 15:34:52 +01:00
Martin Jansa 4a30b26bf5 lmbench: use spaces for indentation
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-03-02 15:34:52 +01:00
Paul Eggleton 26f4012c87 tiobench: use RDEPENDS correctly
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-02-05 11:05:50 +01:00
Martin Jansa 7e57abfd19 lmbench: fix unpackaged files
* 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>
2012-12-11 01:53:00 +01:00
Paul Eggleton f58e6aa8e8 netperf: remove
Version 2.6.0 is now in meta-networking.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2012-11-29 11:03:35 +01:00
Otavio Salvador 5d9de465ca tiobench: fix aligned allocation method clash with newer glibc
glibc 2.16 added aligned allocation support to stdlib and those
function clashes with the local implementation done in tiobench. We
fix it using a '_' prefix on those.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-08-07 12:21:24 +02:00
Christopher Larson 3b38fe66a8 netperf: correct paths in the example scripts
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-07-25 09:18:12 +02:00
Otavio Salvador a17cda6e85 cpuburn-neon: fix packaging to use a date as version and valid sources
* The package were not versioning the sources as the files had no
   version on its name. We workaround it mangling the DL_DIR;

 * We now dynamically check if the machine has or not neon feature and
   set COMPATIBLE_MACHINE.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-07-18 09:23:04 +02:00
Koen Kooi ac30ec5e59 cpuburn-neon: add cpuburn app for neon and neon-cortexa8
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-04-11 21:08:46 +02:00
Zhenhua Luo 36e2463bb9 netperf: add version 2.4.4
Signed-off-by: Zhenhua Luo <b19537@freescale.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2012-03-11 10:10:37 -07:00
Tom Rini 6b8c314002 fio: Add initial recipe for version 2.0.5
Signed-off-by: Tom Rini <trini@ti.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-03-09 07:51:15 +01:00
chase maupin f742316e22 nbench-byte-2.3.3: import recipe from oe-classic
* Import the nbench-byte recipe from the oe-classic git repo at
  git://git.openembedded.org/openembedded commit id:
    * 6fe7cef27069415f2eba36bc640cf59013d4979b
* Update LICENSE checksums
* Tested on an AM335x EVM which is the same processor as the
  beaglebone.

* Original Author:
    * Marcin Juszkiewicz <marcin@juszkiewicz.com.pl>
* Modifications by:
    * Koen Kooi <koen@openembedded.org>
    * Martin Jansa <Martin.Jansa@gmail.com>
    * Chris Larson <chris_larson@mentor.com>

Signed-off-by: Chase Maupin <Chase.Maupin@ti.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-02-29 14:52:45 +01:00
Joel A Fernandes 5272732892 memtester: Corrected recipe following review comments and guidelines
This is an import of memtester from OE classic,
commit ID: 5671855bfba71575e4919c4b5fc9c5dcb8052612

Fixes to recipe:
* Added patch header to Makefile.patch
* Corrected order of variables and added HOMEPAGE to recipe
* Removed the line, S = "${WORKDIR}/memtester-${PV}" as its the default
* Removed new-line at end of recipe

Signed-off-by: Joel A Fernandes <joelagnel@ti.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2011-10-31 11:24:48 +01:00
Joel A Fernandes 5da48e6e4a memtester: Import from OE classic
Added LIC_FILES_CHKSUM

Signed-off-by: Joel A Fernandes <joelagnel@ti.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2011-10-24 08:41:43 +02:00
Noor Ahsan a577b53823 lmbench: Add version 3.0-a9 (initial recipe)
* 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>
2011-09-01 16:30:32 +02:00
Noor Ahsan 0c5db4e86d bonnie++: Add version 1.03c (initial recipe)
* Imported from oe.dev commit id 44985d56bc556786812a0a02d6219afd31a7381d.
* Merge .bb and .inc file.

Signed-off-by: Noor Ahsan <noor_ahsan@mentor.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2011-09-01 13:05:42 +02:00
Noor Ahsan 2917b4f41c iozone3: Add version 263 (initial recipe)
* Import from oe.dev commit id b55dcd636a162541a4cdcace8c106869fbb9465b.
* Bring LIC_FILES_CHKSUM from iozone.c file.

Signed-off-by: Noor Ahsan <noor_ahsan@mentor.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2011-09-01 13:05:42 +02:00
Noor Ahsan 1244c84527 tiobench: Add version 0.3.3 (initial recipe)
* Imported from oe.dev commit id 821f47e170dddabaef3925fd62c5423210dcb363.

Signed-off-by: Noor Ahsan <noor_ahsan@mentor.com>
2011-08-31 14:46:56 +02:00
Noor Ahsan 79d102b2c4 iperf: Add version 2.0.4 (initial recipe)
* Imported from oe.dev commit id 0ff10ecb88de73074ae4857046643cef15dc4e97 and c10c33f86903c93611023197a7f812459c2dfe2d.
* Combined .inc and bb file from oe.dev and made a single bb file.
* Removed EXTRA_OECONF_append_epia = " --disable-threads" while importing as this should go in epia layer.

Signed-off-by: Noor Ahsan <noor_ahsan@mentor.com>
2011-08-29 12:15:22 +05:00
Noor Ahsan 0efa8c8363 dbench: Add version 4.0 (initial recipe)
* Imported from oe.dev commit id d6f49fe115206047b41b0195724ba872897ef531

Signed-off-by: Noor Ahsan <noor_ahsan@mentor.com>
2011-08-29 12:02:13 +05:00