46357a5b7e
v1.8.3 Fix broken PFM-enabled tests Update tools.md for missing color meaning Add pyproject.toml file for PEP518 compliance pfm: Use a more standard CMake approach for finding libpfm Bump nanobind to stable v1.4.0 tag Bump scipy from 1.5.4 to 1.10.0 in /tools Downgrade bazel to windows-2019 Add tests for Human Readable functionality Delete unused requirements file, simplify nanobind build file Update bzlmod support to new rules_python extension API Re-enable windows-latest tests for newer Bazel Fix -Werror,-Wold-style-cast build failure on Windows. Mark internal deps as dev_depenencies so that downstream modules don't require those bug: Inconsistent suffixes console reporter 1009 Fix IntelLLVM compiler error fix: added benchmark_counters_tabular for file [perf-counters] Fix pause/resume sysinfo.cc: Call getloadavg for Android API >= 29 benchmark.cc: Fix benchmarks_with_threads condition perf-counters: Make tests pass on Android State: Initialize counters with kAvgIteration in constructor perf_counters: Initialize once only when needed test: Use gtest_main only when needed StatisticsMedian: Fix bug
34 lines
954 B
Makefile
34 lines
954 B
Makefile
# $NetBSD: Makefile,v 1.24 2023/08/31 17:22:52 adam Exp $
|
|
|
|
DISTNAME= benchmark-1.8.3
|
|
PKGNAME= google-${DISTNAME}
|
|
CATEGORIES= benchmarks
|
|
MASTER_SITES= ${MASTER_SITE_GITHUB:=google/}
|
|
GITHUB_PROJECT= benchmark
|
|
GITHUB_TAG= v${PKGVERSION_NOREV}
|
|
|
|
MAINTAINER= minskim@NetBSD.org
|
|
HOMEPAGE= https://github.com/google/benchmark
|
|
COMMENT= Microbenchmark support library
|
|
LICENSE= apache-2.0
|
|
|
|
USE_LANGUAGES= c c++
|
|
CMAKE_ARGS+= -DBENCHMARK_ENABLE_GTEST_TESTS=OFF
|
|
CMAKE_ARGS+= -DCMAKE_BUILD_TYPE=Release
|
|
|
|
# as of 1.7.0
|
|
# 97% tests passed, 2 tests failed out of 64
|
|
# The following tests FAILED:
|
|
# 55 - user_counters_test (Subprocess aborted)
|
|
# 60 - user_counters_tabular_test (Subprocess aborted)
|
|
TEST_TARGET= test
|
|
|
|
BUILDLINK_TRANSFORM+= rm:-Werror
|
|
|
|
PYTHON_FOR_BUILD_ONLY= yes
|
|
REPLACE_PYTHON= *.py */*.py */*/*.py
|
|
|
|
.include "../../devel/cmake/build.mk"
|
|
.include "../../lang/python/application.mk"
|
|
.include "../../mk/pthread.buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|