Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
3b9e9f461bc77f9c41dfd52dfe65c8dad37979b9
[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-2018. 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_SANITIZER_THREAD
29 #cmakedefine01 HAVE_SANITIZER_ADDRESS
30 #cmakedefine01 HAVE_SANITIZER_ADDRESS_FIBER_SUPPORT
31
32 /* Time portability */
33 /* Function gettimeofday */
34 #cmakedefine01 HAVE_GETTIMEOFDAY
35 /* Function clock_gettime */
36 #cmakedefine01 HAVE_POSIX_GETTIME
37 /* Function nanosleep */
38 #cmakedefine01 HAVE_NANOSLEEP
39
40 /* The usable context factories */
41 #cmakedefine01 HAVE_BOOST_CONTEXTS
42 #cmakedefine01 HAVE_RAW_CONTEXTS
43 #cmakedefine01 HAVE_THREAD_CONTEXTS
44 #cmakedefine01 HAVE_UCONTEXT_CONTEXTS
45
46 /* Variables for the thread contexts (and parallel mode of raw contexts) */
47 /* Define to 1 if threads are usable . */
48 #cmakedefine01 HAVE_PTHREAD
49 /* Does not seems defined on Mac nor Windows */
50 #cmakedefine01 HAVE_PTHREAD_SETAFFINITY
51
52 /* Variables for the raw contexts (to select the right assembly code) */
53 #cmakedefine01 SIMGRID_PROCESSOR_i686
54 #cmakedefine01 SIMGRID_PROCESSOR_x86_64
55
56 /* Variables for the SysV contexts */
57 @sg_makecontext_stack_addr@
58 @sg_makecontext_stack_size@
59
60 /* Variable for SysV, raw and Boost contexts */
61 /* Does the stack growth upward, or downward? */
62 #define PTH_STACKGROWTH @PTH_STACKGROWTH@
63
64 /* MC variables */
65 /* getdtablesize: get descriptor table size */
66 #cmakedefine01 HAVE_GETDTABLESIZE
67 /* Did we compile mmalloc in? */
68 #cmakedefine01 HAVE_MMALLOC
69 /* process_vm_readv: transfer data between process address spaces */
70 #cmakedefine01 HAVE_PROCESS_VM_READV
71 /* Set to true if enable_model-checking is true and the dependencies available */
72 #cmakedefine01 SIMGRID_HAVE_MC
73
74 /* SMPI variables */
75 /* SMPI enabled */
76 #cmakedefine01 HAVE_SMPI
77 /* Fortran language is available for SMPI, and which one */
78 #cmakedefine01 SMPI_FORTRAN
79 #cmakedefine01 SMPI_GFORTRAN
80 #cmakedefine01 SMPI_FLANG
81 #cmakedefine01 SMPI_IFORT
82 /* We have mmap and objdump to handle privatization */
83 #cmakedefine01 HAVE_PRIVATIZATION
84 /* We have PAPI to fine-grain trace execution time */
85 #cmakedefine01 HAVE_PAPI
86 /* We have sendfile to efficiently copy files for dl-open privatization */
87 #cmakedefine01 HAVE_SENDFILE
88
89 /* Other function checks */
90 /* Function backtrace */
91 #cmakedefine01 HAVE_BACKTRACE
92 /* Function dlfunc */
93 #cmakedefine01 HAVE_DLFUNC
94 /* Function mmap */
95 #cmakedefine01 HAVE_MMAP
96 /* Function mremap */
97 #cmakedefine01 HAVE_MREMAP
98 /* Function sem_init (part of XPG6 standard only) */
99 #cmakedefine01 HAVE_SEM_INIT
100 /* Function popen */
101 #cmakedefine01 HAVE_POPEN
102 /* Function sysconf */
103 #cmakedefine01 HAVE_SYSCONF
104 /* Function vasprintf */
105 #cmakedefine01 HAVE_VASPRINTF
106
107 /* Other checks */
108 /* Path to the addr2line tool */
109 #cmakedefine   ADDR2LINE "@ADDR2LINE@"
110 /* The graphviz library */
111 #cmakedefine01 HAVE_GRAPHVIZ
112 /* The lib unwind library (for MC and backtrace display) */
113 #cmakedefine01 HAVE_LIBUNWIND