all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Maxim Cournoyer <maxim.cournoyer@gmail.com>
To: 74572@debbugs.gnu.org
Cc: Maxim Cournoyer <maxim.cournoyer@gmail.com>,
	Maxim Cournoyer <maxim.cournoyer@gmail.com>
Subject: [bug#74572] [PATCH 4/6] gnu: openpmix: Do not install HTML documentation.
Date: Thu, 28 Nov 2024 16:47:55 +0900	[thread overview]
Message-ID: <f85c943020bc54f470dfd5c7511ede29b549c660.1732774966.git.maxim.cournoyer@gmail.com> (raw)
In-Reply-To: <cover.1732774966.git.maxim.cournoyer@gmail.com>

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 3e50a75047..a6119743ce 100644
--- a/gnu/packages/parallel.scm
+++ b/gnu/packages/parallel.scm
@@ -705,7 +705,11 @@ (define-public openpmix
                     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
-- 
2.46.0





  parent reply	other threads:[~2024-11-28  7:50 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-11-28  6:24 [bug#74572] [PATCH 0/6] ] Python bindings, reduced size for OpenPMIx/OpenMPI Maxim Cournoyer
2024-11-28  7:47 ` [bug#74572] [PATCH 1/6] gnu: openmpi-5: Update to 5.0.6 Maxim Cournoyer
2024-11-28  7:47 ` [bug#74572] [PATCH 2/6] gnu: openpmix: Enable Python bindings Maxim Cournoyer
2024-11-28  7:47 ` [bug#74572] [PATCH 3/6] gnu: openpmix: Fix indentation Maxim Cournoyer
2024-11-28  7:47 ` Maxim Cournoyer [this message]
2024-11-28  7:47 ` [bug#74572] [PATCH 5/6] gnu: openmpi-5: Reformat Maxim Cournoyer
2024-11-28  7:47 ` [bug#74572] [PATCH 6/6] gnu: openmpi-5: Streamline source and do not install HTML doc Maxim Cournoyer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=f85c943020bc54f470dfd5c7511ede29b549c660.1732774966.git.maxim.cournoyer@gmail.com \
    --to=maxim.cournoyer@gmail.com \
    --cc=74572@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.