Ticket 11114

Summary: Add support for jwt to slurm.spec
Product: Slurm Reporter: Ward Poelmans <ward.poelmans>
Component: Build System and PackagingAssignee: Tim McMullan <tmcmullan>
Status: RESOLVED FIXED QA Contact:
Severity: C - Contributions    
Priority: --- CC: alex.torregrosa
Version: 20.11.5   
Hardware: Linux   
OS: Linux   
Site: VUB Slinky Site: ---
Alineos Sites: --- Atos/Eviden Sites: ---
Confidential Site: --- Coreweave sites: ---
Cray Sites: --- DS9 clusters: ---
Google sites: --- HPCnow Sites: ---
HPE Sites: --- IBM Sites: ---
NOAA SIte: --- NoveTech Sites: ---
Nvidia HWinf-CS Sites: --- OCF Sites: ---
Recursion Pharma Sites: --- SFW Sites: ---
SNIC sites: --- Tzag Elita Sites: ---
Linux Distro: --- Machine Name:
CLE Version: Version Fixed: 23.02.1 23.11.0rc1
Target Release: --- DevPrio: ---
Emory-Cloud Sites: ---
Attachments: Add --with jwt to slurm spec file

Description Ward Poelmans 2021-03-17 06:45:25 MDT
Created attachment 18499 [details]
Add --with jwt to slurm spec file

The patch in attachment adds support for (lib)jwt to the slurm.spec file.

--with jwt will enable jwt and add the needed dependencies.

At this point, there is no RPM for libjwt in epel yet but the fedora spec file works fine: https://src.fedoraproject.org/rpms/libjwt
Comment 1 Ward Poelmans 2021-03-17 13:55:25 MDT
I've opened a bug at redhat to get it in epel 7 (for 8 the branch is already there): https://bugzilla.redhat.com/show_bug.cgi?id=1940198
Comment 3 Àlex Torregrosa 2023-03-22 04:49:57 MDT
Could this be added to 23.02.1? The patch works for us both in CentOS 7 and Rocky Linux 8 for slurm 23.02.
Comment 6 Tim McMullan 2023-03-23 10:47:53 MDT
Hi Alex and Ward,

I've pushed this ahead of the 23.02.1 release with some minor modifications.

Ward, thank you very much for your contribution!
--Tim