summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-benchmark
Commit message (Collapse)AuthorAgeFilesLines
* glmark2: inherit python3native to fix build with python-3.12 on build hostMartin Jansa2024-01-121-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * fixes: | WARNING: Unable to execute waf --version, exit code 1. Assuming waf version without bindir/libdir support. | DEBUG: Python function waf_preconfigure finished | DEBUG: Executing shell function do_configure | Traceback (most recent call last): | File "/OE/build/luneos-kirkstone/tmp-glibc/work/core2-64-webos-linux/glmark2/2021.12-r0/git/./waf", line 163, in <module> | from waflib import Scripting | File "/OE/build/luneos-kirkstone/tmp-glibc/work/core2-64-webos-linux/glmark2/2021.12-r0/git/waflib/Scripting.py", line 6, in <module> | from waflib import Utils,Configure,Logs,Options,ConfigSet,Context,Errors,Build,Node | File "/OE/build/luneos-kirkstone/tmp-glibc/work/core2-64-webos-linux/glmark2/2021.12-r0/git/waflib/Configure.py", line 6, in <module> | from waflib import ConfigSet,Utils,Options,Logs,Context,Build,Errors | File "/OE/build/luneos-kirkstone/tmp-glibc/work/core2-64-webos-linux/glmark2/2021.12-r0/git/waflib/Options.py", line 6, in <module> | from waflib import Logs,Utils,Context,Errors | File "/OE/build/luneos-kirkstone/tmp-glibc/work/core2-64-webos-linux/glmark2/2021.12-r0/git/waflib/Context.py", line 5, in <module> | import os,re,imp,sys | ModuleNotFoundError: No module named 'imp' | WARNING: /OE/build/luneos-kirkstone/tmp-glibc/work/core2-64-webos-linux/glmark2/2021.12-r0/temp/run.do_configure.1263276:146 exit 1 from 'waf_do_configure' * this first issue can be fixed easily by backporting: https://gitlab.com/ita1024/waf/-/commit/d2060dfd8af4edb5824153ff24e207b39ecd67a2 * but then it still fails a bit later, because of SyntaxWarning in waf --version output: ERROR: glmark2-2021.12-r0 do_configure: Error executing a python function in exec_func_python() autogenerated: The stack trace of python calls that resulted in this exception/failure was: File: 'exec_func_python() autogenerated', lineno: 2, function: <module> 0001: *** 0002:waf_preconfigure(d) 0003: File: '/OE/build/luneos-kirkstone/openembedded-core/meta/classes/waf.bbclass', lineno: 52, function: waf_preconfigure 0048: wafbin = os.path.join(subsrcdir, 'waf') 0049: try: 0050: result = subprocess.check_output([python, wafbin, '--version'], cwd=subsrcdir, stderr=subprocess.STDOUT) 0051: version = result.decode('utf-8').split()[1] *** 0052: if bb.utils.vercmp_string_op(version, "1.8.7", ">="): 0053: d.setVar("WAF_EXTRA_CONF", "--bindir=${bindir} --libdir=${libdir}") 0054: except subprocess.CalledProcessError as e: 0055: bb.warn("Unable to execute waf --version, exit code %d. Assuming waf version without bindir/libdir support." % e.returncode) 0056: except FileNotFoundError: File: '/OE/build/luneos-kirkstone/bitbake/lib/bb/utils.py', lineno: 148, function: vercmp_string_op 0144: Compare two versions and check if the specified comparison operator matches the result of the comparison. 0145: This function is fairly liberal about what operators it will accept since there are a variety of styles 0146: depending on the context. 0147: """ *** 0148: res = vercmp_string(a, b) 0149: if op in ('=', '=='): 0150: return res == 0 0151: elif op == '<=': 0152: return res <= 0 File: '/OE/build/luneos-kirkstone/bitbake/lib/bb/utils.py', lineno: 138, function: vercmp_string 0134: return r 0135: 0136:def vercmp_string(a, b): 0137: """ Split version strings and compare them """ *** 0138: ta = split_version(a) 0139: tb = split_version(b) 0140: return vercmp(ta, tb) 0141: 0142:def vercmp_string_op(a, b, op): File: '/OE/build/luneos-kirkstone/bitbake/lib/bb/utils.py', lineno: 89, function: split_version 0085: """Split a version string into its constituent parts (PE, PV, PR)""" 0086: s = s.strip(" <>=") 0087: e = 0 0088: if s.count(':'): *** 0089: e = int(s.split(":")[0]) 0090: s = s.split(":")[1] 0091: r = "" 0092: if s.count('-'): 0093: r = s.rsplit("-", 1)[1] Exception: ValueError: invalid literal for int() with base 10: 'SyntaxWarning' ERROR: Logfile of failure stored in: /OE/build/luneos-kirkstone/tmp-glibc/work/core2-64-webos-linux/glmark2/2021.12-r0/temp/log.do_configure.1264918 so it's safer to just use python3-native everywhere, instead of more patches for waf Signed-off-by: Martin Jansa <martin.jansa@gmail.com> Signed-off-by: Armin Kuster <akuster808@gmail.com>
* iperf3: upgrade 3.11 -> 3.14Soumya Sambu2023-09-061-2/+2
| | | | | | | | | | | | | | | Upgrade iperf3 to 3.14 Fix CVE-2023-38403 and other bugs. The iperf3 release notes are available at: https://github.com/esnet/iperf/blob/99d738f496c96fd4fb50f45142e0bbc96bf71698/RELNOTES.md The only change in the LICENSE file was the year update: https://github.com/esnet/iperf/commit/6bfe27d82a3f74ad1239aba987a4fb75c1005078 Signed-off-by: Soumya Sambu <soumya.sambu@windriver.com> Signed-off-by: Armin Kuster <akuster808@gmail.com>
* phoronix-test-suite: Fix CVE-2022-40704Joe Slater2023-02-162-1/+51
| | | | | | | Add fix created after latest release (10.8.4). Signed-off-by: Joe Slater <joe.slater@windriver.com> Signed-off-by: Armin Kuster <akuster808@gmail.com>
* glmark2: fix compatibility with python-3.11Martin Jansa2022-08-052-1/+78
| | | | | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Armin Kuster <akuster808@gmail.com>
* iperf: Set CVE_PRODUCT to "iperf_project:iperf"Akash Hadke2022-06-152-0/+4
| | | | | | | | | | | | | | | Set CVE_PRODUCT as 'iperf_project:iperf' for iperf2 and iperf3 recipes, cve-check class is setting default CVE_PRODUCT to 'iperf2' and 'iperf3' respectively which ignores the iperf CVEs from NVD Database. Reference: CVE-2016-4303 Link: https://nvd.nist.gov/vuln/detail/CVE-2016-4303 Signed-off-by: Akash Hadke <akash.hadke@kpit.com> Signed-off-by: Akash Hadke <hadkeakash4@gmail.com> Signed-off-by: Armin Kuster <akuster808@gmail.com>
* phoronix-test-suite: upgrade 10.8.1 -> 10.8.2Trevor Gamblin2022-04-131-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 10.8.2 contains a fix for CVE-2022-0571. Full release notes (https://github.com/phoronix-test-suite/phoronix-test-suite/blob/master/ChangeLog): Phoronix Test Suite 10.8.2 13 February 2022 pts-core: Arch Linux external dependency updates pts-core: Workaround/fix PHP 5.4 usage with RHEL7-based distributions pts-core: Convert compiler / multicore / single-threaded test suites into virtual test suites since their properties can be auto-determined based on OB metadata to avoid manually maintaining them pts-core: Add virtual test suites for "riscv" and "aarch64" to make it easy to show test profiles that can run successfully on RISC-V and 64-bit Arm hardware phodevi: Improved detection for components found on the Steam Deck and other hardware phodevi: Add Arm Cortex-X1C detection phodevi: CPU temperature reporting for additional SoCs such as the Raspberry Pi 400 phoromatic: Additional input sanitization and validation improvements Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* glmark2: Fix build with gcc12Khem Raj2022-04-132-0/+25
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* fio: upgrade 3.29 -> 3.30wangmy2022-04-111-1/+1
| | | | | Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* iperf3: upgrade from 3.9 to 3.11Randy MacLeod2022-03-213-14/+12
| | | | | | | | | | The copyright dates were exteneded to 2022 so the LICENSE hash changed. Add some blank lines in the recipe to make it easier to read and refresh the patches to eliminate patch fuzz warnings. Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* recipes: Update LICENSE variable to use SPDX license identifiersKhem Raj2022-03-0413-13/+13
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* recipes: Use renamed SKIP_RECIPE varFlagKhem Raj2022-02-211-1/+1
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* phoronix-test-suite: upgrade 9.2.1 -> 10.8.1Trevor Gamblin2022-02-031-2/+2
| | | | | | | | | | 10.8.1 is the latest release, including fixes for CVE-2022-0196 and CVE-2022-0197. Since the version jump is significant, the release notes would be too long to list here. They can be found at https://github.com/phoronix-test-suite/phoronix-test-suite/releases. Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* glmark2: upgrade 2021.02 -> 2021.12zhengruoqin2021-12-271-2/+2
| | | | | Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* fio: upgrade 3.28 -> 3.29wangmy2021-12-211-1/+1
| | | | | Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* linpack: Build both sp and dp binariesKhem Raj2021-11-112-3/+39
| | | | | | This eases out running single-precision and double-precision benchmarks. Signed-off-by: Khem Raj <raj.khem@gmail.com>
* recipes: Update SRC_URI branch and protocolsRichard Purdie2021-11-039-9/+9
| | | | | | | | | This patch updates SRC_URIs using git to include branch=master if no branch is set and also to use protocol=https for github urls as generated by the conversion script in OE-Core. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* fio: Upgrade to 3.28Khem Raj2021-09-241-1/+1
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* Convert to new override syntaxMartin Jansa2021-08-0312-43/+43
| | | | | | | | | | 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>
* libhugetlbfs: Disable build with glibc 2.34+Khem Raj2021-08-031-0/+3
| | | | | | | | | | 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>
* mbw: add new recipeNicolas Dechesne2021-07-271-0/+18
| | | | | | | | 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>
* sysbench: fix memory testmassimo toscanelli2021-07-132-1/+43
| | | | | | | | | | | | | | | | | 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>
* libc-bench: Do not override ldflags in makefileKhem Raj2021-06-262-0/+31
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* iozone3: upgrade 490 -> 492zhengruoqin2021-06-102-16/+23
| | | | | | | | Refresh the following patch: parallelism.patch Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* memtester: upgrade 4.5.0 -> 4.5.1zhengruoqin2021-06-031-2/+2
| | | | | Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* fio: upgrade 3.26 -> 3.27zhengruoqin2021-06-031-1/+1
| | | | | Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* qperf: add qperf recipeGuy Morand2021-05-311-0/+19
| | | | | Signed-off-by: Guy Morand <guy@guy-morand.ch> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* tinymembench: Correct PVPersian Prince2021-03-281-1/+1
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* glmark2: also depend on wayland-protocols when wayland distro feature is onDenys Dmytriyenko2021-03-281-1/+1
| | | | | | | | | | | | | | | | | | | | 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>
* glmark2: upgrade 20201114 -> 2021.02zhengruoqin2021-03-192-141/+2
| | | | | Signed-off-by: Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* fio: upgrade 3.25 -> 3.26zangrc2021-03-161-1/+1
| | | | | Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* libhugetlbfs: Fix ARCH setting for ppc64 LEKhem Raj2021-03-121-1/+1
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* lmbench: Install cache command and fix typos in manual pageYanfei Xu2021-02-232-0/+32
| | | | | | | | 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>
* libhugetlbfs: improve reproducibilityOleksiy Obitotskyy2021-02-082-0/+32
| | | | | | | | | 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>
* iperf3: fix build with autoconf 2.71Andrey Zhizhikin2021-02-042-0/+32
| | | | | | | | | | | | 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>
* lmbench: lat_fifo: Fix cleanup sequenceHe Zhe2021-01-252-0/+43
| | | | | | | | 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>
* lmbench: Fix webpage-lm and manual page typosHe Zhe2021-01-253-0/+180
| | | | | | | | /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>
* lmbench: Fix setting LDLIBS failureHe Zhe2021-01-051-1/+1
| | | | | | | | | | | | | 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>
* glmark2: fix precision handling bugsTrevor Woerner2020-12-182-0/+139
| | | | | | | | | | | 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>
* fio: upgrade 3.24 -> 3.25zangrc2020-12-181-1/+1
| | | | | Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* glmark2: revert to previous behaviourTrevor Woerner2020-12-101-3/+4
| | | | | | | | | | - 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>
* glmark2: add support for dispmanxTrevor Woerner2020-12-033-7/+168
| | | | | | | | | | | | | | | 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>
* glmark2: update to latestTrevor Woerner2020-12-031-2/+3
| | | | | Signed-off-by: Trevor Woerner <twoerner@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* glmark2: update informationTrevor Woerner2020-12-031-2/+2
| | | | | | | | 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>
* fio: upgrade 3.22 -> 3.24zangrc2020-11-231-1/+1
| | | | | Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* glmark2: no need to patch wafRoss Burton2020-10-182-14/+1
| | | | | | | | 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>
* memtester: upgrade 4.4.0 -> 4.5.0Zang Ruochen2020-10-141-2/+2
| | | | | Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* utouch-*, ifenslave, iozone3, ttf-honkyfonts, python3-smbus: don't use ↵Martin Jansa2020-10-091-1/+1
| | | | | | | | | | | 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>
* memtester: upgrade 4.3.0 -> 4.4.0Zang Ruochen2020-09-172-60/+2
| | | | | Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* libhugetlbfs: revert one commit from 2.23 to work around build error on armMartin Jansa2020-09-162-0/+211
| | | | | | | | | | | | * 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>
* libhugetlbfs: upgrade 2.22 -> 2.23Zang Ruochen2020-09-102-44/+2
| | | | | | | | 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>