git: 6db06f48f7f1 - main - devel/benchmark: Fix tests
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 09 Aug 2022 19:35:13 UTC
The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=6db06f48f7f17c858b4022ca6a7b733faf59dce7 commit 6db06f48f7f17c858b4022ca6a7b733faf59dce7 Author: Yuri Victorovich <yuri@FreeBSD.org> AuthorDate: 2022-08-09 19:34:37 +0000 Commit: Yuri Victorovich <yuri@FreeBSD.org> CommitDate: 2022-08-09 19:35:08 +0000 devel/benchmark: Fix tests --- devel/benchmark/Makefile | 11 ++++------- devel/benchmark/distinfo | 4 +++- 2 files changed, 7 insertions(+), 8 deletions(-) diff --git a/devel/benchmark/Makefile b/devel/benchmark/Makefile index bd8de2993ce6..7271de8800b5 100644 --- a/devel/benchmark/Makefile +++ b/devel/benchmark/Makefile @@ -9,24 +9,21 @@ COMMENT= Microbenchmark support library LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE -USES= cmake compiler:c++11-lang +USES= cmake:testing compiler:c++11-lang USE_LDCONFIG= yes USE_GITHUB= yes GH_ACCOUNT= google +GH_TUPLE= google:googletest:release-1.12.1:googletest # requires googletest sources for some reason, see https://github.com/google/benchmark/issues/979 CMAKE_ON= BUILD_SHARED_LIBS CMAKE_OFF= BENCHMARK_ENABLE_TESTING +CMAKE_TESTING_ON= BENCHMARK_ENABLE_TESTING # BENCHMARK_DOWNLOAD_DEPENDENCIES +CMAKE_TESTING_ARGS= -DGOOGLETEST_PATH=${WRKSRC_googletest} CXXFLAGS+= ${CXXFLAGS_${CHOSEN_COMPILER_TYPE}} CXXFLAGS_gcc= -Wno-stringop-truncation BINARY_ALIAS= git=false -do-test: # Broken: https://github.com/google/benchmark/issues/979 - @cd ${BUILD_WRKSRC} && \ - ${SETENV} ${CONFIGURE_ENV} ${CMAKE_BIN} ${CMAKE_ARGS} -DBENCHMARK_ENABLE_TESTING=ON -DGOOGLETEST_PATH=${LOCALBASE} ${CMAKE_SOURCE_PATH} && \ - ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} ${ALL_TARGET} && \ - ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} test - .include <bsd.port.mk> diff --git a/devel/benchmark/distinfo b/devel/benchmark/distinfo index 1036a5eaf053..bcf7401238d8 100644 --- a/devel/benchmark/distinfo +++ b/devel/benchmark/distinfo @@ -1,3 +1,5 @@ -TIMESTAMP = 1659545523 +TIMESTAMP = 1660073282 SHA256 (google-benchmark-v1.7.0_GH0.tar.gz) = 3aff99169fa8bdee356eaa1f691e835a6e57b1efeadb8a0f9f228531158246ac SIZE (google-benchmark-v1.7.0_GH0.tar.gz) = 194165 +SHA256 (google-googletest-release-1.12.1_GH0.tar.gz) = 81964fe578e9bd7c94dfdb09c8e4d6e6759e19967e397dbea48d1c10e45d0df2 +SIZE (google-googletest-release-1.12.1_GH0.tar.gz) = 854944