guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

03/10: gnu: c-blosc: Remove bundled libraries from source.


From: guix-commits
Subject: 03/10: gnu: c-blosc: Remove bundled libraries from source.
Date: Fri, 10 Jun 2022 22:26:15 -0400 (EDT)

nckx pushed a commit to branch master
in repository guix.

commit 2d80b869f0158b8b6d830cc9dbbaa78d3681ced1
Author: Tobias Geerinckx-Rice <me@tobias.gr>
AuthorDate: Sun Jun 5 02:00:00 2022 +0200

    gnu: c-blosc: Remove bundled libraries from source.
    
    * gnu/packages/compression.scm (c-blosc)[source]: Add snippet.
---
 gnu/packages/compression.scm | 22 +++++++++++++---------
 1 file changed, 13 insertions(+), 9 deletions(-)

diff --git a/gnu/packages/compression.scm b/gnu/packages/compression.scm
index 9d8106b6d5..d4a52ff111 100644
--- a/gnu/packages/compression.scm
+++ b/gnu/packages/compression.scm
@@ -2576,15 +2576,19 @@ chunks.")
   (package
     (name "c-blosc")
     (version "1.21.1")
-    (source (origin
-              (method git-fetch)
-              (uri (git-reference
-                    (url "https://github.com/Blosc/c-blosc";)
-                    (commit (string-append "v" version))))
-              (file-name (git-file-name name version))
-              (sha256
-               (base32
-                "0gy9a7wp7x71x5l3rprx8wpb3c5cn7wqc77gdiffq35hr34q88p9"))))
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/Blosc/c-blosc";)
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "0gy9a7wp7x71x5l3rprx8wpb3c5cn7wqc77gdiffq35hr34q88p9"))
+       (modules '((guix build utils)))
+       (snippet
+        ;; In a rare victory, we may delete all bundled libs to no ill effect.
+        '(delete-file-recursively "internal-complibs"))))
     (build-system cmake-build-system)
     (arguments
      `(#:configure-flags



reply via email to

[Prev in Thread] Current Thread [Next in Thread]