git: c86be8a40cdb - main - multimedia/gmmlib: convert TEST option to USES=cmake:testing
Jan Beich
jbeich at FreeBSD.org
Tue May 18 00:55:07 UTC 2021
The branch main has been updated by jbeich:
URL: https://cgit.FreeBSD.org/ports/commit/?id=c86be8a40cdb3ee610227d00d76557c6eb89629a
commit c86be8a40cdb3ee610227d00d76557c6eb89629a
Author: Jan Beich <jbeich at FreeBSD.org>
AuthorDate: 2021-05-17 13:30:12 +0000
Commit: Jan Beich <jbeich at FreeBSD.org>
CommitDate: 2021-05-18 00:47:15 +0000
multimedia/gmmlib: convert TEST option to USES=cmake:testing
---
multimedia/gmmlib/Makefile | 11 ++++-------
1 file changed, 4 insertions(+), 7 deletions(-)
diff --git a/multimedia/gmmlib/Makefile b/multimedia/gmmlib/Makefile
index adc4dc2672bb..ff06df3950b1 100644
--- a/multimedia/gmmlib/Makefile
+++ b/multimedia/gmmlib/Makefile
@@ -23,19 +23,16 @@ LICENSE_FILE= ${WRKSRC}/LICENSE.md
ONLY_FOR_ARCHS= amd64 i386
ONLY_FOR_ARCHS_REASON= Only Intel GPUs on x86 are supported
-USES= cmake compiler:c++11-lib
+USES= cmake:testing compiler:c++11-lib
USE_GITHUB= yes
USE_LDCONFIG= yes
GH_ACCOUNT= intel
+CMAKE_OFF+= ${CMAKE_TESTING_ON}
+CMAKE_TESTING_ON= RUN_TEST_SUITE # XXX Unbundle googletest
+CMAKE_TESTING_TARGET= Run_ULT
CMAKE_ARGS= -DBUILD_TYPE:STRING="${CMAKE_BUILD_TYPE}" \
-DGMMLIB_MARCH:STRING="${CPUTYPE}"
-OPTIONS_DEFINE= TEST
-
-# XXX Unbundle googletest
-TEST_CMAKE_BOOL= RUN_TEST_SUITE
-TEST_TEST_TARGET= Run_ULT
-
post-install:
# Clean up after PATTERN-based install
@${FIND} ${STAGEDIR}${PREFIX}/include -type d -empty -delete
More information about the dev-commits-ports-all
mailing list