From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id ENC7LHlpbGc0sAAAe85BDQ:P1 (envelope-from ) for ; Wed, 25 Dec 2024 20:22:17 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id ENC7LHlpbGc0sAAAe85BDQ (envelope-from ) for ; Wed, 25 Dec 2024 21:22:17 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=CbkfljpC; dkim=fail ("headers rsa verify failed") header.d=rimm.ee header.s=herman header.b="qS34x/8L"; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1735158137; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=jrUuv7HAAPUSMAJW9vdsYCcg1tnawKTXFZtAIrmixxw=; b=pd8vzUZQuMUt7LEhJA9Mrf8779mTbh8mTwf+4CbjqCUGDLaFLBl3kPdLxlOpMh6U+S5ogf qM5bMhi2OcyASEsn+aSmnjt04rKFQ4hHsJA4r8TeUulLL0m/MUWH+gEhd+1XJPpfhFkcHu AIXKCyEsBKBuqJ+7YDZ2W7OTm9NQcQqq35cphJdpELywfjifcsV71fYboUcn7oGjWIRBqE nkgUdKI/cpTW/v8SrNxztszAc+dFckL47QqaRB/8IXas2TtbBmeud3Xoyk3K0VwhNnMcsi YAtVAGuKyoIMqq8+Eaa7w2ZAW5x0Ta+rxwMzA0L5bgzMpB4KH/KJ/XrrqKY37A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=CbkfljpC; dkim=fail ("headers rsa verify failed") header.d=rimm.ee header.s=herman header.b="qS34x/8L"; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org ARC-Seal: i=1; s=key1; d=yhetil.org; t=1735158137; a=rsa-sha256; cv=none; b=u4Fpizh/r1siizchrNQidxZaYbUaR3zgH7qCkcERsiUiI+H6RiAvlAvw+EhuV6l+l4QS6y lLrNX+ji1axT4nKGJFFKqS9WEuhNKUtFUwD65D6NQhJ1JUrvEkQzIv2IL8u7Ozc3LDKjqQ 47gnZ1Vtq0Iy5FAdZQvvRvZ6Ax11/80TlxCq3faj4oZhMKwQ7AKihIOfiH4OZkhmY5HD7F Is6+KvPKJjLupREt3YPDQskv3vVgAEpi87h8hsZlFVmwftV18+LaYDV/5HCs+glfzeIbSB yaNOCMQ8UZgooKyXYuWcvUKJH6NsBXAdmXwxrm1B972tWZ5yyu1mQYHLkwnOaA== Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 2A5409F129 for ; Wed, 25 Dec 2024 21:22:17 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tQXtM-0002qV-9R; Wed, 25 Dec 2024 15:22:04 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tQXtK-0002qM-KR for guix-patches@gnu.org; Wed, 25 Dec 2024 15:22:02 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tQXtK-0002UZ-BI for guix-patches@gnu.org; Wed, 25 Dec 2024 15:22:02 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:From:To:Subject; bh=jrUuv7HAAPUSMAJW9vdsYCcg1tnawKTXFZtAIrmixxw=; b=CbkfljpCB9sNcZbkYd5wQRhx3im3lnXGMLrDHuTn8Tbt9kCqR8NlduOdRCihbzb7qNNP6/FicO0dH3X8uBYQmLlB0QVOnj0wjdmt1H59olyduIzDaPueIek+CWqLCqgeHYCM31Vrl4FSqIpIXqCFx5L4mDtmNiTKwGja+DPvZXCK0+ijkdvJNDGcsMEkwb5W4DowinEsiFnE+8YYadik7/hhO1UxGUx5Y7Z94g33dlTtMfttlk7DJPvAv1vb/8tAFmYZiCw61C1LluNpinI4CY1kzkhH1Xcipz05KVt5fj4uA/n5wNQeJNDdpYUwhqh3un+ENGBBjS382FkLizL49w==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tQXtJ-0006wC-RV; Wed, 25 Dec 2024 15:22:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#75097] [PATCH rust-team 1/8] gnu: override-jemalloc: Add variable. Resent-From: Herman Rimm Original-Sender: "Debbugs-submit" Resent-CC: efraim@flashner.co.il, guix-patches@gnu.org Resent-Date: Wed, 25 Dec 2024 20:22:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 75097 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 75097@debbugs.gnu.org Cc: Efraim Flashner X-Debbugs-Original-To: guix-patches@gnu.org X-Debbugs-Original-Xcc: Efraim Flashner Received: via spool by submit@debbugs.gnu.org id=B.173515807526603 (code B ref -1); Wed, 25 Dec 2024 20:22:01 +0000 Received: (at submit) by debbugs.gnu.org; 25 Dec 2024 20:21:15 +0000 Received: from localhost ([127.0.0.1]:38961 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tQXsZ-0006v1-9A for submit@debbugs.gnu.org; Wed, 25 Dec 2024 15:21:15 -0500 Received: from lists.gnu.org ([209.51.188.17]:51606) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tQXsW-0006ur-LG for submit@debbugs.gnu.org; Wed, 25 Dec 2024 15:21:13 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tQXsW-0002au-5R for guix-patches@gnu.org; Wed, 25 Dec 2024 15:21:12 -0500 Received: from 81-205-150-117.fixed.kpn.net ([81.205.150.117] helo=email.rimm.ee) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_CHACHA20_POLY1305:256) (Exim 4.90_1) (envelope-from ) id 1tQXsR-0002NA-SB for guix-patches@gnu.org; Wed, 25 Dec 2024 15:21:11 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rimm.ee; s=herman; t=1735158061; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=jrUuv7HAAPUSMAJW9vdsYCcg1tnawKTXFZtAIrmixxw=; b=qS34x/8LUmH6a6QijYZ3HuPK/LO+9fhnnBxWjOXt8w7EMw+xkX1eG7/KG03nZGP9XeRJAX E3aWZ/tqBu/gKusYWUGm0d/g+gShcN/doWa2UBuaUZtySHBNekOdwsGiz1I93tr0fq+sUK h+7Bj1F9QFzROHkMOHpfV8h3BSN2HC44LmNfYYiD65KqQBZs0s8r4GfL29kAz0JeJ5OnBm XJmSn1C6jwzGVsH6CyLbphOJXa+lIlXGdeDP4F6pkREqxyMzG/CtjRHx8/KlwXvTic5UzQ twE0odTUnjiAwVORRf0Ch+xqRiFEDGPaufkipvJT7qIzTqfmUn6Zvysj3aWDow== Received: by 81-205-150-117.fixed.kpn.net (OpenSMTPD) with ESMTPSA id ccf91cc0 (TLSv1.3:TLS_CHACHA20_POLY1305_SHA256:256:NO) for ; Wed, 25 Dec 2024 20:21:01 +0000 (UTC) Date: Wed, 25 Dec 2024 21:20:20 +0100 Message-ID: <25cd151219b68e3f67148dbba6e3674249faee91.1735157957.git.herman@rimm.ee> X-Mailer: git-send-email 2.45.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=81.205.150.117; envelope-from=herman@rimm.ee; helo=email.rimm.ee X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, TVD_RCVD_IP=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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: , Reply-to: Herman Rimm X-ACL-Warn: , Herman Rimm via Guix-patches From: Herman Rimm via Guix-patches via Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -6.41 X-Spam-Score: -6.41 X-Migadu-Queue-Id: 2A5409F129 X-Migadu-Scanner: mx10.migadu.com X-TUID: 47z6YG6L3pMj * gnu/packages/crates-io.scm (override-jemalloc): Add variable. Change-Id: I3e1666306c9f005072f9ed230f03386b2f78b0b2 --- gnu/packages/crates-io.scm | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index b3d9bcd783..fb7710c5a9 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -39209,6 +39209,19 @@ (define-public rust-javascriptcore-rs-sys-0.2 "Sys functions for the Rust bindings of the javacriptcore library.") (license license:expat))) +(define override-jemalloc + #~(modify-phases %standard-phases + (add-after 'configure 'override-jemalloc + (lambda* (#:key inputs #:allow-other-keys) + ;; This flag is needed when not using the bundled jemalloc. + ;; https://github.com/tikv/jemallocator/issues/19 + (setenv + "CARGO_FEATURE_UNPREFIXED_MALLOC_ON_SUPPORTED_PLATFORMS" + "1") + (setenv "JEMALLOC_OVERRIDE" + (string-append (assoc-ref inputs "jemalloc") + "/lib/libjemalloc_pic.a")))))) + (define-public rust-jemalloc-ctl-0.5 (package (name "rust-jemalloc-ctl") base-commit: 32ab343e03e998ada27c063ef7d8a00aa88436dd -- 2.45.2