pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/mimalloc



Module Name:    pkgsrc
Committed By:   fcambus
Date:           Tue Jul 27 09:29:41 UTC 2021

Added Files:
        pkgsrc/devel/mimalloc: DESCR Makefile PLIST buildlink3.mk distinfo

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/mimalloc/DESCR \
    pkgsrc/devel/mimalloc/Makefile pkgsrc/devel/mimalloc/PLIST \
    pkgsrc/devel/mimalloc/buildlink3.mk pkgsrc/devel/mimalloc/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Added files:

Index: pkgsrc/devel/mimalloc/DESCR
diff -u /dev/null pkgsrc/devel/mimalloc/DESCR:1.1
--- /dev/null   Tue Jul 27 09:29:41 2021
+++ pkgsrc/devel/mimalloc/DESCR Tue Jul 27 09:29:41 2021
@@ -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.
Index: pkgsrc/devel/mimalloc/Makefile
diff -u /dev/null pkgsrc/devel/mimalloc/Makefile:1.1
--- /dev/null   Tue Jul 27 09:29:41 2021
+++ pkgsrc/devel/mimalloc/Makefile      Tue Jul 27 09:29:41 2021
@@ -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"
Index: pkgsrc/devel/mimalloc/PLIST
diff -u /dev/null pkgsrc/devel/mimalloc/PLIST:1.1
--- /dev/null   Tue Jul 27 09:29:41 2021
+++ pkgsrc/devel/mimalloc/PLIST Tue Jul 27 09:29:41 2021
@@ -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
Index: pkgsrc/devel/mimalloc/buildlink3.mk
diff -u /dev/null pkgsrc/devel/mimalloc/buildlink3.mk:1.1
--- /dev/null   Tue Jul 27 09:29:41 2021
+++ pkgsrc/devel/mimalloc/buildlink3.mk Tue Jul 27 09:29:41 2021
@@ -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
Index: pkgsrc/devel/mimalloc/distinfo
diff -u /dev/null pkgsrc/devel/mimalloc/distinfo:1.1
--- /dev/null   Tue Jul 27 09:29:41 2021
+++ pkgsrc/devel/mimalloc/distinfo      Tue Jul 27 09:29:41 2021
@@ -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