mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-27 10:03:20 +00:00
169b8d35ec
- No longer depend on gcc - Add a test target - Pacify portclippy/portfmt Reported by: diizzy
32 lines
672 B
Makefile
32 lines
672 B
Makefile
# Created by: Emanuel Haupt <ehaupt@FreeBSD.org>
|
|
|
|
PORTNAME= mimalloc
|
|
DISTVERSIONPREFIX= v
|
|
DISTVERSION= 2.0.2
|
|
PORTREVISION= 1
|
|
CATEGORIES= devel
|
|
|
|
MAINTAINER= ehaupt@FreeBSD.org
|
|
COMMENT= General-purpose allocator with excellent performance characteristics
|
|
|
|
LICENSE= MIT
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
USES= cmake compiler:c++17-lang
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= microsoft
|
|
USE_LDCONFIG= yes
|
|
|
|
CMAKE_ON= MI_INSTALL_TOPLEVEL
|
|
TEST_TARGET= test
|
|
|
|
LDFLAGS_powerpc= -latomic
|
|
|
|
# ci pipeline creates transient tags
|
|
PORTSCOUT= ignore:1
|
|
|
|
post-install: # workaround for https://github.com/microsoft/mimalloc/issues/398
|
|
@${RM} ${STAGEDIR}${PREFIX}/lib/mimalloc.o
|
|
|
|
.include <bsd.port.mk>
|