100 Commits

Author SHA1 Message Date
Derek Straka d0b29ac026 iperf: resolve issues with gcc6
Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
(cherry picked from commit 0647b7d640)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2016-08-16 10:29:41 -07:00
Roy Li e341fa03f0 lmbench: avoid gcc optimize-away multiplication
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>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2016-05-13 23:00:36 -07:00
Neena Busireddy d4b1497f8c glmark2: wl_surface should be destoryed after destroying wl_window
If wl_surface is destroyed while work thread is still running,
segmentation fault occurs.

Signed-off-by: Neena Busireddy <neenareddy.busireddy@nxp.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2016-05-09 19:05:03 -07:00
Ross Burton cf1819332d meta-oe: use bb.utils.contains() instead of base_contains()
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>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2016-05-02 14:03:03 -07:00
Martin Jansa df7242fddb recipes: Replace "cp -a" with "cp -R --no-dereference --preserve=mode,links"
* Using "cp -a" leaks UID of user running the builds, causing
  many QA warnings.
* See this thread for details:
  http://lists.openembedded.org/pipermail/openembedded-core/2015-November/112904.html

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-03-04 09:06:22 +01:00
Fabio Berton e29474b801 fio: Remove --disable-static from EXTRA_OECONF
As of commit OE-Core:773c9e18071d71454473dd81aff911104a2e9bc6
EXTRA_OECONF is appended with the option --disable-static on
DISABLE_STATIC variable and this cause the error:

    DEBUG: Python function sysroot_cleansstate finished
    DEBUG: Executing shell function do_configure
    Bad option --disable-static
    --cpu=                 Specify target CPU if auto-detect fails
    --cc=                  Specify compiler to use
    --extra-cflags=        Specify extra CFLAGS to pass to compiler
    --build-32bit-win      Enable 32-bit build on Windows
    --build-static         Build a static fio
    --esx                  Configure build options for esx
    --enable-gfio          Enable building of gtk gfio
    --disable-numa         Disable libnuma even if found
    --enable-libhdfs       Enable hdfs support
    WARNING: exit code 1 from a shell command.

So, we need to disable this option.

Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-02-25 17:45:50 +01:00
Mike Crowe 2cbf2ac87c nbench-byte: Explicitly set EXTRA_OEMAKE as required
This recipe currently relies on EXTRA_OEMAKE having been to set to "-e
MAKEFLAGS=" in bitbake.conf to operate. It is necessary to make this
explicit so that the default in bitbake.conf can be changed.

Signed-off-by: Mike Crowe <mac@mcrowe.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-02-15 10:16:38 +01:00
Denys Dmytriyenko 668468d59c memtester: upgrade 4.1.3 -> 4.3.0
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-02-01 15:58:06 +01:00
Kai Kang e05057c587 iperf3: fix build-deps qa warning
Add PACKAGECONFIG lksctp to fix qa warning:

| WARNING: QA Issue: iperf3 rdepends on lksctp-tools, but it isn't a
| build dependency? [build-deps]

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-01-04 14:56:23 +01:00
Roy Li 253c292d0e phoronix-test-suite: uprev it to 6.0.1
1. inherit systemd and move the systemd unit files to correct dir
2. inherit allarch
3. add bash/python to RDEDEPENDS

Signed-off-by: Roy Li <rongqing.li@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-12-18 12:36:56 +01:00
Chunrong Guo 21fe8a55f6 iperf3 :upgrade to 3.1
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-10-23 12:53:24 +02:00
Otavio Salvador 5a23581c40 tiobench: Fix build using GCC 5.2
Drop 'inline' of crc32 function to fix build using GCC 5.2

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-09-23 15:39:45 +02:00
Soren Brinkmann b996aaab17 Add analyze-suspend
Signed-off-by: Soren Brinkmann <soren.brinkmann@xilinx.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-09-08 16:18:34 +02:00
Kai Kang 3a92cd036c libhugetlbfs: avoid using keyword restrict as var name
When compile with gcc 5.x, libhugetlbfs fails with:

| hugeutils.c: In function '__lh_hugetlbfs_setup_env':
| hugeutils.c:304:40: error: expected identifier or '(' before restrict'
|    char *p, *tok, *exe, buf[MAX_EXE+1], restrict[MAX_EXE];
|                                         ^

Rename variable to avoid using keyword restrict as variable name to fix it.

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-08-31 20:02:23 +02:00
Kai Kang 8023363d82 libhugetlbfs: avoid search host library path for cross compilation
There was a patch fixing the same issue:
libhugetlbfs-avoid-search-host-library-path-for-cros.patch

but missed the elf_i386.xB*, this patch fixes for it.

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-08-31 20:02:23 +02:00
Jianchuan Wang 91e6dc888a libhugetlbfs: Uprev to v2.19 from v2.18
The 5 patches which are deleted have been in the v2.19

Signed-off-by: Jianchuan Wang <jianchuan.wang@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-08-18 11:52:32 +02:00
Dominic Sacré eb01b36cb3 fio: Add PACKAGECONFIG for numa, re-enable ARM build
Make fio's NUMA support optional via PACKAGECONFIG.
Enable this feature by default, except on ARM where libnuma/numactl
is not available.

Signed-off-by: Dominic Sacré <dominic.sacre@gmx.de>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-07-30 21:03:27 +02:00
Otavio Salvador 9806992913 glmark2: Remove X11 exclusiveness
The tool has support for multiple backends: X11, drm and Wayland.

This demanded to a fix, which has been sent upstream, to make the
flavor configuration predictable and the recipe has been rework to
support them all, making the PACKAGECONFIG to respect the
DISTRO_FEATURES available by default.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-07-30 20:20:42 +02:00
Otavio Salvador b0c486f9b7 glmark2: Convert recipe to fetch from Git
The development has been moved for github thus it makes sense to use
this, instead of the tarball.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-07-30 20:20:42 +02:00
Martin Jansa e836f8f936 gegl, crash, libsecret, mpg123, tinymembench, gammu, mosh, llvm3.3, breakpad, php, mozjs, libopus: disable thumb where it fails for qemuarm
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-07-16 21:09:05 +02:00
Josep Puigdemont 69088c0c67 libhugetlbfs: project moved to github
Signed-off-by: Josep Puigdemont <josep.puigdemont@enea.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-06-08 14:15:25 +02:00
Martin Jansa 6a4469f9eb Revert "libhugetlbfs: Add i586 to list of compatible host architectures"
It's still failing in world builds even when
"libhugetlbfs: x86 - don't link against host libs" is applied as well.

It was reported month ago:
https://www.mail-archive.com/openembedded-devel@lists.openembedded.org/msg41565.html

This reverts commit 3cc7f186be.
2015-05-17 09:46:29 +02:00
Yi Zhao e0034a8231 iperf: fix ${PN}-${PV} -> ${BP} for multilib
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-05-13 14:32:02 +02:00
Armin Kuster a71a76d552 fio: Fix QA warnings
WAWARNING: QA Issue: fio rdepends on numactl, but it isn't a build dependency? [build-deps]

Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-05-11 10:57:11 +02:00
Dominic Sacré 923d50b719 fio: add missing build dependency on zlib
Fixes:
| WARNING: QA Issue: fio rdepends on zlib, but it isn't a build dependency? [build-deps]

Signed-off-by: Dominic Sacré <dominic.sacre@gmx.de>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-05-11 10:27:28 +02:00
gary.robertson@linaro.org 3cc7f186be libhugetlbfs: Add i586 to list of compatible host architectures
COMPATIBLE_HOST included support for x86_64 but not for
32-bit x86 architectures - added i586 arch name to cover qemux86, etc.

Signed-off-by: Gary S. Robertson <gary.robertson@linaro.org>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-04-13 12:55:51 +02:00
Andre McCurdy ca5d383441 tinymembench: add initial recipe
Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-03-21 16:42:22 +01:00
Raphael Silva 9b35e07cab fio: fix do_compile error
* Update to v2.2.6

Signed-off-by: Raphael Silva <raphael.philipe@ossystems.com.br>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-03-03 08:36:01 +01:00
mike.looijmans@topic.nl 01a47ecc1a iperf3: Add native support
If you want to use iperf3 to measure your board's IP performance, you
may also want to compile if for the build host, because unlike iperf,
iperf3 isn't readily available as a standard Ubuntu package for example.

Add a BBCLASSEXTEND="native" to the recipe so that you just can build
iperf3-native and have bitbake compile it for you, instead of having to
download, compile and install it manually on the build machine.

Signed-off-by: Mike Looijmans <mike.looijmans@topic.nl>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-02-12 19:31:52 +01:00
Ben Shelton 3a4ea266eb iperf3: Add recipe for version 3.0.10
iperf3 is the new successor of iperf. The project is now mature enough
as it started in 2009 and has stable releases. It supports reporting
results in the portable JSON format, provides more information than
iperf does and also adds some features from other tools such as nuttcp
and netperf that were missing from the original iperf.

This recipe is based on the iperf v3.0.8 recipe posted to the list by
Guy Morand

(http://lists.openembedded.org/pipermail/openembedded-devel/2014-October/098403.html)

with the following changes:

- Pass the 'foreign' option to automake.

- The Makefiles for the examples only work properly when the build is
  done in the same directory as the source.  Fix this in Makefile.am and
  run bootstrap.sh to regenerate Makefile.in.

- Bump the version to the latest stable release.

Signed-off-by: Ben Shelton <ben.shelton@ni.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-01-08 11:58:44 +01:00
Otavio Salvador a5a9697cf6 nbench-byte: Fix license QA error
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>
2014-12-31 16:32:30 +01:00
Belal, Awais af8ff37714 iperf: fix out of tree configuration
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>
2014-12-19 20:10:56 +01:00
Gary S. Robertson ec2b501573 libhugetlbfs: Fix page size & text offset for arm arches
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>
2014-12-10 13:33:28 +01:00
Gary S. Robertson b52a206e1d libhugetlbfs: Make cross-devel recognize all ix86 arches
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>
2014-12-10 13:33:28 +01:00
Chong.Lu@windriver.com 12236ba5f7 libhugetlbfs: add bash and perl to RDEPENDS
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>
2014-10-30 09:00:08 +01:00
Todd E Brandt c22f2d1be5 Phoronix Test Suite package
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>
2014-09-26 05:42:53 +02:00
Robert Yang 08bcdfaca9 bonnie: add perl to RDEPENDS_bonnie-scripts
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>
2014-09-26 05:41:51 +02:00
Yasir Khan f6e6d632db lmbench: add lmbench-exception LICENSE
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-28 19:55:38 +02:00
Jackie Huang 78038840cc lmbench: remove debianutils from RDEPENDS and add perl
- 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-23 13:18:35 +02:00
Jackie Huang ba39f28596 lmbench: use BPN instead of PN
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-23 13:18:06 +02:00
Jackie Huang b2b80a1ee8 lmbench: fix doc install failure
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-21 21:35:08 +02:00
Jackie Huang 7dc1efce3f lmbench: fix lmbench memory check failure
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-21 21:35:08 +02:00
Jackie Huang fca294b76e lmbench: Fix "make html" graph failure
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-08-21 21:35:08 +02:00
Gary S. Robertson 84364ebb57 libhugetlbfs: Extend arm32 support to include BE variants
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>
2014-08-15 17:07:02 +02:00
Ting Liu 2892455bad libhugetlbfs: not build obj32 for all 64b platforms
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>
2014-07-30 09:35:44 +02:00
Ting Liu cd63a38d0a libhugetlbfs: not build obj32 for powerpc64
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>
2014-07-22 00:01:48 +02:00
Ting Liu 3efa077536 libhugetlbfs: use ARCH ppc/ppc64 for powerpc/powerpc64
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>
2014-07-22 00:01:48 +02:00
Koen Kooi cd45cd77ef libhugetlbfs: fix packaging
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>
2014-07-22 00:01:48 +02:00
Koen Kooi 7b6c734be6 libhugetlbfs: fix versioning
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>
2014-07-22 00:01:47 +02:00
Chunrong Guo fca32c0fce libhugetlbfs: arm 32bit support
Signed-off-by: Chunrong Guo <B40290@freescale.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-07-22 00:01:47 +02:00