[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/373: gnu: rust: Remove bundled compiled libraries.
From: |
guix-commits |
Subject: |
01/373: gnu: rust: Remove bundled compiled libraries. |
Date: |
Sun, 16 Apr 2023 07:10:09 -0400 (EDT) |
efraim pushed a commit to branch rust-team
in repository guix.
commit 1a190d8407c5b0a9427da5c0373658302c55a7e4
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Fri Feb 17 10:33:05 2023 +0200
gnu: rust: Remove bundled compiled libraries.
* gnu/packages/rust.scm (rust-bootstrap)[source]: Adjust snippet to also
remove bundled pre-compiled shared libraries.
(rust-1.55): Same.
---
gnu/packages/rust.scm | 12 ++++++++++--
1 file changed, 10 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/rust.scm b/gnu/packages/rust.scm
index 133c46fb7c..f0ce3ef0d2 100644
--- a/gnu/packages/rust.scm
+++ b/gnu/packages/rust.scm
@@ -4,7 +4,7 @@
;;; Copyright © 2016 Nikita <nikita@n0.is>
;;; Copyright © 2017 Ben Woodcroft <donttrustben@gmail.com>
;;; Copyright © 2017, 2018 Nikolai Merinov <nikolai.merinov@member.fsf.org>
-;;; Copyright © 2017, 2019-2022 Efraim Flashner <efraim@flashner.co.il>
+;;; Copyright © 2017, 2019-2023 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2018, 2019 Tobias Geerinckx-Rice <me@tobias.gr>
;;; Copyright © 2018 Danny Milosavljevic <dannym+a@scratchpost.org>
;;; Copyright © 2019 Ivan Petkov <ivanppetkov@gmail.com>
@@ -162,7 +162,11 @@
(snippet
'(begin
(for-each delete-file-recursively
- '("src/llvm-project"))))
+ '("src/llvm-project"))
+ ;; Remove vendored dynamically linked libraries.
+ ;; find . -not -type d -executable -exec file {} \+ | grep ELF
+ (delete-file "vendor/vte/vim10m_match")
+ (delete-file "vendor/vte/vim10m_table")))
(patches (search-patches "rustc-1.54.0-src.patch"))
(patch-flags '("-p0")))) ;default is -p1
(outputs '("out" "cargo"))
@@ -374,6 +378,10 @@ safety and thread safety guarantees.")
(for-each delete-file-recursively
'("src/llvm-project"
"vendor/tikv-jemalloc-sys/jemalloc"))
+ ;; Remove vendored dynamically linked libraries.
+ ;; find . -not -type d -executable -exec file {} \+ | grep ELF
+ (delete-file "vendor/vte/vim10m_match")
+ (delete-file "vendor/vte/vim10m_table")
;; Add support for riscv64-linux.
(substitute* "vendor/tikv-jemallocator/src/lib.rs"
((" target_arch = \"s390x\"," all)
- 32/373: gnu: Add rust-cargo-util-0.2., (continued)
- 32/373: gnu: Add rust-cargo-util-0.2., guix-commits, 2023/04/16
- 37/373: gnu: Add rust-cookie-store-0.16., guix-commits, 2023/04/16
- 40/373: gnu: Add rust-ctr-0.9., guix-commits, 2023/04/16
- 16/373: gnu: librsvg: Update to 2.54.5., guix-commits, 2023/04/16
- 29/373: gnu: Add rust-botan-src-0.21703., guix-commits, 2023/04/16
- 30/373: gnu: Add rust-botan-sys-0.8., guix-commits, 2023/04/16
- 33/373: gnu: Add rust-cipher-0.4., guix-commits, 2023/04/16
- 45/373: gnu: Add rust-env-logger-0.10., guix-commits, 2023/04/16
- 10/373: gnu: rust-windows-x86-64-gnullvm-0.42: Remove bundled library., guix-commits, 2023/04/16
- 11/373: gnu: rust-windows-x86-64-msvc: Remove bundled library., guix-commits, 2023/04/16
- 01/373: gnu: rust: Remove bundled compiled libraries.,
guix-commits <=
- 03/373: Revert "gnu: Remove rust-yeslogic-fontconfig-sys-2.", guix-commits, 2023/04/16
- 04/373: gnu: librsvg: Update to 2.54.4., guix-commits, 2023/04/16
- 05/373: gnu: rust-windows-aarch64-gnullvm-0.42: Remove bundled library., guix-commits, 2023/04/16
- 06/373: gnu: rust-windows-aarch64-msvc: Remove bundled library., guix-commits, 2023/04/16
- 07/373: gnu: rust-windows-i686-gnu: Remove bundled library., guix-commits, 2023/04/16
- 19/373: gnu: rust: Update to 1.67., guix-commits, 2023/04/16
- 15/373: gnu: librsvg: Adjust test suite., guix-commits, 2023/04/16
- 14/373: gnu: Add rust-1.67., guix-commits, 2023/04/16
- 12/373: gnu: rust.scm: Sort packages alphabetically., guix-commits, 2023/04/16
- 21/373: gnu: rust-toml-datetime-0.5: Update to 0.5.1., guix-commits, 2023/04/16