Skip to content
Snippets Groups Projects
Commit cdcc4af9 authored by Morris Jette's avatar Morris Jette
Browse files

Add global variable as needed in priority/multifactor

needed for test24.1
parent e5ac37f1
No related branches found
No related tags found
No related merge requests found
...@@ -71,10 +71,12 @@ ...@@ -71,10 +71,12 @@
* overwritten when linking with the slurmctld. * overwritten when linking with the slurmctld.
*/ */
#if defined (__APPLE__) #if defined (__APPLE__)
void *acct_db_conn __attribute__((weak_import)) = NULL;
uint32_t cluster_cpus __attribute__((weak_import)) = NO_VAL; uint32_t cluster_cpus __attribute__((weak_import)) = NO_VAL;
List job_list __attribute__((weak_import)) = NULL; List job_list __attribute__((weak_import)) = NULL;
time_t last_job_update __attribute__((weak_import)); time_t last_job_update __attribute__((weak_import));
#else #else
void *acct_db_conn = NULL;
uint32_t cluster_cpus = NO_VAL; uint32_t cluster_cpus = NO_VAL;
List job_list = NULL; List job_list = NULL;
time_t last_job_update; time_t last_job_update;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment