Skip to content

Commit

Permalink
devel/mimalloc: Convert to cmake:testing
Browse files Browse the repository at this point in the history
Use cmake:testing, this also prevents always building unit tests.

PR:		268625
  • Loading branch information
Daniel Engberg authored and ehaupt committed Dec 29, 2022
1 parent d06eeaa commit 03552cd
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions devel/mimalloc/Makefile
@@ -1,6 +1,7 @@
PORTNAME= mimalloc
DISTVERSIONPREFIX= v
DISTVERSION= 2.0.9
PORTREVISION= 1
CATEGORIES= devel

MAINTAINER= ehaupt@FreeBSD.org
Expand All @@ -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
Expand Down

0 comments on commit 03552cd

Please sign in to comment.