forked from University-of-Delaware-IT-RCI/auto_tmpdir
-
Notifications
You must be signed in to change notification settings - Fork 0
/
auto_tmpdir_config.h.in
50 lines (40 loc) · 1.23 KB
/
auto_tmpdir_config.h.in
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
/*
* auto_tmpdir_config.h
*
* Auto-generated file of macros and header includes.
*
*/
#ifndef __AUTO_TMPDIR_CONFIG_H__
#define __AUTO_TMPDIR_CONFIG_H__
#define _GNU_SOURCE
#include <stdlib.h>
#include <limits.h>
#include <string.h>
#include <ctype.h>
#include <slurm/spank.h>
#include <slurm/slurm.h>
#cmakedefine AUTO_TMPDIR_DEV_SHM "@AUTO_TMPDIR_DEV_SHM@"
#ifndef AUTO_TMPDIR_DEV_SHM
# define AUTO_TMPDIR_DEV_SHM "/dev/shm"
#endif
#cmakedefine AUTO_TMPDIR_DEV_SHM_PREFIX "@AUTO_TMPDIR_DEV_SHM_PREFIX@"
#ifndef AUTO_TMPDIR_DEV_SHM_PREFIX
# define AUTO_TMPDIR_DEV_SHM_PREFIX "/dev/shm/slurm-"
#endif
#cmakedefine AUTO_TMPDIR_DEFAULT_LOCAL_PREFIX "@AUTO_TMPDIR_DEFAULT_LOCAL_PREFIX@"
#ifndef AUTO_TMPDIR_DEFAULT_LOCAL_PREFIX
# define AUTO_TMPDIR_DEFAULT_LOCAL_PREFIX "/tmp/slurm-"
#endif
#cmakedefine AUTO_TMPDIR_ENABLE_SHARED_TMPDIR
#ifdef AUTO_TMPDIR_ENABLE_SHARED_TMPDIR
#cmakedefine AUTO_TMPDIR_DEFAULT_SHARED_PREFIX "@AUTO_TMPDIR_DEFAULT_SHARED_PREFIX@"
#else
#define AUTO_TMPDIR_DEFAULT_SHARED_PREFIX NULL
#endif
#cmakedefine AUTO_TMPDIR_NO_GID_CHOWN
#ifndef AUTO_TMPDIR_NO_GID_CHOWN
# if SLURM_VERSION_MAJOR(SLURM_VERSION_NUMBER) < 20
# define AUTO_TMPDIR_NO_GID_CHOWN
# endif
#endif
#endif /* __AUTO_TMPDIR_CONFIG_H__ */