guix-commits
[Top][All Lists]
Advanced

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

04/06: gnu: openpmix: Do not install HTML documentation.


From: guix-commits
Subject: 04/06: gnu: openpmix: Do not install HTML documentation.
Date: Wed, 18 Dec 2024 02:28:45 -0500 (EST)

apteryx pushed a commit to branch master
in repository guix.

commit 65c043edef33bc400f8c5d329c6fe33378c19548
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Thu Nov 28 15:03:47 2024 +0900

    gnu: openpmix: Do not install HTML documentation.
    
    This reduces the package size from 9 MiB to 5 MiB.
    
    * gnu/packages/parallel.scm (openpmix) [source]: Add snippet.
    
    Change-Id: I36e4a1e456225588df96f5eb70ed607505dae493
---
 gnu/packages/parallel.scm | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/parallel.scm b/gnu/packages/parallel.scm
index a1f0c35657..99cd629603 100644
--- a/gnu/packages/parallel.scm
+++ b/gnu/packages/parallel.scm
@@ -705,7 +705,11 @@ single-instruction multiple-data (SIMD) intrinsics.")
                     version "/pmix-" version ".tar.bz2"))
               (sha256
                (base32
-                "1j9xlhqrrmgjdkwakamn78y5gj756adi53hn25zksgr3is3l5d09"))))
+                "1j9xlhqrrmgjdkwakamn78y5gj756adi53hn25zksgr3is3l5d09"))
+              (snippet
+               '(begin (use-modules (guix build utils))
+                       ;; Remove ~5 MiB of pre-built HTML doc.
+                       (delete-file-recursively "docs/_build/html")))))
     (build-system gnu-build-system)
     (arguments
      (list



reply via email to

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