[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
04/07: gnu: volk: Remove static library.
From: |
guix-commits |
Subject: |
04/07: gnu: volk: Remove static library. |
Date: |
Wed, 25 Nov 2020 17:59:38 -0500 (EST) |
nckx pushed a commit to branch master
in repository guix.
commit 8da64e9bf9cabb5cd159b66f697ed5e32de3f1f4
Author: Tobias Geerinckx-Rice <me@tobias.gr>
AuthorDate: Wed Nov 25 22:30:02 2020 +0100
gnu: volk: Remove static library.
* gnu/packages/engineering.scm (volk)[arguments]: Add a
'remove-static-libraries phase.
---
gnu/packages/engineering.scm | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/gnu/packages/engineering.scm b/gnu/packages/engineering.scm
index 99b1545..558541d 100644
--- a/gnu/packages/engineering.scm
+++ b/gnu/packages/engineering.scm
@@ -1092,6 +1092,14 @@ the 'showing the effect of'-style of operation.")
(arguments
`(#:phases
(modify-phases %standard-phases
+ (add-after 'install 'remove-static-libraries
+ ;; Remove libcpu_features.a (and any others that might appear).
+ (lambda* (#:key outputs #:allow-other-keys)
+ (let* ((out (assoc-ref outputs "out"))
+ (lib (string-append out "/lib")))
+ (for-each delete-file (find-files lib "\\.a$"
+ #:fail-on-error? #t))
+ #t)))
(add-after 'install 'wrap-pythonpath
(lambda* (#:key inputs outputs #:allow-other-keys)
(let* ((out (assoc-ref outputs "out"))
- branch master updated (8b928a3 -> 21abfe1), guix-commits, 2020/11/25
- 03/07: gnu: volk: Update to 2.4.0., guix-commits, 2020/11/25
- 01/07: gnu: volk: Fetch from git repository., guix-commits, 2020/11/25
- 02/07: gnu: libaudec: Update to 0.2.4., guix-commits, 2020/11/25
- 05/07: gnu: lmdb: Update to 0.9.27., guix-commits, 2020/11/25
- 07/07: gnu: perl-cairo: Update to 1.108., guix-commits, 2020/11/25
- 04/07: gnu: volk: Remove static library.,
guix-commits <=
- 06/07: gnu: youtube-dl: Update to 2020.11.26., guix-commits, 2020/11/25