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
View this message in rfc822 format
* gnu/packages/parallel.scm (slurm)[outputs]: Add client.
[arguments]: Add move-client-executables phase.
Change-Id: Id7441b0b34a5b8433e4c38bd5c56e4ca1fec587c
---
gnu/packages/parallel.scm | 13 ++++++++++++-
1 file changed, 12 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/parallel.scm b/gnu/packages/parallel.scm
index 522d326ef2..f27f07ca1e 100644
--- a/gnu/packages/parallel.scm
+++ b/gnu/packages/parallel.scm
@@ -246,6 +246,7 @@ (define-public slurm
(native-inputs
(list autoconf expect perl pkg-config python-wrapper))
(build-system gnu-build-system)
+ (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")))))))))
(home-page "https://slurm.schedmd.com/")
(synopsis "Workload manager for cluster computing")
(description
--
2.45.2
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.