From: Herman Rimm via Guix-patches via <guix-patches@gnu.org>
To: 75097@debbugs.gnu.org
Cc: Efraim Flashner <efraim@flashner.co.il>
Subject: [bug#75097] [PATCH rust-team 2/8] gnu: rust-jemalloc-ctl-0.5: Use override-jemalloc phases.
Date: Wed, 25 Dec 2024 21:21:51 +0100 [thread overview]
Message-ID: <7092c5f8b869ed9f15ecce513069cec2095223bf.1735157957.git.herman@rimm.ee> (raw)
In-Reply-To: <25cd151219b68e3f67148dbba6e3674249faee91.1735157957.git.herman@rimm.ee>
* gnu/packages/crates-io.scm (rust-jemalloc-ctl-0.5)[arguments]: Disable
parallel tests. Use override-jemalloc.
Change-Id: I23718f05ffd3deeb0ea0f9b32412ae6b6f0692db
---
gnu/packages/crates-io.scm | 12 ++----------
1 file changed, 2 insertions(+), 10 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index fb7710c5a9..5945fd0a72 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -39239,16 +39239,8 @@ (define-public rust-jemalloc-ctl-0.5
("rust-libc" ,rust-libc-0.2)
("rust-paste" ,rust-paste-1))
#:cargo-development-inputs (("rust-jemallocator" ,rust-jemallocator-0.5))
- #:phases
- (modify-phases %standard-phases
- (add-after 'configure 'override-jemalloc
- (lambda* (#:key inputs #:allow-other-keys)
- (let ((jemalloc (assoc-ref inputs "jemalloc")))
- ;; 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 jemalloc "/lib/libjemalloc_pic.a"))))))))
+ #:parallel-tests? #f ; Tests fail non-deterministically.
+ #:phases ,override-jemalloc))
(native-inputs (list jemalloc))
(home-page "https://github.com/tikv/jemallocator")
(synopsis "Wrapper over jemalloc's control and introspection APIs")
--
2.45.2
next prev parent reply other threads:[~2024-12-25 20:23 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-12-25 20:20 [bug#75097] [PATCH rust-team 1/8] gnu: override-jemalloc: Add variable Herman Rimm via Guix-patches via
2024-12-25 20:21 ` Herman Rimm via Guix-patches via [this message]
2024-12-25 20:21 ` [bug#75097] [PATCH rust-team 3/8] gnu: rust-jemalloc-sys-0.5: Use override-jemalloc phases Herman Rimm via Guix-patches via
2024-12-25 20:21 ` [bug#75097] [PATCH rust-team 4/8] gnu: rust-jemalloc-sys-0.3: " Herman Rimm via Guix-patches via
2024-12-25 20:21 ` [bug#75097] [PATCH rust-team 5/8] gnu: rust-jemallocator-0.5: " Herman Rimm via Guix-patches via
2024-12-25 20:21 ` [bug#75097] [PATCH rust-team 6/8] gnu: rust-jemallocator-0.1: " Herman Rimm via Guix-patches via
2024-12-25 20:21 ` [bug#75097] [PATCH rust-team 7/8] gnu: rust-nom-6: " Herman Rimm via Guix-patches via
2024-12-25 20:21 ` [bug#75097] [PATCH rust-team 8/8] gnu: rust-nom-5: " Herman Rimm via Guix-patches via
2024-12-26 13:44 ` [bug#75097] [PATCH rust-team 1/8] gnu: override-jemalloc: Add variable Efraim Flashner
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=7092c5f8b869ed9f15ecce513069cec2095223bf.1735157957.git.herman@rimm.ee \
--to=guix-patches@gnu.org \
--cc=75097@debbugs.gnu.org \
--cc=efraim@flashner.co.il \
--cc=herman@rimm.ee \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.