diff options
Diffstat (limited to 'sysutils/slurm-wlm/files')
-rw-r--r-- | sysutils/slurm-wlm/files/patch-c8be6ceb.c | 25 | ||||
-rw-r--r-- | sysutils/slurm-wlm/files/patch-configure | 38 | ||||
-rw-r--r-- | sysutils/slurm-wlm/files/patch-src_plugins_select_cons__tres_job__test.c | 26 |
3 files changed, 38 insertions, 51 deletions
diff --git a/sysutils/slurm-wlm/files/patch-c8be6ceb.c b/sysutils/slurm-wlm/files/patch-c8be6ceb.c deleted file mode 100644 index 645ab28d0c54..000000000000 --- a/sysutils/slurm-wlm/files/patch-c8be6ceb.c +++ /dev/null @@ -1,25 +0,0 @@ -diff --git a/src/scancel/scancel.c b/src/scancel/scancel.c -index 4448b75599..23594fe0bf 100644 ---- src/scancel/scancel.c -+++ src/scancel/scancel.c -@@ -99,6 +99,7 @@ static pthread_cond_t num_active_threads_cond; - static pthread_mutex_t max_delay_lock; - static uint32_t max_resp_time = 0; - static int request_count = 0; -+opt_t opt; - - int - main (int argc, char **argv) -diff --git a/src/scancel/scancel.h b/src/scancel/scancel.h -index a0c9d8a829..678bcd7616 100644 ---- src/scancel/scancel.h -+++ src/scancel/scancel.h -@@ -75,7 +75,7 @@ typedef struct scancel_options { - bool *job_pend; /* Set fi job is pending */ - } opt_t; - --opt_t opt; -+extern opt_t opt; - - /* process options: - * 1. set defaults diff --git a/sysutils/slurm-wlm/files/patch-configure b/sysutils/slurm-wlm/files/patch-configure new file mode 100644 index 000000000000..5fb3c989de75 --- /dev/null +++ b/sysutils/slurm-wlm/files/patch-configure @@ -0,0 +1,38 @@ +--- configure.orig 2020-11-30 15:56:36 UTC ++++ configure +@@ -24075,8 +24075,24 @@ fi + + + x_ac_lua_pkg_name="lua" +- #check for 5.3 then 5.2 then 5.1 +- if test -n "$PKG_CONFIG" && \ ++ #check for 5.4 then 5.3 then 5.2 then 5.1 ++if test -n "$PKG_CONFIG" && \ ++ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua5.4\""; } >&5 ++ ($PKG_CONFIG --exists --print-errors "lua5.4") 2>&5 ++ ac_status=$? ++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; }; then ++ x_ac_lua_pkg_name=lua5.4 ++else ++ if test -n "$PKG_CONFIG" && \ ++ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua-5.4\""; } >&5 ++ ($PKG_CONFIG --exists --print-errors "lua-5.4") 2>&5 ++ ac_status=$? ++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; }; then ++ x_ac_lua_pkg_name=lua-5.4 ++else ++ if test -n "$PKG_CONFIG" && \ + { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua5.3\""; } >&5 + ($PKG_CONFIG --exists --print-errors "lua5.3") 2>&5 + ac_status=$? +@@ -24125,6 +24141,8 @@ else + x_ac_lua_pkg_name=lua-5.1 + else + x_ac_lua_pkg_name="lua >= 5.1" ++fi ++fi + fi + fi + fi diff --git a/sysutils/slurm-wlm/files/patch-src_plugins_select_cons__tres_job__test.c b/sysutils/slurm-wlm/files/patch-src_plugins_select_cons__tres_job__test.c deleted file mode 100644 index 95640af1ae59..000000000000 --- a/sysutils/slurm-wlm/files/patch-src_plugins_select_cons__tres_job__test.c +++ /dev/null @@ -1,26 +0,0 @@ ---- src/plugins/select/cons_tres/job_test.c.orig 2020-03-26 21:44:05 UTC -+++ src/plugins/select/cons_tres/job_test.c -@@ -41,23 +41,6 @@ - - #define _DEBUG 0 /* Enables module specific debugging */ - --/* -- * These symbols are defined here so when we link with something other -- * than the slurmctld we will have these symbols defined. They will get -- * overwritten when linking with the slurmctld. -- */ --#if defined (__APPLE__) --extern slurmctld_config_t slurmctld_config __attribute__((weak_import)); --extern bitstr_t *idle_node_bitmap __attribute__((weak_import)); --extern node_record_t *node_record_table_ptr __attribute__((weak_import)); --extern List job_list __attribute__((weak_import)); --#else --slurmctld_config_t slurmctld_config; --bitstr_t *idle_node_bitmap; --node_record_t *node_record_table_ptr; --List job_list; --#endif -- - typedef struct node_weight_struct { - bitstr_t *node_bitmap; /* bitmap of nodes with this weight */ - uint32_t weight; /* priority of node for scheduling work on */ |