16 Commits

Author SHA1 Message Date
Wang Mingyu 53f62e7e2e googlebenchmark: upgrade 1.9.4 -> 1.9.5
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2026-01-30 23:59:06 -08:00
Khem Raj 5226464803 googlebenchmark: Disable c2y extentions diagnostics
clang-22 now finds __COUNTER__ and it complains

| sources/googlebenchmark-1.9.4/src/benchmark.cc:15:
| sources/googlebenchmark-1.9.4/include/benchmark/benchmark.h:1461:30: error: '__COUNTER__' is a C2y extension [-Werror,-Wc2y-extensions]
|  1461 | #if defined(__COUNTER__) && (__COUNTER__ + 1 == __COUNTER__ + 0)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-11-15 17:10:46 -08:00
Alexander Kanavin fc78d37ff0 meta-openembedded/all: adapt to UNPACKDIR changes
Please see
https://git.yoctoproject.org/poky/commit/?id=4dd321f8b83afecd962393101b2a6861275b5265
for what changes are needed, and sed commands that can be used to make them en masse.

I've verified that bitbake -c patch world works with these, but did not run a world
build; the majority of recipes shouldn't need further fixups, but if there are
some that still fall out, they can be fixed in followups.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-06-25 06:44:52 -07:00
Wang Mingyu 8d2a91e182 googlebenchmark: upgrade 1.9.3 -> 1.9.4
Changelog:
=============
- Update build instructions for Visual Studio
- MaybeReenterWithoutASLR(): be more cautious about argument types
- Fix MaybeReenterWithoutASLR() in docker
- Enable Google Benchmark to run in WebAssembly with filesystem disabled
- wheels: Build Linux ARM wheels natively on ARM runners

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-06-09 21:24:09 -07:00
Wang Mingyu a84811b98f googlebenchmark: upgrade 1.9.2 -> 1.9.3
Changelog:
============
- Use the top-level ::benchmark namespace to resolve make_unique
- Refactor threading run
- Threading api v3
- Templated fixture methods
- Macro fix
- Deprecate ubuntu-20.04 images in actions
- deps: Update nanobind_bazel to v2.7.0
- Fix error handling of getloadavg
- Improve user UX on empty benchmarks
- Detect and report ASLR status
- Automatic ASLR disablement
- dev: Update pre-commit hooks

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-05-21 07:38:23 -07:00
Yi Zhao 56bc501320 googlebenchmark: upgrade 1.9.1 -> 1.9.2
ChangeLog
https://github.com/google/benchmark/releases/tag/v1.9.2

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-03-31 14:42:07 -07:00
Changqing Li 04bb919a95 googlebenchmark: upgrade 1.8.4 -> 1.9.1
* Remove following two patches, alreay included in 1.9.1
0001-cycleclock-Fix-type-conversion-to-match-function-ret.patch
0002-cycleclock-Fix-type-conversion-to-match-function-ret.patch
* Change log
https://github.com/google/benchmark/releases

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-03-11 19:35:31 -07:00
Khem Raj 185e779bad googlebenchmark: Fix build on riscv64
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-06-11 07:45:18 -07:00
Khem Raj 2b33e916ff googlebenchmark: Update patch and its status to backport
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-06-07 21:53:33 -07:00
Khem Raj 2452baba07 googlebenchmark: Fix type conversion errors found with clang
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-05-30 08:42:01 -07:00
Wang Mingyu 808f2bf90b googlebenchmark: upgrade 1.8.3 -> 1.8.4
Changelog:
 https://github.com/google/benchmark/releases/tag/v1.8.4

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-05-28 09:34:29 -07:00
Khem Raj 30f05aea11 googlebenchmark: upgrade 1.8.0 -> 1.8.3
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-11-05 22:27:14 -08:00
Wang Mingyu 9cf20b9648 googlebenchmark: upgrade 1.7.1 -> 1.8.0
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-05-08 21:37:55 -07:00
Wang Mingyu fc3acc6ff4 googlebenchmark: upgrade 1.7.0 -> 1.7.1
Changelog:
==========

    Remove stray comment and added missing header
    Initialize help hook before actually parsing the command line
    remove unnecessary generated include directory
    Fixed build issues on window
    Explicitly cast int literals to int8_t in tests to silence implicit-conversion warnings
    Ensure we don't need benchmark installed to pass c++ feature checks
    Avoid deprecation warning in NVHPC
    run ClearRegisteredBenchmarks at exit
    FIx typo in benchmark.h
    add debug option for enabling more output for failed cxxfeaturechecks
    Fix link error when use as static library on windows.
    use CMAKE_INSTALL_FULL in pkg-config file (fixes nix package)
    Clean up test documentation formatting
    Enable aarch64 Linux wheel builds, use cibuildwheel action directly
    Eliminate usage of deprecated API in sysinfo.cc
    Stop using pandas.Timedelta (fixes #1482)
    Discuss sources of variance in the user guide
    Bump pybind11 version to enable Python 3.11 wheel builds
    bump cmake dep and docs
    Support for QuRT OS (Hexagon RTOS)
    Fix Solaris compilation (#1499)
    Do not depend on unversioned python binary
    Partially revert "Do not depend on unversioned python binary (#1496)"
    Add information for supported Python versions to setup.py
    [bazel] Build libpfm as a dependency to allow collection of perf counters

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-11-19 08:11:45 -08:00
wangmy 86b58eb819 googlebenchmark: upgrade 1.6.1 -> 1.7.0
Changelog from 1.6.1 to 1.7.0:
==========
  Stop generating the export header and just check it in
  use target_compile_definitions
  simplified code
  Add docs for ThreadRange.
  Add docs on Memory profiling (#1217).
  Suppress GoogleTest warnings on windows (MSVC) too.
  Expand documentation for unpacking arbitrary arguments.
  Refine docs on changing cpufreq governor
  Refine the User Guide CPU Frequency Scaling section
  Fix some errors in Custom Statistics document demo code.
  Cache PerfCounters instance in PerfCountersMeasurement
  Fix cross compilation for macOS ARM builds in cibuildwheel
  bump numby, as per dependabot
  Use Win32 API only for Win32 apps
  Add mutex when reading counters_ (Fixes #1335)
  Avoid potential truncation issues for the integral type parameterized tests.
  Expose default display reporter creation in public API
  explicitly export public symbols
  Check for macro existence before using
  simplify reference to internal path
  Introduce the possibility to customize the help printer function
  move bzl file out of tools
  resolve case sensitivity issues with WORKSPACE and workspace
  Make generate_export_header.bzl work for Windows.
  @platforms is magical; remove it from WORKSPACE.
  restore BENCHMARK_MAIN()
  Allow setting the default time unit globally
  Add long description and content type for proper PyPI presentation
  Add SetBenchmarkFilter() to set --benchmark_filter flag value in user code
  Add PyPI upload job to wheel building workflow
  Fix float comparaison and add float comparison warning
  Add BENCHMARK_STATIC_DEFINE to the Python bindings' cc_binary local…
  Remove conditional trigger from PyPI upload job
  Change artifact download name to dist to match upload name
  Build //:benchmark as a static library only.
  Fix Bazel build breakage caused by commit 6a894bd.
  [nfc] Reformat doc-string in generate_export_header
  Updates for inclusive language
  getting sysinfo in line with Google style
  Small optimization to counter map management
  Shut down Bazel gracefully and revert wheel build strategy to job matrix
  Fix wheel job name for PyPI uploads
  Filter out benchmarks that start with "DISABLED_"
  Add benchmark labels to the output of the comparison tool
  Enable -Wconversion
  Add installation and build instructions for Python bindings
  fix some typos
  Add option to get the verbosity provided by commandline flag -v (#1330)
  Add support to get clock for new architecture CSKY
  Introduce warmup phase to BenchmarkRunner (#1130)
  Report large numbers in scientific notation in console reporter (#1303)
  add multiple OSes to bazel workflow
  Add possibility to ask for libbenchmark version number (#1004)
  Fix DoNotOptimize() GCC copy overhead (#1340)
  Clarify that the cpu frequency is not used for benchmark timings.
  Revert "Add possibility to ask for libbenchmark version number (#1004)"
  Remove redundant formatting tags
  Fix DoNotOptimize() GCC compile error with some types (#1340)
  Expose default help printer function
  fix sanitizer builds by using clang 13
  Suppress nvcc offsetof warning
  Expose google_benchmark.State for python bindings.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-07-26 20:54:55 -04:00
Justin Bronder d1f0e8c834 googlebenchmark: add 1.6.1
As meta-oe already has googletest, it seems appropriate to me to also
add googlebenchmark which is structured quite similarly.

Signed-off-by: Justin Bronder <jsbronder@cold-front.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-02-14 15:23:32 -08:00