pkgsrc/benchmarks/google-benchmark/Makefile
wiz 94e8cc7f84 google-benchmark: update to 1.6.1.
Fixes

    Remove unused parameter from lambda. by @dominichamon in #1223
    Optimized docs installation by @xvitaly in #1225
    Fix mention of --benchmarks in comment by @oontvoo in #1229
    cmake: eliminate redundant target_include_directories by @sergiud in #1242
    Cmake: options for controlling werror, disable werror for PGI compilers by @PhilipDeegan in #1246
    Fix -Wdeprecated-declarations warning triggered by clang-cl. by @bc-lee in #1245
    cmake: make package config relocatable by @sergiud in #1244
    cmake: allow to use package config from build directory by @sergiud in #1240
    Fix -Wdeprecated-declarations warning once more. by @bc-lee in #1256
    Fix un-initted error in test and fix change the API previously proposed to use std::string instead of raw char* by @oontvoo in #1266
    [cleanup] Change == "" to .empty() on string to avoid clang-tidy warnings by @oontvoo in #1271
    Fix errorWshorten-64-to-32 with clang 12.0 by @bensuperpc in #1273
    Fix error with Fix Werror=old-style-cast by @bensuperpc in #1272
    Fixed typo in doc: s/marcro/macro by @oontvoo in #1274
    Fix warning with MacOS by @bensuperpc in #1276
    clang-format Google on {src/,include/} by @dominichamon in #1280
    format tests with clang-format by @dominichamon in #1282
    check clang format on pull requests and merges by @dominichamon in #1281
    Fix dependency typo and unpin cibuildwheel version in wheel building … by @nicholasjng in #1263
    disable lint check where we know it'd fail by @oontvoo in #1286
    Disable clang-tidy (unused-using-decls) by @oontvoo in #1287
    Add clang-tidy check by @dominc8 in #1290
    Fix broken link to Setup/Teardown section by @Krzmbrzl in #1291
    Update user_guide.md: thread_index should be thread_index() by @ShawnZhong in #1296
    clang-tidy: readability-redundant and performance by @dominc8 in #1298
    update googletest to latest release tag 1.11.0 by @dominichamon in #1301
    Avoid errors due to "default label in switch which covers all enumeration values" in Windows codepath by @mstorsjo in #1302
    Fix -DBENCHMARK_ENABLE_INSTALL=OFF build (Fixes #1275) by @LebedevRI in #1305
    Address c4267 warning on MSVC by @staffantj in #1315
    Destructor not returning is expected in some cases by @staffantj in #1316

Features

    Added support of packaged GTest for running unit tests by @xvitaly in #1226
    Introduce additional memory metrics by @oontvoo in #1238
    Added Doxygen support by @xvitaly in #1228
    Allow template arguments to be specified directly on the BENCHMARK macro by @oontvoo in #1262
    [RFC] Adding API for setting/getting benchmark_filter flag? by @oontvoo in #1254
    use docker container for ubuntu-16.04 builds by @dominichamon in #1265
    Support for building with LLVM clang-10/clang-11 on Windows. by @alisenai in #1227
    Add Setup/Teardown option on Benchmark. by @oontvoo in #1269
    compare.py: compute and print 'OVERALL GEOMEAN' aggregate by @LebedevRI in #1289
2022-01-16 23:09:35 +00:00

35 lines
979 B
Makefile

# $NetBSD: Makefile,v 1.15 2022/01/16 23:09:35 wiz Exp $
DISTNAME= benchmark-1.6.1
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_CMAKE= yes
USE_LANGUAGES= c c++
CMAKE_ARGS+= -DBENCHMARK_ENABLE_GTEST_TESTS=OFF
CMAKE_ARGS+= -DCMAKE_BUILD_TYPE=Release
# as of 1.6.0
# 95% tests passed, 3 tests failed out of 61
# The following tests FAILED:
# 50 - reporter_output_test (Subprocess aborted)
# 52 - user_counters_test (Subprocess aborted)
# 57 - user_counters_tabular_test (Subprocess aborted)
TEST_TARGET= test
BUILDLINK_TRANSFORM+= rm:-Werror
PYTHON_FOR_BUILD_ONLY= yes
REPLACE_PYTHON= *.py */*.py */*/*.py
.include "../../lang/python/application.mk"
.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"