Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
kill xbt_os_sem_t and the required cmake-detection cruft
[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 /* <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_THREAD_CONTEXTS
42 #cmakedefine01 HAVE_UCONTEXT_CONTEXTS
43
44 /* Variables for the thread contexts (and parallel mode of raw contexts) */
45 /* Define to 1 if threads are usable . */
46 #cmakedefine01 HAVE_PTHREAD
47 /* Does not seems defined on Mac nor Windows */
48 #cmakedefine01 HAVE_PTHREAD_SETAFFINITY
49
50 /* Variables for the raw contexts (to select the right assembly code) */
51 #cmakedefine01 SIMGRID_PROCESSOR_i686
52 #cmakedefine01 SIMGRID_PROCESSOR_x86_64
53
54 /* Variables for the SysV contexts */
55 @sg_makecontext_stack_addr@
56 @sg_makecontext_stack_size@
57
58 /* Variable for SysV, raw and Boost contexts */
59 /* Does the stack growth upward, or downward? */
60 #define PTH_STACKGROWTH @PTH_STACKGROWTH@
61
62 /* MC variables */
63 /* getdtablesize: get descriptor table size */
64 #cmakedefine01 HAVE_GETDTABLESIZE
65 /* Did we compile mmalloc in? */
66 #cmakedefine01 HAVE_MMALLOC
67 /* process_vm_readv: transfer data between process address spaces */
68 #cmakedefine01 HAVE_PROCESS_VM_READV
69
70 /* SMPI variables */
71 /* SMPI enabled */
72 #cmakedefine01 HAVE_SMPI
73 /* Fortran language is available for SMPI, and which one */
74 #cmakedefine01 SMPI_FORTRAN
75 #cmakedefine01 SMPI_GFORTRAN
76 #cmakedefine01 SMPI_FLANG
77 #cmakedefine01 SMPI_IFORT
78 /* We have mmap and objdump to handle privatization */
79 #cmakedefine01 HAVE_PRIVATIZATION
80 /* We have PAPI to fine-grain trace execution time */
81 #cmakedefine01 HAVE_PAPI
82 /* We have sendfile to efficiently copy files for dl-open privatization */
83 #cmakedefine01 HAVE_SENDFILE
84
85 /* Other function checks */
86 /* Function dlfunc */
87 #cmakedefine01 HAVE_DLFUNC
88 /* Function mmap */
89 #cmakedefine01 HAVE_MMAP
90 /* Function mremap */
91 #cmakedefine01 HAVE_MREMAP
92 /* Function sysconf */
93 #cmakedefine01 HAVE_SYSCONF
94 /* Function vasprintf */
95 #cmakedefine01 HAVE_VASPRINTF
96
97 /* Other checks */
98 /* The graphviz library */
99 #cmakedefine01 HAVE_GRAPHVIZ
100 /* The lib unwind library (for MC and backtrace display) */
101 #cmakedefine01 HAVE_LIBUNWIND
102 /* The boost_stacktrace_backtrace library */
103 #cmakedefine01 HAVE_BOOST_STACKTRACE