From: "Ludovic Courtès" <ludovic.courtes@inria.fr>
To: Arun Isaac <arunisaac@systemreboot.net>
Cc: 72766@debbugs.gnu.org
Subject: [bug#72766] [PATCH v4] gnu: slurm: Enable REST API.
Date: Tue, 12 Nov 2024 11:35:51 +0100 [thread overview]
Message-ID: <87o72ku4c8.fsf@gnu.org> (raw)
In-Reply-To: <64fa0bf0f949a50512b2dc91ed436a5e96d71a77.1729869863.git.arunisaac@systemreboot.net> (Arun Isaac's message of "Fri, 25 Oct 2024 16:24:30 +0100")
Hello,
Arun Isaac <arunisaac@systemreboot.net> skribis:
> Rename slurm and slurm-* to slurm-minimal and slurm-minimal-*. Add new slurm
> packages that inherit from slurm-minimal and have the REST API enabled.
>
> * gnu/packages/parallel.scm (make-slurm): New function.
> (slurm-minimal, slurm-minimal-23.02, slurm-minimal-22.05, slurm-minimal-21.08,
> slurm-minimal-20.11, slurm-minimal-20.02, slurm-minimal-19.05,
> slurm-minimal-18.08): New variables.
> (slurm, slurm-23.02, slurm-22.05, slurm-21.08, slurm-20.11, slurm-20.02,
> slurm-19.05, slurm-18.08): Inherit from slurm-minimal, slurm-minimal-23.02,
> slurm-minimal-22.05, slurm-minimal-21.08, slurm-minimal-20.11,
> slurm-minimal-20.02, slurm-minimal-19.05 and slurm-minimal-18.08 respectively.
>
> Change-Id: I6410ac385d8876f4b6a908ddb1272172475a87bb
[...]
> +(define (make-slurm base-slurm)
> + "Make a slurm package with all optional features enabled. Base it off of the
> +minimal slurm package BASE-SLURM."
> + (package
> + (inherit base-slurm)
> + (name "slurm")
> + (arguments
> + (substitute-keyword-arguments (package-arguments base-slurm)
> + ((#:configure-flags flags #~'())
> + #~(cons* "--enable-slurmrestd"
> + (string-append "--with-bpf="
> + (dirname
> + (dirname (search-input-directory
> + %build-inputs "include/linux"))))
> + (string-append "--with-http-parser="
> + #$(this-package-input "http-parser"))
> + (string-append "--with-rdkafka="
> + #$(this-package-input "librdkafka"))
> + (string-append "--with-yaml="
> + #$(this-package-input "libyaml"))
> + #$flags))))
> + ;; FIXME: More optional inputs could be added.
> + (inputs
> + (modify-inputs (package-inputs base-slurm)
> + (prepend dbus freeipmi http-parser
> + libjwt librdkafka libyaml (list mariadb "dev"))))))
Could you add a comment and/or synopsis stating that these dependencies
enable support for the REST API?
Otherwise LGTM. Feel free to commit with this change.
Thanks!
Ludo’.
next prev parent reply other threads:[~2024-11-12 10:36 UTC|newest]
Thread overview: 29+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-08-22 23:30 [bug#72766] [PATCH 0/2] slurm: Enable REST API Arun Isaac
2024-08-22 23:36 ` [bug#72766] [PATCH 1/2] gnu: Add libjwt Arun Isaac
2024-08-22 23:36 ` [bug#72766] [PATCH 2/2] gnu: slurm: Enable REST API Arun Isaac
2024-09-02 7:43 ` Ludovic Courtès
2024-09-06 16:03 ` Arun Isaac
2024-09-06 16:06 ` Arun Isaac
2024-09-09 7:13 ` Ludovic Courtès
2024-09-09 14:59 ` Arun Isaac
2024-09-10 8:32 ` Ludovic Courtès
2024-09-09 15:24 ` [bug#72766] [PATCH v2 1/2] gnu: Add libjwt Arun Isaac
2024-09-09 15:24 ` [bug#72766] [PATCH v2 2/2] gnu: slurm: Enable REST API Arun Isaac
2024-09-10 6:50 ` Ludovic Courtès
2024-09-10 15:02 ` Arun Isaac
2024-09-12 8:24 ` Ludovic Courtès
2024-09-12 11:51 ` Arun Isaac
2024-09-12 15:31 ` Ludovic Courtès
2024-09-16 21:55 ` Arun Isaac
2024-09-17 6:37 ` Ludovic Courtès
2024-09-17 14:54 ` Arun Isaac
2024-10-18 14:58 ` [bug#72766] [PATCH v3 0/2] " Arun Isaac
2024-10-18 14:58 ` [bug#72766] [PATCH v3 1/2] gnu: " Arun Isaac
2024-10-18 14:58 ` [bug#72766] [PATCH v3 2/2] gnu: slurm: Move client executables into separate output Arun Isaac
2024-10-24 10:01 ` Ludovic Courtès
2024-10-24 14:50 ` Arun Isaac
2024-10-25 9:32 ` Ludovic Courtès
2024-10-25 15:23 ` Arun Isaac
2024-10-25 15:24 ` [bug#72766] [PATCH v4] gnu: slurm: Enable REST API Arun Isaac
2024-11-12 10:35 ` Ludovic Courtès [this message]
2024-11-18 14:05 ` bug#72766: " Arun Isaac
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=87o72ku4c8.fsf@gnu.org \
--to=ludovic.courtes@inria.fr \
--cc=72766@debbugs.gnu.org \
--cc=arunisaac@systemreboot.net \
/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.