* [bug#75098] [PATCH rust-team 0/2] Use override-jemalloc.
@ 2024-12-25 20:34 Herman Rimm via Guix-patches via
2024-12-25 20:35 ` [bug#75098] [PATCH rust-team 1/2] gnu: rust-tikv-jemalloc-sys-0.6: Use override-jemalloc phases Herman Rimm via Guix-patches via
2024-12-25 20:35 ` [bug#75098] [PATCH rust-team 2/2] gnu: rust-tikv-jemallocator-0.6: " Herman Rimm via Guix-patches via
0 siblings, 2 replies; 3+ messages in thread
From: Herman Rimm via Guix-patches via @ 2024-12-25 20:34 UTC (permalink / raw)
To: 75098; +Cc: Efraim Flashner
Hello,
Follow-up to [bug#75097], two packages with relevant phases got added
since I created the override-jemalloc variable.
Cheers,
Herman
Herman Rimm (2):
gnu: rust-tikv-jemalloc-sys-0.6: Use override-jemalloc phases.
gnu: rust-tikv-jemallocator-0.6: Use override-jemalloc phases.
gnu/packages/crates-io.scm | 22 ++--------------------
1 file changed, 2 insertions(+), 20 deletions(-)
base-commit: b3ce03d55ea7b538280d2b7bd53b2ed9f01150b2
--
2.45.2
^ permalink raw reply [flat|nested] 3+ messages in thread
* [bug#75098] [PATCH rust-team 1/2] gnu: rust-tikv-jemalloc-sys-0.6: Use override-jemalloc phases.
2024-12-25 20:34 [bug#75098] [PATCH rust-team 0/2] Use override-jemalloc Herman Rimm via Guix-patches via
@ 2024-12-25 20:35 ` Herman Rimm via Guix-patches via
2024-12-25 20:35 ` [bug#75098] [PATCH rust-team 2/2] gnu: rust-tikv-jemallocator-0.6: " Herman Rimm via Guix-patches via
1 sibling, 0 replies; 3+ messages in thread
From: Herman Rimm via Guix-patches via @ 2024-12-25 20:35 UTC (permalink / raw)
To: 75098; +Cc: Efraim Flashner
* gnu/packages/crates-io.scm (rust-tikv-jemalloc-sys-0.6): Adjust.
Change-Id: I579e7ac913f5b5123ee29ebd0889fea2ab18e363
---
gnu/packages/crates-io.scm | 11 +----------
1 file changed, 1 insertion(+), 10 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 13d222c5de..58cfd7f1c8 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -88910,16 +88910,7 @@ (define-public rust-tikv-jemalloc-sys-0.6
(arguments
`(#:cargo-inputs (("rust-cc" ,rust-cc-1)
("rust-libc" ,rust-libc-0.2))
- #: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"))))))))
+ #:phases ,override-jemalloc))
(inputs (list jemalloc))
(home-page "https://github.com/tikv/jemallocator")
(synopsis "Rust FFI bindings to jemalloc")
--
2.45.2
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [bug#75098] [PATCH rust-team 2/2] gnu: rust-tikv-jemallocator-0.6: Use override-jemalloc phases.
2024-12-25 20:34 [bug#75098] [PATCH rust-team 0/2] Use override-jemalloc Herman Rimm via Guix-patches via
2024-12-25 20:35 ` [bug#75098] [PATCH rust-team 1/2] gnu: rust-tikv-jemalloc-sys-0.6: Use override-jemalloc phases Herman Rimm via Guix-patches via
@ 2024-12-25 20:35 ` Herman Rimm via Guix-patches via
1 sibling, 0 replies; 3+ messages in thread
From: Herman Rimm via Guix-patches via @ 2024-12-25 20:35 UTC (permalink / raw)
To: 75098; +Cc: Efraim Flashner
* gnu/packages/crates-io.scm (rust-tikv-jemallocator-0.6): Adjust.
Change-Id: I149192a509e9175d7951129ecd1a7319f449912a
---
gnu/packages/crates-io.scm | 11 +----------
1 file changed, 1 insertion(+), 10 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 58cfd7f1c8..b55c2e66b2 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -88957,16 +88957,7 @@ (define-public rust-tikv-jemallocator-0.6
#:cargo-inputs (("rust-libc" ,rust-libc-0.2)
("rust-tikv-jemalloc-sys" ,rust-tikv-jemalloc-sys-0.6))
#:cargo-development-inputs (("rust-paste" ,rust-paste-1))
- #: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"))))))))
+ #:phases ,override-jemalloc))
(inputs (list jemalloc))
(home-page "https://github.com/tikv/jemallocator")
(synopsis "Rust allocator backed by jemalloc")
--
2.45.2
^ permalink raw reply related [flat|nested] 3+ messages in thread
end of thread, other threads:[~2024-12-25 20:37 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-12-25 20:34 [bug#75098] [PATCH rust-team 0/2] Use override-jemalloc Herman Rimm via Guix-patches via
2024-12-25 20:35 ` [bug#75098] [PATCH rust-team 1/2] gnu: rust-tikv-jemalloc-sys-0.6: Use override-jemalloc phases Herman Rimm via Guix-patches via
2024-12-25 20:35 ` [bug#75098] [PATCH rust-team 2/2] gnu: rust-tikv-jemallocator-0.6: " Herman Rimm via Guix-patches via
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).