1 /* internal_config.h -- characteristics of the platform, as probed by Cmake */
3 /* Warning: The file internal_config.h is AUTOMATICALLY GENERATED by Cmake.
4 * Edit the template instead: src/internal_config.h.in */
6 /* Copyright (c) 2004-2019. The SimGrid Team. All rights reserved. */
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. */
11 #include "simgrid/config.h" /* what was compiled in? */
13 /* Non-standard header files */
15 #cmakedefine01 HAVE_FUTEX_H
17 #cmakedefine01 HAVE_SIGNAL_H
19 #cmakedefine01 HAVE_UNISTD_H
21 #cmakedefine01 HAVE_UCONTEXT_H
22 /* <valgrind/valgrind.h> */
23 #cmakedefine01 HAVE_VALGRIND_H
25 /* Address Sanitizer */
26 #cmakedefine01 HAVE_SANITIZER_THREAD
27 #cmakedefine01 HAVE_SANITIZER_ADDRESS
28 #cmakedefine01 HAVE_SANITIZER_ADDRESS_FIBER_SUPPORT
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
38 /* The usable context factories */
39 #cmakedefine01 HAVE_BOOST_CONTEXTS
40 #cmakedefine01 HAVE_RAW_CONTEXTS
41 #cmakedefine01 HAVE_UCONTEXT_CONTEXTS
43 /* Variables for the thread contexts (and parallel mode of raw contexts) */
44 /* pthread_setaffinity_np() is Linux and FreeBSD but not on Mac nor Windows */
45 #cmakedefine01 HAVE_PTHREAD_SETAFFINITY
46 /* pthread_setaffinity_np() defined in pthread_np.h on FreeBSD but not Linux */
47 #cmakedefine01 HAVE_PTHREAD_NP_H
49 /* Variables for the raw contexts (to select the right assembly code) */
50 #cmakedefine01 SIMGRID_PROCESSOR_i686
51 #cmakedefine01 SIMGRID_PROCESSOR_x86_64
53 /* Variables for the SysV contexts */
54 @sg_makecontext_stack_addr@
55 @sg_makecontext_stack_size@
57 /* Variable for SysV, raw and Boost contexts */
58 /* Does the stack growth upward, or downward? */
59 #define PTH_STACKGROWTH @PTH_STACKGROWTH@
62 /* getdtablesize: get descriptor table size */
63 #cmakedefine01 HAVE_GETDTABLESIZE
64 /* Did we compile mmalloc in? */
65 #cmakedefine01 HAVE_MMALLOC
66 /* process_vm_readv: transfer data between process address spaces */
67 #cmakedefine01 HAVE_PROCESS_VM_READV
71 #cmakedefine01 HAVE_SMPI
72 /* Fortran language is available for SMPI, and which one */
73 #cmakedefine01 SMPI_FORTRAN
74 #cmakedefine01 SMPI_GFORTRAN
75 #cmakedefine01 SMPI_FLANG
76 #cmakedefine01 SMPI_IFORT
77 /* We have mmap and objdump to handle privatization */
78 #cmakedefine01 HAVE_PRIVATIZATION
79 /* We have PAPI to fine-grain trace execution time */
80 #cmakedefine01 HAVE_PAPI
81 /* We have sendfile to efficiently copy files for dl-open privatization */
82 #cmakedefine01 SG_HAVE_SENDFILE
84 /* Other function checks */
86 #cmakedefine01 HAVE_DLFUNC
88 #cmakedefine01 HAVE_MMAP
90 #cmakedefine01 HAVE_MREMAP
91 /* Function sysconf */
92 #cmakedefine01 HAVE_SYSCONF
93 /* Function vasprintf */
94 #cmakedefine01 HAVE_VASPRINTF
97 /* The graphviz library */
98 #cmakedefine01 HAVE_GRAPHVIZ
99 /* The lib unwind library (for MC and backtrace display) */
100 #cmakedefine01 HAVE_LIBUNWIND
101 /* The boost_stacktrace_backtrace library */
102 #cmakedefine01 HAVE_BOOST_STACKTRACE_BACKTRACE /* prefered */
103 #cmakedefine01 HAVE_BOOST_STACKTRACE_ADDR2LINE /* fallback */