From patchwork Tue Sep 6 08:30:00 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kristian Lein-Mathisen X-Patchwork-Id: 42235 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 9A0AF27BBEA; Tue, 6 Sep 2022 09:43:55 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FROM,HTML_MESSAGE,MAILING_LIST_MULTI, SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id E927C27BBE9 for ; Tue, 6 Sep 2022 09:43:54 +0100 (BST) Received: from localhost ([::1]:60338 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oVUBW-0000Jx-0b for patchwork@mira.cbaines.net; Tue, 06 Sep 2022 04:43:54 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:59688) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oVTz4-000759-LP for guix-patches@gnu.org; Tue, 06 Sep 2022 04:31:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:60837) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oVTz4-0004O4-Cu for guix-patches@gnu.org; Tue, 06 Sep 2022 04:31:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oVTz4-0005ft-8u for guix-patches@gnu.org; Tue, 06 Sep 2022 04:31:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#57361] [PATCH] gnu: Add solvespace. References: In-Reply-To: Resent-From: Kristian Lein-Mathisen Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 06 Sep 2022 08:31:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 57361 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 57361@debbugs.gnu.org Received: via spool by 57361-submit@debbugs.gnu.org id=B57361.166245302921751 (code B ref 57361); Tue, 06 Sep 2022 08:31:02 +0000 Received: (at 57361) by debbugs.gnu.org; 6 Sep 2022 08:30:29 +0000 Received: from localhost ([127.0.0.1]:49533 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oVTyN-0005eO-D1 for submit@debbugs.gnu.org; Tue, 06 Sep 2022 04:30:29 -0400 Received: from mail-oa1-f52.google.com ([209.85.160.52]:37711) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oVTyL-0005dx-5y for 57361@debbugs.gnu.org; Tue, 06 Sep 2022 04:30:17 -0400 Received: by mail-oa1-f52.google.com with SMTP id 586e51a60fabf-127a0d798bdso5992694fac.4 for <57361@debbugs.gnu.org>; Tue, 06 Sep 2022 01:30:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date; bh=i00kpehVSg6lq9Ryrqwu2QqzmvjzhSDoPGqDkjiwoBg=; b=W3GvPOAcEY1RkcFhjszmi0QjpOvQVibKA4WNXz9i7zgI4SyQuXgHymuPQyH1NCGQC9 sh2pwnhYp9LqPQJquoX+qwFQG4b+WrIb0u+iCJF4AEQUZvWzvuE70L8/4MH0LJOJgpB0 W6SDk1j6uSJXgvhWP/grgN83Uwp4pbkBRKDiinTlwjK46VQFeZmVeo4uUEADXzjInzQY AGjc2FBdEAX4k4HQDyvk9yT+DKUtt3WIGwoQLtBnC+MaB8eScPX45dpY8RX2eD6CMtIR XctKHbm8YspUbaNXnSz5t4ta+wvLf71uNtiXJ/PvitRGTbFUyhHu1A8TYt0f8e4qiYlu uBFA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date; bh=i00kpehVSg6lq9Ryrqwu2QqzmvjzhSDoPGqDkjiwoBg=; b=B4vVk7WjWc7xwISgs6HhRmf1Hb+o8fwAzVy+icIYBYYbb/cJaN5c4HOpLUnIq1SdOp LuR+T4N2Esea/39c7spGJ1h4xd+DXrZnsphjaX1G9OS4zpv4iwfOWSXIS8VWQN8vxOoL sMUIIT/ZWZs6w6fJLRGP50nW5Gl7v833RKTuylEEVPgAx8nlRkmdmcl6XA/gzBC4XxAT aILy0ESUcNp/nNCnFqlScutuZUcUSBw8yEGtCEJUxa+uQ/7gvy4N5UOM42+yVcdPioIA WyTLaH2UKQEpCj8SaP3PAsnS0iqr2y1U7aEQxDm1npzbhWAlDcHjYs8ocnR/Vr88iOOI NvcQ== X-Gm-Message-State: ACgBeo3fcXlqf//uI0tq4GXzDvNzZTJFJ41ig/5WMxhhc7u3/iYeuscM hSqsTztPOjLs1Gdl8cdVHQmKElxuXYnA34TjIhxeBK4K X-Google-Smtp-Source: AA6agR44q1fB9mbndJ6m3+fd1DILlVHD7BXW7OGYm5Vg/D3+yNQPqQ3ARKZgRAGlBtTbSoj8EE4AikYPHSyQJ+RI8vI= X-Received: by 2002:a05:6808:14c8:b0:345:16a5:fc26 with SMTP id f8-20020a05680814c800b0034516a5fc26mr8830169oiw.246.1662453011382; Tue, 06 Sep 2022 01:30:11 -0700 (PDT) MIME-Version: 1.0 From: Kristian Lein-Mathisen Date: Tue, 6 Sep 2022 10:30:00 +0200 Message-ID: X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches Hi again, unmatched-paren suggested to put mimalloc into c.scm on #guix, so here is new set of patches to reflect that. K. From a19e2d22f52b71db2ddc14b5dcaa6acb57c27484 Mon Sep 17 00:00:00 2001 From: Kristian Lein-Mathisen Date: Mon, 5 Sep 2022 21:49:03 +0200 Subject: [PATCH 1/2] gnu: Add mimalloc. * gnu/packages/c.scm (mimalloc): New variable. --- 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 @@ (define-public aws-c-mqtt (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) base-commit: c4504dfb1da78f2f21fc5139a2fd5e82ed0ef21c -- 2.37.2