Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Merge branch 'master' into fix/execute_benched
[simgrid.git] / tools / cmake / src / internal_config.h.in
1 /* internal_config.h -- characteristics of the platform, as probed by Cmake */
2
3 /* Warning: The file internal_config.h is AUTOMATICALLY GENERATED by Cmake. 
4  * Edit the template instead: tools/cmake/src/internal_config.h.in          */
5
6 /* Copyright (c) 2004-2017. The SimGrid Team. All rights reserved.          */
7
8 /* This program is free software; you can redistribute it and/or modify it
9  * under the terms of the license (GNU LGPL) which comes with this package. */
10
11 #include "simgrid_config.h"       /* what was compiled in? */
12
13 /* Non-standard header files */
14 /* <execinfo.h> */
15 #cmakedefine01 HAVE_EXECINFO_H
16 /* <linux/futex.h> */
17 #cmakedefine01 HAVE_FUTEX_H
18 /* <signal.h> */
19 #cmakedefine01 HAVE_SIGNAL_H
20 /* <unistd.h> */
21 #cmakedefine01 HAVE_UNISTD_H
22 /* <ucontext.h> */
23 #cmakedefine01 HAVE_UCONTEXT_H
24 /* <valgrind/valgrind.h> */
25 #cmakedefine01 HAVE_VALGRIND_H
26
27 /* Address Sanitizer */
28 #cmakedefine01 HAVE_SANITIZE_ADDRESS
29 #cmakedefine01 HAVE_SANITIZE_ADDRESS_FIBER_SUPPORT
30
31 /* Time portability */
32 /* Function gettimeofday */
33 #cmakedefine01 HAVE_GETTIMEOFDAY
34 /* Function clock_gettime */
35 #cmakedefine01 HAVE_POSIX_GETTIME
36 /* Function nanosleep */
37 #cmakedefine01 HAVE_NANOSLEEP
38
39 /* The usable context factories */
40 #define HAVE_BOOST_CONTEXTS @HAVE_BOOST_CONTEXTS@
41 #cmakedefine01 HAVE_RAW_CONTEXTS
42 #cmakedefine01 HAVE_THREAD_CONTEXTS
43 #cmakedefine01 HAVE_UCONTEXT_CONTEXTS
44
45 /* Variables for the thread contexts (and parallel mode of raw contexts) */
46 /* Define to 1 if threads are usable . */
47 #cmakedefine01 HAVE_PTHREAD
48 /* Does not seems defined on Mac nor Windows */
49 #cmakedefine01 HAVE_PTHREAD_SETAFFINITY
50 /* If __thread is available */
51 #cmakedefine01 HAVE_THREAD_LOCAL_STORAGE
52
53 /* Variables for the raw contexts (to select the right assembly code) */
54 #cmakedefine01 SIMGRID_PROCESSOR_i686
55 #cmakedefine01 SIMGRID_PROCESSOR_x86_64
56
57 /* Variables for the SysV contexts */
58 @sg_makecontext_stack_addr@
59 @sg_makecontext_stack_size@
60
61 /* Variable for SysV, raw and Boost contexts */
62 /* Does the stack growth upward, or downward? */
63 #define PTH_STACKGROWTH @PTH_STACKGROWTH@
64
65 /* MC variables */
66 /* getdtablesize: get descriptor table size */
67 #cmakedefine01 HAVE_GETDTABLESIZE
68 /* Did we compile mmalloc in? */
69 #cmakedefine01 HAVE_MMALLOC
70 /* process_vm_readv: transfer data between process address spaces */
71 #cmakedefine01 HAVE_PROCESS_VM_READV
72 /* Set to true if enable_model-checking is true and the dependencies available */
73 #cmakedefine01 SIMGRID_HAVE_MC
74
75 /* SMPI variables */
76 /* SMPI enabled */
77 #cmakedefine01 HAVE_SMPI
78 /* Fortran language is available for SMPI */
79 #cmakedefine01 SMPI_FORTRAN
80 /* We have mmap and objdump to handle privatization */
81 #cmakedefine01 HAVE_PRIVATIZATION
82 /* We have PAPI to fine-grain trace execution time */
83 #cmakedefine01 HAVE_PAPI
84 /* We have sendfile to efficiently copy files for dl-open privatization */
85 #cmakedefine01 HAVE_SENDFILE
86
87 /* Other function checks */
88 /* Function backtrace */
89 #cmakedefine01 HAVE_BACKTRACE
90 /* Function dlfunc */
91 #cmakedefine01 HAVE_DLFUNC
92 /* Function mmap */
93 #cmakedefine01 HAVE_MMAP
94 /* Function mremap */
95 #cmakedefine01 HAVE_MREMAP
96 /* Function sem_init (part of XPG6 standard only) */
97 #cmakedefine01 HAVE_SEM_INIT
98 /* Function popen */
99 #cmakedefine01 HAVE_POPEN
100 /* Function sysconf */
101 #cmakedefine01 HAVE_SYSCONF
102 /* Function vasprintf */
103 #cmakedefine01 HAVE_VASPRINTF
104
105 /* Other checks */
106 /* Path to the addr2line tool */
107 #cmakedefine   ADDR2LINE "@ADDR2LINE@"
108 /* The graphviz library */
109 #cmakedefine01 HAVE_GRAPHVIZ
110 /* The lib unwind library (for MC and backtrace display) */
111 #cmakedefine01 HAVE_LIBUNWIND