pkgsrc/benchmarks/google-benchmark/Makefile
wiz 3aafd12f84 google-benchmark: update to 1.5.2.
Timestamps in output are now rfc3339-formatted #965
    overflow warnings with timers fixed #980
    Python dependencies are now covered by a requirements.txt #994
    JSON output cleaned up when no CPU scaling is present (#1008)
    CartesianProduct added for easier settings of multiple ranges (#1029)
    Python bindings improvements:
        Custom main functions (#993)
        A rename to google_benchmark (#199
        More state methods bound (#1037) with a builder interface (#1040)
    Workflow additions in github include pylint (#1039) and bindings runs (#1041)
2020-10-07 20:49:56 +00:00

33 lines
912 B
Makefile

# $NetBSD: Makefile,v 1.9 2020/10/07 20:49:56 wiz Exp $
DISTNAME= benchmark-1.5.2
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.5.2
# 97% tests passed, 2 tests failed out of 59
# The following tests FAILED:
# 49 - reporter_output_test (Child aborted)
# 51 - user_counters_test (Child 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"