206 Commits

Author SHA1 Message Date
Andrey Zhizhikin
fad26cc14e cpuburn-arm: add aarch64 machine and build configuration
Add aarch64 as a valid machine to cpuburn recipe and split compilation
task.

The only source file which supports the aarch64 build is cpuburn-a53.S,
and in case if TUNE is set to aarch64 - this should be the only file to
be assembled to the application.

In case of 32-bit build - all sources are compiled as they are, since
cpuburn-a53.S supports both 32- and 64-bit tunes.

Signed-off-by: Andrey Zhizhikin <andrey.z@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-06-19 06:06:47 -07:00
Khem Raj
8b5ebbf6e6 stressapptest: Use git SHA instead of git archive
git archives get regenerated randomly so lets use git fetcher instead

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-06-16 22:25:54 -07:00
Khem Raj
5673dae7b2 stressapptest: Implement reading sysfs and use it if sysconf is not there
This helps in building on musl platform where _SC_LEVEL1_DCACHE_LINESIZE
is not available

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-06-16 22:25:54 -07:00
Khem Raj
36fcb1a8d1 stressapptest: Fix build with libc++
when using libc++ instead of libstdc++, __gnu_cxx namespace
is not available

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-06-16 22:25:54 -07:00
Maciej Pijanowski
70c2f87bff recipes-benchmark/stressapptest_1.0.9.bb: add recipe
This patch introduces recipe for the stressapptest utility.
The recipe builds without errors and warnings (tested on thud).
It basically uses autootools to buildm so should build just fine
on the other releases as well.
Basic commands from the project's README were tested on a few
armv7 / armv8 platforms.

Signed-off-by: Maciej Pijanowski <maciej.pijanowski@3mdeb.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-06-15 17:17:09 -07:00
Changqing Li
cabd888d3f phoronix-test-suite: upgrade from 8.6.0 -> 8.8.1
Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-06-15 16:45:33 -07:00
Paolo Valente
012ef41659 s-suite: push SRCREV to version 3.4
Signed-off-by: Paolo Valente <paolo.valente@linaro.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-06-15 16:45:32 -07:00
Paolo Valente
4afd531096 s-suite: push SRCREV to version 3.2
Signed-off-by: Paolo Valente <paolo.valente@linaro.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-04-16 21:07:25 -07:00
Oleksandr Kravchuk
b3f296ae68 analyze-suspend: update to 5.3
Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-04-09 21:31:36 -07:00
leimaohui
f070bf7d11 Fix build error for armeb.
Signed-off-by: Lei Maohui <leimaohui@cn.fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-04-06 08:22:22 -07:00
Paolo Valente
12faa2e0d2 s-suite: push SRCREV to version 3.1
Signed-off-by: Paolo Valente <paolo.valente@linaro.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-03-28 11:55:34 -07:00
Fabio Berton
ea59b56825 cpuburn-arm: Add armv7ve as a valid machine
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-03-22 21:57:02 -07:00
Oliver Friedrich
f67f786b07 nbench-byte: update SRC_URI
Signed-off-by: Oliver Friedrich <oliver.friedrich@tq-group.com>
Signed-off-by: Matthias Schiffer <matthias.schiffer@ew.tq-group.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-03-19 21:00:06 -07:00
Khem Raj
4b225fc27f libc-bench: Upgrade to use new location for SRC_URI
This also clarifies the copyright and license

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-03-04 23:09:25 -08:00
Changqing Li
7126d8577f phoronix-test-suite: Upgrade 8.2.0 -> 8.6.0
Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-02-20 11:11:44 -08:00
Ross Burton
7baf5c3636 glmark2: update to current git
Remove two patches merged upstream.  The other patch isn't required so can be
deleted.

Remove explicit --std=c++11 as the wscript adds --std=c++14 now.

Change PV to contain the full date just in case we want to update more than once
a month.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-02-06 08:19:13 -08:00
Khem Raj
6fd901de5a tinymembench: Fix build with clang assembler
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-01-30 13:34:49 -08:00
Khem Raj
9c4f08ba84 cpuburn-arm: Move cpuburn-neon to cpuburn-arm and add more tests
This provides more benchmarks for different arm arches >= v7

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-01-30 13:34:49 -08:00
Khem Raj
f0ef6d4a16 tinymembench: Update to tip of master
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-01-02 10:28:18 -08:00
Paolo Valente
a6fe3f7b47 s-suite: push SRCREV to version 3.0
Signed-off-by: Paolo Valente <paolo.valente@linaro.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-12-18 18:44:59 -08:00
Changqing Li
a1ee96c1dc phoronix-test-suite: upgrade to 8.2.0
Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-11-29 18:44:56 -08:00
Mingli Yu
00e4892ebf fio: Upgrade to 3.12
Refresh 0001-update-the-interpreter-paths.patch as the
folder unit_tests/ is renamed to t/ in below commit:
c44d2c6e Move steady state unit test to t/

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-11-16 14:46:44 -08:00
Mingli Yu
30685b4d58 iozone3: Upgrade to 484
Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-11-15 10:00:25 -08:00
Anders Roxell
8a824ee1f4 add a storage I/O benchmark test suite
Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-10-19 11:03:19 -07:00
Khem Raj
ff0c0a1d83 libhugetlbfs: Refresh patches with devtool
Makes devtool happy as per
http://lists.openembedded.org/pipermail/openembedded-core/2018-March/148675.html

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Daniel Díaz <daniel.diaz@linaro.org>
2018-10-12 13:08:17 -07:00
Daniel Díaz
0f6bab36cb libhugetlbfs: Update to 2.21
Version 2.21 was released on 9/17 [1]. These changes update
the recipe to use that version.

Only one of the existing patches had been merged upstream
(as e3928d57 "Force text segment alignment to 0x08000000 for
i386 with gold linker") -- the rest of them is still needed
for proper cross-compilation.

Upstream commit c3e5cb22 ("Remove bit-rotting scripts") got
rid of the Perl stuff, due to it being "massively out of
date", so the Perl bits in the recipe have gone away too.

[1] https://github.com/libhugetlbfs/libhugetlbfs/releases/tag/2.21

Signed-off-by: Daniel Díaz <daniel.diaz@linaro.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-10-04 20:01:19 -07:00
Hongxu Jia
face5ee9c1 dbench: split one dpg package
Multiple -dbg packages per recipe is not encouraged, and only one is
recommended and the code only works properly in some cases for one.

Add RPROVIDES_${PN}-dbg to be compatiable with previous dbg packages
requiring.

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-09-18 20:17:02 -07:00
Ross Burton
4abf0f4d6f phoronix-test-suite: add dependency on lsb_release
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-08-31 09:32:25 -07:00
Mingli Yu
a24b4c1bbe lmbench: fix usrmerge install path
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>
2018-08-27 10:53:58 -07:00
Mingli Yu
739349da08 fio: disable compiler optimizations
Pass parameter "--disable-optimizations" to
configure script to disable compiler optimizations
to fix below issue:
$ gdb /usr/bin/fio
(gdb) r -h
Starting program: /usr/bin/fio -h
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".

Program received signal SIGILL, Illegal instruction.
0x0000000000407220 in prio_tree_init () at lib/prio_tree.c:61
 61	index_bits_to_maxindex[i] = (1UL << (i + 1)) - 1;
(gdb) bt
 #0 0x0000000000407220 in prio_tree_init () at lib/prio_tree.c:61
 #1 0x0000000000482208 in __libc_csu_init (argc=argc@entry=2,
    argv=argv@entry=0x7fffffffecc8, envp=0x7fffffffece0)
    at /usr/src/debug/glibc/2.26-r0/git/csu/elf-init.c:88
 #2 0x00000031c742095e in __libc_start_main (main=0x407700 <main>, argc=2,
    argv=0x7fffffffecc8, init=0x4821b6 <__libc_csu_init>,
    fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffffffecb8)
    at /usr/src/debug/glibc/2.26-r0/git/csu/libc-start.c:264
 #3 0x00000000004077ea in _start () at ../sysdeps/x86_64/start.S:120

Signed-off-by: Mingli Yu <Mingli.Yu@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-08-21 10:35:32 -07:00
Mingli Yu
feafef878a fio: Upgrade to 3.8
Signed-off-by: Mingli Yu <Mingli.Yu@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-08-21 10:34:36 -07:00
Martin Jansa
db36d53cc5 glmark2: add dependency on virtual/libgbm for drm-gl, drm-gles2 PACKAGECONFIG
* it's checked by wscript for all flavors with drm in it:
  ('gbm','gbm', None, list_contains(ctx.options.flavors, 'drm')),

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-08-19 16:09:28 -07:00
Mingli Yu
695a93871c iperf3: Upgrade to 3.6
* Licence-Update:
  - Copyright years are updated to 2018
  - Remove the part about src/tcp_window_size.{c,h}
    as iperf3 uses get/setsockopt() with SO_SNDBUF
    and SO_RCVBUF directly now
* Update the path parameter for --with-openssl as
  ${RECIPE_SYSROOT}${prefix} to fix the below do_configure
  error
  | checking for openssl/ssl.h in /poky-build/tmp/work/i586-poky-linux/iperf3/3.6-r0/recipe-sysroot... no
  | checking whether compiling and linking against OpenSSL works... no
  | configure: error: in `/poky-build/tmp/work/i586-poky-linux/iperf3/3.6-r0/build':
  | configure: error: --with-openssl was given, but test for OpenSSL failed

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-08-02 02:12:15 -07:00
Mingli Yu
be7cdd94fd fio: Upgrade to 3.7
* Licence-Update:
  Address update in COPYING
* Add patch 0001-update-the-interpreter-paths.patch
  and add python and bash to RDEPENDS_${PN} to fix
  below QA issues:
  ERROR: fio-3.7-r0 do_package_qa: QA Issue: /usr/bin/fiologparser.py contained in package fio requires /usr/bin/python2.7, but no providers found in RDEPENDS_fio? [file-rdeps]
  ERROR: fio-3.7-r0 do_package_qa: QA Issue: /usr/bin/genfio contained in package fio requires /usr/bin/bash, but no providers found in RDEPENDS_fio? [file-rdeps]

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-07-20 16:14:22 -07:00
Mingli Yu
350db7cc7c bonnie++: Upgrade to 1.04
Remove the patch gcc-4.3-fixes.patch as build
successfully without it.

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-07-20 16:07:11 -07:00
Mingli Yu
a80fec99ea iozone3: Upgrade to 482
Licence-Update:
The copyright info is located in source file
iozone.c.
Previously in v465, the copyright info is located
between lines 37 to 48 and lines 260 to 266, but
now in v482, it is located between lines 37 to 48
and lines 269 to 275 instead.

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-07-12 07:19:42 -07:00
Ross Burton
8b0f77d838 phoronix-test-suite: upgrade to 8.0.1
Add a dependency on lscpu as the processor information needs it, and os-release
as that is used to identify the distribution.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-07-03 17:42:25 -07:00
Khem Raj
eec73ed7c6 libhugetlbfs: Fix build on musl
needs more runtime testing

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-06-22 10:52:33 -07:00
Yi Zhao
c98b20e5a1 lmbench: add UPSTREAM_CHECK_URI
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-05-29 12:56:19 -07:00
Yi Zhao
8baf92b4f0 libhugetlbfs: add UPSTREAM_CHECK_GITTAGREGEX
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-05-29 12:56:19 -07:00
Yi Zhao
2ac6f5f7a6 iozone3: add UPSTREAM_CHECK_REGEX
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-05-29 12:56:19 -07:00
Khem Raj
f604119524 iperf3: Drop redundant patch
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-05-23 15:32:05 -07:00
Mikko Rapeli
f5017313a1 lmbench: fix Upstream-Status metadata typos in patch
Signed-off-by: Mikko Rapeli <mikko.rapeli@bmw.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-05-23 15:32:05 -07:00
Khem Raj
01a4be21f8 nbench-byte: Dont append cflags to cc
adding cflags is redundant

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-05-23 15:32:05 -07:00
Khem Raj
6412bb5530 lmbench: Link with libtirpc on glibc as well
glibc has dropped obsoleted rpc support

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2018-05-17 08:20:49 -07:00
Slater, Joseph
1ec2d489c3 phoronix-test-suite: disable systemd services by default
Unfortunately, the default behavior for at least the client service is to
reboot the machine if it encounters problems.  Since it is pretty
much guaranteed to need target specific configuration info, we
should not enable the service(s) by default.

Signed-off-by: Joe Slater <joe.slater@windriver.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2018-05-17 08:19:21 -07:00
Denys Dmytriyenko
6d97746298 lmbench: refresh local patches to avoid fuzz warnings
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2018-04-08 17:00:06 -07:00
Hains van den Bosch
3772686111 iperf3: refresh patch
WARNING: iperf3-3.2-r0 do_patch:
Some of the context lines in patches were ignored. This can lead to incorrectly applied patches.
The context lines in the patches can be updated with devtool:

    devtool modify <recipe>
    devtool finish --force-patch-refresh <recipe> <layer_path>

Then the updated patches and the source tree (in devtool's workspace)
should be reviewed to make sure the patches apply in the correct place
and don't introduce duplicate lines (which can, and does happen
when some of the context is ignored). Further information:
http://lists.openembedded.org/pipermail/openembedded-core/2018-March/148675.html
https://bugzilla.yoctoproject.org/show_bug.cgi?id=10450
Details:
Applying patch 0001-include-stdint.h-for-various-std-c99-int-types.patch
patching file src/cjson.h
Hunk #1 succeeded at 28 with fuzz 2 (offset 5 lines).
patching file src/timer.h

Now at patch 0001-include-stdint.h-for-various-std-c99-int-types.patch

Signed-off-by: Armin Kuster <akuster808@gmail.com>
2018-04-08 17:00:06 -07:00
Andreas Müller
dbdccc9efd glmark2: refresh Fix-configure-for-sqrt-check.patch
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2018-04-08 17:00:06 -07:00
Anuj Mittal
a1d8fc1434 phoronix-test-suite: upgrade 7.4.0 -> 7.8.0
List of changes here:

https://github.com/phoronix-test-suite/phoronix-test-suite/blob/master/ChangeLog

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2018-03-29 16:51:06 -07:00