[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
10/21: gnu: Add mimalloc.
From: |
guix-commits |
Subject: |
10/21: gnu: Add mimalloc. |
Date: |
Thu, 8 Sep 2022 10:24:07 -0400 (EDT) |
civodul pushed a commit to branch master
in repository guix.
commit 7fabdffca9ebfabceb363e1a2d13889429a369af
Author: Kristian Lein-Mathisen <kristianlein@gmail.com>
AuthorDate: Mon Sep 5 21:49:03 2022 +0200
gnu: Add mimalloc.
* gnu/packages/c.scm (mimalloc): New variable.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
---
gnu/packages/c.scm | 22 ++++++++++++++++++++++
1 file changed, 22 insertions(+)
diff --git a/gnu/packages/c.scm b/gnu/packages/c.scm
index d7d649488b..10275970b1 100644
--- a/gnu/packages/c.scm
+++ b/gnu/packages/c.scm
@@ -1083,6 +1083,28 @@ Telemetry Transport (MQTT) publish-subscribe messaging
protocol.")
(home-page "https://github.com/awslabs/aws-c-mqtt")
(license license:asl2.0)))
+;; Note: there is another mimalloc embedded in rust-mimalloc (version 1.6.4).
+(define-public mimalloc
+ (package
+ (name "mimalloc")
+ (version "2.0.6")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/microsoft/mimalloc")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "05x2dl3zimflfj91ns3vrphmzpdlyyr230p9adqgfds101f16qmv"))))
+ (build-system cmake-build-system)
+ (arguments
+ `(#:build-type "Release"))
+ (synopsis "General purpose memory allocator")
+ (description "@code{mimalloc} is a drop-in replacement for @code{malloc}.")
+ (home-page "https://microsoft.github.io/mimalloc/")
+ (license license:expat)))
+
;;; Factored out of the ck package so that it can be adjusted and called on
;;; the host side easily, without impacting the package definition.
(define (gnu-triplet->ck-machine target)
- branch master updated (38e8373830 -> 685dd8fb13), guix-commits, 2022/09/08
- 01/21: search-paths: Remove redundant uses of 'define-public'., guix-commits, 2022/09/08
- 02/21: search-paths: Clarify $GUIX_EXTENSIONS_PATH comment., guix-commits, 2022/09/08
- 08/21: gnu: Add man-pages-posix., guix-commits, 2022/09/08
- 10/21: gnu: Add mimalloc.,
guix-commits <=
- 14/21: gnu: Add texlive-latex-lastpage., guix-commits, 2022/09/08
- 12/21: gnu: podman: Use G-expressions., guix-commits, 2022/09/08
- 09/21: gnu: man-pages: Update to new style., guix-commits, 2022/09/08
- 19/21: gnu: dragon-drop: Update to 1.2.0., guix-commits, 2022/09/08
- 21/21: services: agetty-service-type: Add missing dash., guix-commits, 2022/09/08
- 03/21: search-paths: Tweak $SSL_CERT_DIR comment., guix-commits, 2022/09/08
- 17/21: gnu: Add texlive-latex-totcount., guix-commits, 2022/09/08
- 20/21: gnu: strawberry: Update to 1.0.9., guix-commits, 2022/09/08
- 06/21: file-systems: Open files with O_CLOEXEC., guix-commits, 2022/09/08
- 04/21: import: gnome: Reject version strings such as "43.alpha"., guix-commits, 2022/09/08