blob: 7c30e2a32dd79ef78e079108f8907cf2e89513b3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
# $NetBSD: Makefile,v 1.18 2022/11/26 17:53:02 adam Exp $
DISTNAME= benchmark-1.7.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.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 "../../lang/python/application.mk"
.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|