GNU bug report logs - #74572
[PATCH 0/6] ] Python bindings, reduced size for OpenPMIx/OpenMPI.

Previous Next

Package: guix-patches;

Reported by: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>

Date: Thu, 28 Nov 2024 06:25:01 UTC

Severity: normal

Tags: patch

Done: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
To: 74572 <at> debbugs.gnu.org
Cc: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>, Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
Subject: [bug#74572] [PATCH 3/6] gnu: openpmix: Fix indentation.
Date: Thu, 28 Nov 2024 16:47:54 +0900
* gnu/packages/parallel.scm (openpmix): Fix indentation.

Change-Id: I05751408847343ac593e666afc5f1efbbef94a79
---
 gnu/packages/parallel.scm | 106 +++++++++++++++++++-------------------
 1 file changed, 53 insertions(+), 53 deletions(-)

diff --git a/gnu/packages/parallel.scm b/gnu/packages/parallel.scm
index 6a16f0e4c0..3e50a75047 100644
--- a/gnu/packages/parallel.scm
+++ b/gnu/packages/parallel.scm
@@ -696,61 +696,61 @@ (define-public psimd
 
 (define-public openpmix
   (package
-   (name "openpmix")
-   (version "4.2.8")
-   (source (origin
-            (method url-fetch)
-            (uri (string-append
-                  "https://github.com/openpmix/openpmix/releases/download/v"
-                  version "/pmix-" version ".tar.bz2"))
-            (sha256
-             (base32
-              "1j9xlhqrrmgjdkwakamn78y5gj756adi53hn25zksgr3is3l5d09"))))
-   (build-system gnu-build-system)
-   (arguments
-    (list #:configure-flags
-          #~(list (string-append "--with-hwloc="
-                                 (ungexp (this-package-input "hwloc") "lib"))
-                  "--enable-python-bindings") ;disabled by default
-
-          ;; Don't keep a reference to GCC.
-          #:disallowed-references (and (not (%current-target-system))
-                                       (list (canonical-package gcc)))
-          #:phases
-          #~(modify-phases %standard-phases
-              (add-after 'unpack 'set-LDFLAGS
-                (lambda _
-                  ;; The Cython-compiled shared library would fail the
-                  ;; validate-runpath phase otherwise.
-                  (setenv "LDFLAGS"
-                          (string-append "-Wl,-rpath=" #$output "/lib"))))
-              (add-before 'configure 'strip-pmix-cc-absolute
-                (lambda _
-                  ;; The 'pmix_info' program prints the 'configure' command
-                  ;; line, compiler absolute file name, etc., which causes it
-                  ;; to keep references to many build-time packages.  Scrub
-                  ;; these.
-                  (substitute* "configure"
-                    (("PMIX_CC_ABSOLUTE=\"(.*)\"" _ cc)
-                     (string-append "PMIX_CC_ABSOLUTE=\"$(basename \""
-                                    cc "\")\"\n")))))
-              (add-after 'configure 'strip-pmix-config-header
-                (lambda _
-                  (substitute* "src/include/pmix_config.h"
-                    (("#define PMIX_CONFIGURE_CLI .*")
-                     "#define PMIX_CONFIGURE_CLI \"[scrubbed]\"\n")))))))
-   (inputs (list libevent `(,hwloc "lib") zlib))
-   (native-inputs (list perl python python-cython))
-   (synopsis "PMIx library")
-   (description
-    "PMIx is an application programming interface standard that provides
+    (name "openpmix")
+    (version "4.2.8")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append
+                    "https://github.com/openpmix/openpmix/releases/download/v"
+                    version "/pmix-" version ".tar.bz2"))
+              (sha256
+               (base32
+                "1j9xlhqrrmgjdkwakamn78y5gj756adi53hn25zksgr3is3l5d09"))))
+    (build-system gnu-build-system)
+    (arguments
+     (list
+      #:configure-flags
+      #~(list (string-append "--with-hwloc="
+                             (ungexp (this-package-input "hwloc") "lib"))
+              "--enable-python-bindings") ;disabled by default
+
+      ;; Don't keep a reference to GCC.
+      #:disallowed-references (and (not (%current-target-system))
+                                   (list (canonical-package gcc)))
+      #:phases
+      #~(modify-phases %standard-phases
+          (add-after 'unpack 'set-LDFLAGS
+            (lambda _
+              ;; The Cython-compiled shared library would fail the
+              ;; validate-runpath phase otherwise.
+              (setenv "LDFLAGS"
+                      (string-append "-Wl,-rpath=" #$output "/lib"))))
+          (add-before 'configure 'strip-pmix-cc-absolute
+            (lambda _
+              ;; The 'pmix_info' program prints the 'configure' command line,
+              ;; compiler absolute file name, etc., which causes it to keep
+              ;; references to many build-time packages.  Scrub these.
+              (substitute* "configure"
+                (("PMIX_CC_ABSOLUTE=\"(.*)\"" _ cc)
+                 (string-append "PMIX_CC_ABSOLUTE=\"$(basename \""
+                                cc "\")\"\n")))))
+          (add-after 'configure 'strip-pmix-config-header
+            (lambda _
+              (substitute* "src/include/pmix_config.h"
+                (("#define PMIX_CONFIGURE_CLI .*")
+                 "#define PMIX_CONFIGURE_CLI \"[scrubbed]\"\n")))))))
+    (inputs (list libevent `(,hwloc "lib") zlib))
+    (native-inputs (list perl python python-cython))
+    (synopsis "PMIx library")
+    (description
+     "PMIx is an application programming interface standard that provides
 libraries and programming models with portable and well-defined access to
 commonly needed services in distributed and parallel computing systems.")
-   (home-page "https://pmix.org/")
-   ;; configure: WARNING: PMIx does not support 32 bit builds.
-   (supported-systems %64bit-supported-systems)
-   ;; The provided license is kind of BSD-style but specific.
-   (license (license:fsf-free "https://github.com/openpmix/openpmix?tab=License-1-ov-file#License-1-ov-file"))))
+    (home-page "https://pmix.org/")
+    ;; configure: WARNING: PMIx does not support 32 bit builds.
+    (supported-systems %64bit-supported-systems)
+    ;; The provided license is kind of BSD-style but specific.
+    (license (license:fsf-free "https://github.com/openpmix/openpmix?tab=License-1-ov-file#License-1-ov-file"))))
 
 (define-public prrte
   (package
-- 
2.46.0





This bug report was last modified 152 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.