291 Commits

Author SHA1 Message Date
Martin Jansa
c61dc077bb Convert to new override syntax
This is the result of automated script (0.9.1) conversion:

oe-core/scripts/contrib/convert-overrides.py .

converting the metadata to use ":" as the override character instead of "_".

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2021-08-03 10:21:25 -07:00
Khem Raj
c5f7cfb8db libhugetlbfs: Disable build with glibc 2.34+
It uses __morecore internal function from glibc which has been removed
in 2.34+ and replacing it is not so simple and upstream needs to fix it
see [1]

[1] https://github.com/libhugetlbfs/libhugetlbfs/issues/52

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-08-03 10:21:25 -07:00
Nicolas Dechesne
c8992dc771 mbw: add new recipe
The last release/tag is 1.4 but it's from 2014. So use current head
for now.

Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-07-27 09:52:23 -07:00
massimo toscanelli
59cce5ad16 sysbench: fix memory test
In sysbench version 0.4, the tmp variable used by the memory test to
execute requests is optimized by the compiler. Caching mechanism reduces
the direct accesses to the memory increasing the transfer speed. This
leads to false timing estimations that considerably affect read and
also random write operations.

In sysbench version 1, this issue is fixed adding the volatile modifier
to the tmp variable. This prevents compiler optimizations forcing a direct
access to the memory.

The final result is a realistic transfer speed measurement.

Signed-off-by: massimo toscanelli <massimo.toscanelli@leica-geosystems.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-07-13 09:39:15 -07:00
Khem Raj
4b5e0df086 libc-bench: Do not override ldflags in makefile
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-06-26 00:45:10 -07:00
zhengruoqin
e343088c7e iozone3: upgrade 490 -> 492
Refresh the following patch:
parallelism.patch

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-06-10 07:06:34 -07:00
zhengruoqin
7e392ce174 memtester: upgrade 4.5.0 -> 4.5.1
Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-06-03 09:13:52 -07:00
zhengruoqin
17f07baff8 fio: upgrade 3.26 -> 3.27
Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-06-03 09:13:52 -07:00
Guy Morand
a4309fb664 qperf: add qperf recipe
Signed-off-by: Guy Morand <guy@guy-morand.ch>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-05-31 15:01:22 -07:00
Persian Prince
409a6dc00f tinymembench: Correct PV
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-03-28 12:12:58 -07:00
Denys Dmytriyenko
3c41c25774 glmark2: also depend on wayland-protocols when wayland distro feature is on
Fixes this:
| Checking for 'libpng12'                  : not found
| Checking for 'libpng15'                  : not found
| Checking for 'libpng16'                  : yes
| Checking for 'x11'                       : not found
| Checking for 'libdrm'                    : yes
| Checking for 'gbm'                       : yes
| Checking for 'libudev'                   : yes
| Checking for 'mirclient'                 : not found
| Checking for 'wayland-client'            : yes
| Checking for 'wayland-cursor'            : yes
| Checking for 'wayland-egl'               : yes
| Checking for 'wayland-protocols'         : not found
| The configuration failed

Signed-off-by: Denys Dmytriyenko <denis@denix.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-03-28 12:12:58 -07:00
zhengruoqin
f89473d972 glmark2: upgrade 20201114 -> 2021.02
Signed-off-by: Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-03-19 01:19:14 -07:00
zangrc
8a68829eb9 fio: upgrade 3.25 -> 3.26
Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-03-16 21:37:14 -07:00
Khem Raj
4c24077ae1 libhugetlbfs: Fix ARCH setting for ppc64 LE
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-03-12 15:55:07 -08:00
Yanfei Xu
367685ac88 lmbench: Install cache command and fix typos in manual page
Cache command was omitted when install, now add it.
Fix a few typos in lat_unix_connect manual page.

Signed-off-by: Yanfei Xu <yanfei.xu@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-02-23 11:08:21 -08:00
Oleksiy Obitotskyy
5423b58aa4 libhugetlbfs: improve reproducibility
CPPFLAGS was overrided for tests, so we
missing DEBUG_PREFIX_MAP and got absolute
path in binary.

Signed-off-by: Oleksiy Obitotskyy <oobitots@cisco.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-02-08 10:17:23 -08:00
Andrey Zhizhikin
4767b1ea6c iperf3: fix build with autoconf 2.71
Add patch that checks for CPP prog, which helps to resolve build
errors:

../git/configure: line 14427: CPP: command not found
| ../git/configure: line 14553: ac_fn_c_try_cpp: command not found
| ../git/configure: line 14553: ac_fn_c_try_cpp: command not found

Signed-off-by: Andrey Zhizhikin <andrey.z@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-02-04 08:54:38 -08:00
He Zhe
36b25ecd94 lmbench: lat_fifo: Fix cleanup sequence
Files should be unlinked after all users exit. Otherwise we might experience
(w) read/write on pipe: No such file or directory

Signed-off-by: He Zhe <zhe.he@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-01-25 14:34:06 -08:00
He Zhe
51614ac651 lmbench: Fix webpage-lm and manual page typos
/usr/binlmbench references src/webpages which was never copied to target.
Fix this and a bunch of typos in manual pages

Signed-off-by: He Zhe <zhe.he@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-01-25 14:34:06 -08:00
He Zhe
a6a8fc75ba lmbench: Fix setting LDLIBS failure
scripts/build is interpreted as an sh script which may not recognize variable
assignment operator += and thus give the following error and fail to append
LDLIBS.

../scripts/build: 21: ../scripts/build: LDLIBS+=-lm: not found

Use the basic assignment instead.

Signed-off-by: He Zhe <zhe.he@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-01-05 23:12:54 -08:00
Trevor Woerner
9f76cb0f18 glmark2: fix precision handling bugs
This patch comes from Alyssa Rosenzweig and fixes/clarifies glmark2's
handling of fp16 overflows which result in corrupted rendering on some
drivers.

See: https://github.com/glmark2/glmark2/pull/132

Signed-off-by: Trevor Woerner <twoerner@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-12-18 12:17:38 -08:00
zangrc
cb81bc73a4 fio: upgrade 3.24 -> 3.25
Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-12-18 08:23:14 -08:00
Trevor Woerner
936f2380bb glmark2: revert to previous behaviour
- use "drm-gles2" as the default PACKAGECONFIG outside of any defined
  DISTRO_FEATURES
- use a version string that includes the full date of the latest git change
  (not just: <year>.<month>)

Signed-off-by: Trevor Woerner <twoerner@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-12-10 22:33:58 -08:00
Trevor Woerner
9fe11cc8a9 glmark2: add support for dispmanx
Upstream glmark2 includes support for running glmark2 on a RaspberryPi via the
dispmanx interface, as is provided by "userland".

The build depends on x11, but this is a quirk of the upstream sources. One
can easily build a minimal image without any x11/wayland on which to run
dispmanx applications directly (including glmark2).

NOTE: unlike with other flavours, one can only build the dispmanx-eglv2
      flavour on its own (this is a constraint of the glmark2 build)

Signed-off-by: Trevor Woerner <twoerner@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-12-03 22:32:56 -08:00
Trevor Woerner
5958cfcf99 glmark2: update to latest
Signed-off-by: Trevor Woerner <twoerner@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-12-03 22:32:56 -08:00
Trevor Woerner
09008b389d glmark2: update information
According to https://launchpad.net/glmark2 the preferred "home" and bugtracker
for the project are on github.

Signed-off-by: Trevor Woerner <twoerner@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-12-03 22:32:56 -08:00
zangrc
a62201c7a7 fio: upgrade 3.22 -> 3.24
Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-11-23 07:09:33 -08:00
Ross Burton
4ba8f6cb21 glmark2: no need to patch waf
Now that waf.bbclass in oe-core uses Python 3 explictly we don't need to
patch glmark.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-10-18 12:45:33 -07:00
Zang Ruochen
be13ef4acd memtester: upgrade 4.4.0 -> 4.5.0
Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-10-14 10:04:09 -07:00
Martin Jansa
cc512cd9e1 utouch-*, ifenslave, iozone3, ttf-honkyfonts, python3-smbus: don't use trailing slash in S
* see oe-core base.bbclass changes from:
  https://lists.openembedded.org/g/openembedded-core/message/143159
  https://lists.openembedded.org/g/openembedded-core/message/143161

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-10-09 17:22:31 -07:00
Zang Ruochen
a31ce8fe91 memtester: upgrade 4.3.0 -> 4.4.0
Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-09-17 08:56:33 -07:00
Martin Jansa
fd96948662 libhugetlbfs: revert one commit from 2.23 to work around build error on arm
* works around
  ERROR: libhugetlbfs-1_2.23-r0 do_populate_sysroot: Fatal errors occurred in subprocesses:
  Command '['arm-oe-linux-gnueabi-strip', '--remove-section=.comment', '--remove-section=.note', 'libhugetlbfs/1_2.23-r0/sysroot-destdir/usr/lib/libhugetlbfs/tests/obj32/linkhuge_rw']' returned non-zero exit status 1.
  Subprocess output:arm-oe-linux-gnueabi-strip:
  libhugetlbfs/1_2.23-r0/sysroot-destdir/usr/lib/libhugetlbfs/tests/obj32/stmuFa58: error: PHDR segment not covered by LOAD segment
  arm-oe-linux-gnueabi-strip: libhugetlbfs/1_2.23-r0/sysroot-destdir/usr/lib/libhugetlbfs/tests/obj32/stmuFa58[.interp]: file format not recognized

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-09-16 17:24:44 -07:00
Zang Ruochen
f36c1ba1ca libhugetlbfs: upgrade 2.22 -> 2.23
0001-tests-add-explicit-permissions-to-open-call.patch
Removed since this is included in 2.23

Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-09-10 21:20:23 -07:00
Khem Raj
0bfce1c8eb lmbench: Use update alternatives for stream
stream is also provided by imagemagick as an alternative

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-08-31 09:52:38 -07:00
Zang Ruochen
b2bbacfc57 iperf3: upgrade 3.7 -> 3.9
-License-Update: Copyright year updated to 2020.

Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-08-31 08:30:20 -07:00
Zang Ruochen
85af6c1f18 fio: upgrade 3.21 -> 3.22
Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-08-31 08:30:20 -07:00
Khem Raj
4c11628581 memtester: Fix build with -fno-common
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-08-13 22:32:08 -07:00
Mingli Yu
b3d6f4f85f fio: upgrade to 3.21
Remove 2 patches as these logics have been already included in the
new version as [1] and [2].

[1] https://git.kernel.dk/?p=fio.git;a=commit;h=8629f5f5c24e8a02c0a168cff22a40ec0788bb2d
[2] https://git.kernel.dk/?p=fio.git;a=commit;h=10ee8843e79763e8b6ff967f8a2b5d5b92411f90

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-08-10 11:04:21 -07:00
Zang Ruochen
c60536fd2a iozone3: upgrade 489 -> 490
Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-07-28 12:23:15 -07:00
Matt Hoosier
482cb703fa glmark2: don't build full OpenGL backends by default
Most embedded GPU's implementations OpenGL include only the OpenGL ES
APIs. Attempting to compile the {x11,wayland,drm}-gl variants of
GLMark fail in those cases.

Signed-off-by: Matt Hoosier <matt.hoosier@garmin.com>
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-07-16 09:53:26 -07:00
Alexander Vickberg
740bdb3e79 iperf3: Add OpenSSL build option to PACKAGECONFIG
Make building with OpenSSL optional but enabled by default as today.

Signed-off-by: Alexander Vickberg <wickbergster@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-05-05 16:23:36 -07:00
Liwei Song
d104def001 fio: disable compiler optimizations for x86 arch
with compiler optimizations enabled, "fio --help" will failed with
"Illegal instruction" on Intel Denverton board.
Enable it on condition that MACHINE_FEATURES include x86.

Related commits:
https://git.openembedded.org/meta-openembedded/commit/?id=c58d9d500f90246d2d879e720fdfa5bbbc731c7f
https://git.openembedded.org/meta-openembedded/commit/?id=739349da0826221f98648b64b693f9ae33e7d4ea

Signed-off-by: Liwei Song <liwei.song@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-03-13 10:57:21 -07:00
Changqing Li
d178745cbf conf/layer.conf: add BBFILES_DYNAMIC and dynamic layers
some recipes under meta-oe have dependency on meta-python,
and test_world of yocto-check-layer will failed with error
like:

ERROR: test_world (common.CommonCheckLayer)
ERROR: Nothing PROVIDES 'python3-pytoml-native' (but
/meta-openembedded/meta-oe/recipes-extended/mozjs/mozjs_60.9.0.bb
DEPENDS on or otherwise requires it). Close matches:
  python3-numpy-native
  python3-pycairo-native
  python3-rpm-native
ERROR: Required build target 'meta-world-pkgdata' has no buildable
providers.
Missing or unbuildable dependency chain was: ['meta-world-pkgdata',
'mozjs', 'python3-pytoml-native']

fix by make these recipes only active when identified layers are
present

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-03-11 08:58:57 -07:00
Joshua Watt
72d403364c glmark2: Update to latest version
Updates to the most recent version of glmark2. In particular, this fixes
problems where the benchmark would fail to start due to improper
handling of EGL_NO_DISPLAY with EGL 1.5

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-03-10 13:49:35 -07:00
Slater, Joseph
1b8d355149 fio: change four python shebangs
Use python3.  Note that the recipe already depends on python3-core
at runtime.  We only change scripts that show up under /usr/bin.

Signed-off-by: Joe Slater <joe.slater@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-02-27 17:24:19 -08:00
onathan Richardson
c58d9d500f fio: remove disabling of compiler optimizations
Disabling compiler optimizations affects fio performance by 25-30% so
remove this from EXTRA_OECONF. Disabling of optimizations should be
machine specific if there are bugs in the code instead of the default.

Optimizations were removed in this commit:
https://git.openembedded.org/meta-openembedded/commit/?id=739349da0826221f98648b64b693f9ae33e7d4ea

Signed-off-by: Jonathan Richardson <jonathan.richardson@broadcom.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-02-20 08:22:32 -08:00
Khem Raj
696408ce36 pm-graph: Provide analyze-suspend as well
Remove stale analyze-suspend recipe

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-02-18 20:52:00 -08:00
Tim Orling
16fd296360 phoronix-test-suite: add missing mime and mime-xdg inherit
Fixes:
"
WARNING: phoronix-test-suite-9.2.1-r0 do_package_qa: QA Issue:
         package contains desktop file with key 'MimeType' but does not inhert mime-xdg:
         phoronix-test-suite path '/work/all-oe-linux/phoronix-test-suite/9.2.1-r0/packages-split/ \
         phoronix-test-suite/usr/share/applications/phoronix-test-suite-launcher.desktop' [mime-xdg]
WARNING: phoronix-test-suite-9.2.1-r0 do_package_qa: QA Issue:
         package contains mime types but does not inhert mime:
         phoronix-test-suite path '/work/all-oe-linux/phoronix-test-suite/9.2.1-r0/packages-split/ \
         phoronix-test-suite/usr/share/mime/packages/openbenchmarking-mime.xml' [mime]
"

Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-02-15 08:05:07 -08:00
Mingli Yu
0b7e50f7be iozone3: Upgrade to 489
Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-02-13 14:07:47 -08:00
Yongxin Liu
392484ae21 fio: Add support for PMDK engines
"pmemblk", "dev-dax" and "libpmem" engines are used for persistent memory.
In order to enable them, add "pmem" to MACHINE_FEATURES in BSP conf.

Signed-off-by: Yongxin Liu <yongxin.liu@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-02-04 18:45:46 -08:00