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: tools/cmake/src/internal_config.h.in */
6 /* Copyright (c) 2004-2018. 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_EXECINFO_H
17 #cmakedefine01 HAVE_FUTEX_H
19 #cmakedefine01 HAVE_SIGNAL_H
21 #cmakedefine01 HAVE_UNISTD_H
23 #cmakedefine01 HAVE_UCONTEXT_H
24 /* <valgrind/valgrind.h> */
25 #cmakedefine01 HAVE_VALGRIND_H
27 /* Address Sanitizer */
28 #cmakedefine01 HAVE_SANITIZE_ADDRESS
29 #cmakedefine01 HAVE_SANITIZE_ADDRESS_FIBER_SUPPORT
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
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
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
51 /* Variables for the raw contexts (to select the right assembly code) */
52 #cmakedefine01 SIMGRID_PROCESSOR_i686
53 #cmakedefine01 SIMGRID_PROCESSOR_x86_64
55 /* Variables for the SysV contexts */
56 @sg_makecontext_stack_addr@
57 @sg_makecontext_stack_size@
59 /* Variable for SysV, raw and Boost contexts */
60 /* Does the stack growth upward, or downward? */
61 #define PTH_STACKGROWTH @PTH_STACKGROWTH@
64 /* getdtablesize: get descriptor table size */
65 #cmakedefine01 HAVE_GETDTABLESIZE
66 /* Did we compile mmalloc in? */
67 #cmakedefine01 HAVE_MMALLOC
68 /* process_vm_readv: transfer data between process address spaces */
69 #cmakedefine01 HAVE_PROCESS_VM_READV
70 /* Set to true if enable_model-checking is true and the dependencies available */
71 #cmakedefine01 SIMGRID_HAVE_MC
75 #cmakedefine01 HAVE_SMPI
76 /* Fortran language is available for SMPI, and which one */
77 #cmakedefine01 SMPI_FORTRAN
78 #cmakedefine01 SMPI_GFORTRAN
79 #cmakedefine01 SMPI_FLANG
80 #cmakedefine01 SMPI_IFORT
81 /* We have mmap and objdump to handle privatization */
82 #cmakedefine01 HAVE_PRIVATIZATION
83 /* We have PAPI to fine-grain trace execution time */
84 #cmakedefine01 HAVE_PAPI
85 /* We have sendfile to efficiently copy files for dl-open privatization */
86 #cmakedefine01 HAVE_SENDFILE
88 /* Other function checks */
89 /* Function backtrace */
90 #cmakedefine01 HAVE_BACKTRACE
92 #cmakedefine01 HAVE_DLFUNC
94 #cmakedefine01 HAVE_MMAP
96 #cmakedefine01 HAVE_MREMAP
97 /* Function sem_init (part of XPG6 standard only) */
98 #cmakedefine01 HAVE_SEM_INIT
100 #cmakedefine01 HAVE_POPEN
101 /* Function sysconf */
102 #cmakedefine01 HAVE_SYSCONF
103 /* Function vasprintf */
104 #cmakedefine01 HAVE_VASPRINTF
107 /* Path to the addr2line tool */
108 #cmakedefine ADDR2LINE "@ADDR2LINE@"
109 /* The graphviz library */
110 #cmakedefine01 HAVE_GRAPHVIZ
111 /* The lib unwind library (for MC and backtrace display) */
112 #cmakedefine01 HAVE_LIBUNWIND