293697169e
mimalloc (pronounced "me-malloc") is a general purpose allocator with excellent performance characteristics. Initially developed by Daan Leijen for the run-time systems of the Koka and Lean languages. mimalloc is a drop-in replacement for malloc and can be used in other programs without code changes.
12 lines
318 B
Makefile
12 lines
318 B
Makefile
# $NetBSD: buildlink3.mk,v 1.1 2021/07/27 09:29:41 fcambus Exp $
|
|
|
|
BUILDLINK_TREE+= mimalloc
|
|
|
|
.if !defined(MIMALLOC_BUILDLINK3_MK)
|
|
MIMALLOC_BUILDLINK3_MK:=
|
|
|
|
BUILDLINK_API_DEPENDS.mimalloc+= mimalloc>=2.0.2
|
|
BUILDLINK_PKGSRCDIR.mimalloc?= ../../devel/mimalloc
|
|
.endif # MIMALLOC_BUILDLINK3_MK
|
|
|
|
BUILDLINK_TREE+= -mimalloc
|