pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/mimalloc devel/mimalloc: import mimalloc-2.0.2.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/7d2fdf45266a
branches:  trunk
changeset: 456376:7d2fdf45266a
user:      fcambus <fcambus%pkgsrc.org@localhost>
date:      Tue Jul 27 09:29:41 2021 +0000

description:
devel/mimalloc: import mimalloc-2.0.2.

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.

diffstat:

 devel/mimalloc/DESCR         |   6 ++++++
 devel/mimalloc/Makefile      |  19 +++++++++++++++++++
 devel/mimalloc/PLIST         |  11 +++++++++++
 devel/mimalloc/buildlink3.mk |  12 ++++++++++++
 devel/mimalloc/distinfo      |   6 ++++++
 5 files changed, 54 insertions(+), 0 deletions(-)

diffs (74 lines):

diff -r eba962075a10 -r 7d2fdf45266a devel/mimalloc/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/mimalloc/DESCR      Tue Jul 27 09:29:41 2021 +0000
@@ -0,0 +1,6 @@
+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.
diff -r eba962075a10 -r 7d2fdf45266a devel/mimalloc/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/mimalloc/Makefile   Tue Jul 27 09:29:41 2021 +0000
@@ -0,0 +1,19 @@
+# $NetBSD: Makefile,v 1.1 2021/07/27 09:29:41 fcambus Exp $
+
+DISTNAME=      mimalloc-2.0.2
+CATEGORIES=    devel
+MASTER_SITES=  ${MASTER_SITE_GITHUB:=microsoft/}
+GITHUB_TAG=    v${PKGVERSION_NOREV}
+
+MAINTAINER=    fcambus%NetBSD.org@localhost
+HOMEPAGE=      https://github.com/microsoft/mimalloc/
+COMMENT=       General-purpose allocator with excellent performance characteristics
+LICENSE=       mit
+
+USE_CMAKE=     yes
+USE_LANGUAGES= c c++
+
+post-install:
+       ${RM} -f ${DESTDIR}${PREFIX}/lib/mimalloc-2.0/mimalloc.o
+
+.include "../../mk/bsd.pkg.mk"
diff -r eba962075a10 -r 7d2fdf45266a devel/mimalloc/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/mimalloc/PLIST      Tue Jul 27 09:29:41 2021 +0000
@@ -0,0 +1,11 @@
+@comment $NetBSD: PLIST,v 1.1 2021/07/27 09:29:41 fcambus Exp $
+include/mimalloc-2.0/mimalloc-new-delete.h
+include/mimalloc-2.0/mimalloc-override.h
+include/mimalloc-2.0/mimalloc.h
+lib/mimalloc-2.0/libmimalloc.a
+lib/mimalloc-2.0/libmimalloc.so
+lib/mimalloc-2.0/libmimalloc.so.2.0
+share/mimalloc-2.0/cmake/mimalloc-config-version.cmake
+share/mimalloc-2.0/cmake/mimalloc-config.cmake
+share/mimalloc-2.0/cmake/mimalloc-release.cmake
+share/mimalloc-2.0/cmake/mimalloc.cmake
diff -r eba962075a10 -r 7d2fdf45266a devel/mimalloc/buildlink3.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/mimalloc/buildlink3.mk      Tue Jul 27 09:29:41 2021 +0000
@@ -0,0 +1,12 @@
+# $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
diff -r eba962075a10 -r 7d2fdf45266a devel/mimalloc/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/mimalloc/distinfo   Tue Jul 27 09:29:41 2021 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2021/07/27 09:29:41 fcambus Exp $
+
+SHA1 (mimalloc-2.0.2.tar.gz) = 3b7babb08cbabae0142c04d8c09b4d0abce038dc
+RMD160 (mimalloc-2.0.2.tar.gz) = 4c47b2378b87425d1a82981155e77427a63e6b43
+SHA512 (mimalloc-2.0.2.tar.gz) = d6f1749a6df86346220fc190a3fd6aa67deff5439b26846c33ff95e91ce5fea73837ee39348dd432db3592575298e6e87856329d0236d2c6959abd8bf7756cdc
+Size (mimalloc-2.0.2.tar.gz) = 910758 bytes



Home | Main Index | Thread Index | Old Index