Logo AND Algorithmique Numérique Distribuée

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