Egbert Eich
e7275730c8
- Update to 23.11.1 with following major improvements and fixing CVE-2023-49933, CVE-2023-49934, CVE-2023-49935, CVE-2023-49936 and CVE-2023-49937 * Substantially overhauled the SlurmDBD association management code. For clusters updated to 23.11, account and user additions or removals are significantly faster than in prior releases. * Overhauled 'scontrol reconfigure' to prevent configuration mistakes from disabling slurmctld and slurmd. Instead, an error will be returned, and the running configuration will persist. This does require updates to the systemd service files to use the --systemd option to slurmctld and slurmd. * Added a new internal auth/cred plugin - "auth/slurm". This builds off the prior auth/jwt model, and permits operation of the slurmdbd and slurmctld without access to full directory information with a suitable configuration. * Added a new --external-launcher option to srun, which is automatically set by common MPI launcher implementations and ensures processes using those non-srun launchers have full access to all resources allocated on each node. * Reworked the dynamic/cloud modes of operation to allow for "fanout" - where Slurm communication can be automatically offloaded to compute nodes for increased cluster scalability. Added initial official Debian packaging support. * Overhauled and extended the Reservation subsystem to allow for most of the same resource requirements as are placed on the job. Notably, this permits reservations to now reserve GRES directly. - Details of changes: * Fix scontrol update job=... TimeLimit+=/-= when used with a raw JobId of job array element. * Reject TimeLimit increment/decrement when called on job with TimeLimit=UNLIMITED. * Fix issue with requesting a job with *licenses as well as OBS-URL: https://build.opensuse.org/request/show/1138332 OBS-URL: https://build.opensuse.org/package/show/network:cluster/slurm?expand=0&rev=284
59 lines
2.8 KiB
Diff
59 lines
2.8 KiB
Diff
From 46bea350d06e9c8e1f93938ce2b2bd04a1c3bf3f Mon Sep 17 00:00:00 2001
|
|
From: Egbert Eich <eich@suse.com>
|
|
Date: Wed, 8 Jan 2020 20:56:25 +0100
|
|
Subject: [PATCH] Remove rpath from build
|
|
|
|
Signed-off-by: Egbert Eich <eich@suse.com>
|
|
---
|
|
contribs/perlapi/libslurm/perl/Makefile.PL.in | 4 ++--
|
|
contribs/perlapi/libslurmdb/perl/Makefile.PL.in | 4 ++--
|
|
2 files changed, 4 insertions(+), 4 deletions(-)
|
|
|
|
diff --git a/contribs/perlapi/libslurm/perl/Makefile.PL.in b/contribs/perlapi/libslurm/perl/Makefile.PL.in
|
|
index e8f8aff54d..b51f53f412 100644
|
|
--- a/contribs/perlapi/libslurm/perl/Makefile.PL.in
|
|
+++ b/contribs/perlapi/libslurm/perl/Makefile.PL.in
|
|
@@ -68,7 +68,7 @@ DESTDIR_BUG
|
|
# AIX has problems with not always having the correct
|
|
# flags so we have to add some :)
|
|
my $os = lc(`uname`);
|
|
-my $other_ld_flags = '-Wl,-rpath,@top_builddir@/src/api/.libs -Wl,-rpath,@libdir@';
|
|
+my $other_ld_flags = "-L@top_builddir@/src/api/.libs -lslurm";
|
|
$other_ld_flags = " -brtl -G -bnoentry -bgcbypass:1000 -bexpfull"
|
|
if $os =~ "aix";
|
|
|
|
@@ -79,7 +79,7 @@ WriteMakefile(
|
|
($] >= 5.005 ? ## Add these new keywords supported since 5.005
|
|
(ABSTRACT_FROM => 'lib/Slurm.pm', # retrieve abstract from module
|
|
AUTHOR => 'Hongjia Cao <hjcao@nudt.edu.cn>') : ()),
|
|
- LIBS => ['-L@top_builddir@/src/api/.libs -L@libdir@ -lslurm'], # e.g., '-lm'
|
|
+ LIBS => ["-L@prefix@/lib -lslurm"], # e.g., '-lm'
|
|
DEFINE => '', # e.g., '-DHAVE_SOMETHING'
|
|
INC => "-I. -I@top_srcdir@ -I@top_srcdir@/contribs/perlapi/common -I@top_builddir@",
|
|
# Un-comment this if you add C files to link with later:
|
|
diff --git a/contribs/perlapi/libslurmdb/perl/Makefile.PL.in b/contribs/perlapi/libslurmdb/perl/Makefile.PL.in
|
|
index 4fb38b9725..148efa6e82 100644
|
|
--- a/contribs/perlapi/libslurmdb/perl/Makefile.PL.in
|
|
+++ b/contribs/perlapi/libslurmdb/perl/Makefile.PL.in
|
|
@@ -68,7 +68,7 @@ DESTDIR_BUG
|
|
# AIX has problems with not always having the correct
|
|
# flags so we have to add some :)
|
|
my $os = lc(`uname`);
|
|
-my $other_ld_flags = '-Wl,-rpath,@top_builddir@/src/db_api/.libs -Wl,-rpath,@libdir@';
|
|
+my $other_ld_flags = "-L@top_builddir@/src/api/.libs -lslurm";
|
|
$other_ld_flags = " -brtl -G -bnoentry -bgcbypass:1000 -bexpfull"
|
|
if $os =~ "aix";
|
|
|
|
@@ -79,7 +79,7 @@ WriteMakefile(
|
|
($] >= 5.005 ? ## Add these new keywords supported since 5.005
|
|
(ABSTRACT_FROM => 'Slurmdb.pm', # retrieve abstract from module
|
|
AUTHOR => 'Don Lipari <lipari@llnl.gov>') : ()),
|
|
- LIBS => ['-L@top_builddir@/src/api/.libs -L@libdir@ -lslurm'], # e.g., '-lm'
|
|
+ LIBS => ["-L@prefix@/lib -lslurm"], # e.g., '-lm'
|
|
DEFINE => '', # e.g., '-DHAVE_SOMETHING'
|
|
INC => "-I. -I@top_srcdir@ -I@top_srcdir@/contribs/perlapi/common -I@top_builddir@",
|
|
# Un-comment this if you add C files to link with later:
|
|
--
|
|
2.42.1
|
|
|