GNU bug report logs -
#72766
[PATCH 0/2] slurm: Enable REST API.
Previous Next
Reported by: Arun Isaac <arunisaac <at> systemreboot.net>
Date: Thu, 22 Aug 2024 23:34:02 UTC
Severity: normal
Tags: patch
Done: Arun Isaac <arunisaac <at> systemreboot.net>
Bug is archived. No further changes may be made.
Full log
Message #71 received at 72766 <at> debbugs.gnu.org (full text, mbox):
Hi Arun,
Arun Isaac <arunisaac <at> systemreboot.net> skribis:
> * gnu/packages/parallel.scm (slurm)[outputs]: Add client.
> [arguments]: Add move-client-executables phase.
>
> Change-Id: Id7441b0b34a5b8433e4c38bd5c56e4ca1fec587c
[...]
> + (outputs '("out" "client"))
> (arguments
> (list #:configure-flags
> #~(list "--enable-pam"
> @@ -291,7 +292,17 @@ (define-public slurm
> (invoke "make" "install" "-C" "contribs/pmi")
>
> ;; Others expect pmi2.
> - (invoke "make" "install" "-C" "contribs/pmi2"))))))
> + (invoke "make" "install" "-C" "contribs/pmi2")))
> + (add-after 'install 'move-client-executables
> + (lambda _
> + (let ((client-bin (string-append #$output:client "/bin")))
> + (mkdir-p client-bin)
> + (for-each (lambda (executable)
> + (rename-file executable
> + (string-append client-bin
> + "/"
> + (basename executable))))
> + (find-files (string-append #$output "/bin")))))))))
I think “bin” would be a more conventional name for the output; this is
used in a couple of packages and recognized by ‘package->recutils’.
However, what does ‘guix size slurm:client’ report? I suspect it
depends on slurm:out, in which case moving to a separate output makes no
difference from that perspective.
Thanks,
Ludo’.
This bug report was last modified 182 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.