Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
c32f594fb8a788f9a91417b0675cffc4d05fac48
[simgrid.git] / 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: src/internal_config.h.in                      */
5
6 /* Copyright (c) 2004-2019. 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 /* <linux/futex.h> */
15 #cmakedefine01 HAVE_FUTEX_H
16 /* <signal.h> */
17 #cmakedefine01 HAVE_SIGNAL_H
18 /* <unistd.h> */
19 #cmakedefine01 HAVE_UNISTD_H
20 /* <ucontext.h> */
21 #cmakedefine01 HAVE_UCONTEXT_H
22 /* <valgrind/valgrind.h> */
23 #cmakedefine01 HAVE_VALGRIND_H
24
25 /* Address Sanitizer */
26 #cmakedefine01 HAVE_SANITIZER_THREAD
27 #cmakedefine01 HAVE_SANITIZER_ADDRESS
28 #cmakedefine01 HAVE_SANITIZER_ADDRESS_FIBER_SUPPORT
29
30 /* Time portability */
31 /* Function gettimeofday */
32 #cmakedefine01 HAVE_GETTIMEOFDAY
33 /* Function clock_gettime */
34 #cmakedefine01 HAVE_POSIX_GETTIME
35 /* Function nanosleep */
36 #cmakedefine01 HAVE_NANOSLEEP
37
38 /* The usable context factories */
39 #cmakedefine01 HAVE_BOOST_CONTEXTS
40 #cmakedefine01 HAVE_RAW_CONTEXTS
41 #cmakedefine01 HAVE_UCONTEXT_CONTEXTS
42
43 /* Variables for the thread contexts (and parallel mode of raw contexts) */
44 /* Does not seems defined on Mac nor Windows */
45 #cmakedefine01 HAVE_PTHREAD_SETAFFINITY
46
47 /* Variables for the raw contexts (to select the right assembly code) */
48 #cmakedefine01 SIMGRID_PROCESSOR_i686
49 #cmakedefine01 SIMGRID_PROCESSOR_x86_64
50
51 /* Variables for the SysV contexts */
52 @sg_makecontext_stack_addr@
53 @sg_makecontext_stack_size@
54
55 /* Variable for SysV, raw and Boost contexts */
56 /* Does the stack growth upward, or downward? */
57 #define PTH_STACKGROWTH @PTH_STACKGROWTH@
58
59 /* MC variables */
60 /* getdtablesize: get descriptor table size */
61 #cmakedefine01 HAVE_GETDTABLESIZE
62 /* Did we compile mmalloc in? */
63 #cmakedefine01 HAVE_MMALLOC
64 /* process_vm_readv: transfer data between process address spaces */
65 #cmakedefine01 HAVE_PROCESS_VM_READV
66
67 /* SMPI variables */
68 /* SMPI enabled */
69 #cmakedefine01 HAVE_SMPI
70 /* Fortran language is available for SMPI, and which one */
71 #cmakedefine01 SMPI_FORTRAN
72 #cmakedefine01 SMPI_GFORTRAN
73 #cmakedefine01 SMPI_FLANG
74 #cmakedefine01 SMPI_IFORT
75 /* We have mmap and objdump to handle privatization */
76 #cmakedefine01 HAVE_PRIVATIZATION
77 /* We have PAPI to fine-grain trace execution time */
78 #cmakedefine01 HAVE_PAPI
79 /* We have sendfile to efficiently copy files for dl-open privatization */
80 #cmakedefine01 SG_HAVE_SENDFILE
81
82 /* Other function checks */
83 /* Function dlfunc */
84 #cmakedefine01 HAVE_DLFUNC
85 /* Function mmap */
86 #cmakedefine01 HAVE_MMAP
87 /* Function mremap */
88 #cmakedefine01 HAVE_MREMAP
89 /* Function sysconf */
90 #cmakedefine01 HAVE_SYSCONF
91 /* Function vasprintf */
92 #cmakedefine01 HAVE_VASPRINTF
93
94 /* Other checks */
95 /* The graphviz library */
96 #cmakedefine01 HAVE_GRAPHVIZ
97 /* The lib unwind library (for MC and backtrace display) */
98 #cmakedefine01 HAVE_LIBUNWIND
99 /* The boost_stacktrace_backtrace library */
100 #cmakedefine01 HAVE_BOOST_STACKTRACE