~ruther/guix-local

552ca46e7b33ea9567e98cd9cf69a74b263872e4 — Ludovic Courtès a month ago 1cbba4f
gnu: openpmix: Simplify.

* gnu/packages/parallel.scm (openpmix)[source]: Use ‘modules’ field and adjust
‘snippet’ accordingly.
[arguments]: Remove now-useless configure flag.

Change-Id: I2ec33232021485a019a8f86818e2f540963d4338
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
1 files changed, 4 insertions(+), 6 deletions(-)

M gnu/packages/parallel.scm
M gnu/packages/parallel.scm => gnu/packages/parallel.scm +4 -6
@@ 729,17 729,15 @@ single-instruction multiple-data (SIMD) intrinsics.")
              (sha256
               (base32
                "062k2agr311j06pavmrim1savmcv4f3c5jir4w1jxs0cdnb6ksdz"))
              (modules '((guix build utils)))
              (snippet
               '(begin (use-modules (guix build utils))
                       ;; Remove ~5 MiB of pre-built HTML doc.
                       (delete-file-recursively "docs/_build/html")))))
               ;; Remove ~5 MiB of pre-built HTML doc.
               #~(delete-file-recursively "docs/_build/html"))))
    (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
      #~(list "--enable-python-bindings")         ;disabled by default

      ;; Don't keep a reference to GCC.
      #:disallowed-references (and (not (%current-target-system))