git: 03552cd5c843 - main - devel/mimalloc: Convert to cmake:testing
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 29 Dec 2022 10:46:30 UTC
The branch main has been updated by ehaupt:
URL: https://cgit.FreeBSD.org/ports/commit/?id=03552cd5c84319d04538e69e38e78ef76dfdeb90
commit 03552cd5c84319d04538e69e38e78ef76dfdeb90
Author: Daniel Engberg <diizzy@FreeBSD.org>
AuthorDate: 2022-12-29 10:44:16 +0000
Commit: Emanuel Haupt <ehaupt@FreeBSD.org>
CommitDate: 2022-12-29 10:45:39 +0000
devel/mimalloc: Convert to cmake:testing
Use cmake:testing, this also prevents always building unit tests.
PR: 268625
---
devel/mimalloc/Makefile | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/devel/mimalloc/Makefile b/devel/mimalloc/Makefile
index 9211a4a1bc92..0bd0ac3c114d 100644
--- a/devel/mimalloc/Makefile
+++ b/devel/mimalloc/Makefile
@@ -1,6 +1,7 @@
PORTNAME= mimalloc
DISTVERSIONPREFIX= v
DISTVERSION= 2.0.9
+PORTREVISION= 1
CATEGORIES= devel
MAINTAINER= ehaupt@FreeBSD.org
@@ -10,15 +11,15 @@ WWW= https://github.com/microsoft/mimalloc
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
-USES= cmake compiler:c++17-lang
+USES= cmake:testing compiler:c++17-lang
USE_GITHUB= yes
GH_ACCOUNT= microsoft
USE_LDCONFIG= yes
CMAKE_ON= MI_INSTALL_TOPLEVEL
-CMAKE_OFF= MI_BUILD_OBJECT
+CMAKE_OFF= MI_BUILD_OBJECT MI_BUILD_TESTS
-TEST_TARGET= test
+CMAKE_TESTING_ON= MI_BUILD_TESTS
# ci pipeline creates transient tags
PORTSCOUT= ignore:1