GNU bug report logs -
#75098
[PATCH rust-team 0/2] Use override-jemalloc.
Previous Next
Full log
View this message in rfc822 format
* 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
This bug report was last modified 171 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.