1 /*===------- clang/Config/config.h - llvm configuration -----------*- C -*-===*/
2 /*                                                                            */
3 /* Part of the LLVM Project, under the Apache License v2.0 with LLVM          */
4 /* Exceptions.                                                                */
5 /* See https://llvm.org/LICENSE.txt for license information.                  */
6 /* SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception                    */
7 /*                                                                            */
8 /*===----------------------------------------------------------------------===*/
9 
10 /* This is a manual port of config.h.cmake for the symbols that do not change
11    based on platform. Those that do change should not be defined here and
12    instead use Bazel cc_library defines. Some attempt has been made to extract
13    such symbols that do vary based on platform (for the platforms we care about)
14    into Bazel defines, but it is by no means complete, so if you see something
15    that looks wrong, it probably is. */
16 
17 #ifdef CLANG_CONFIG_H
18 #error config.h can only be included once
19 #else
20 #define CLANG_CONFIG_H
21 
22 /* Bug report URL. */
23 #define BUG_REPORT_URL "https://bugs.llvm.org/"
24 
25 /* Default linker to use. */
26 #define CLANG_DEFAULT_LINKER ""
27 
28 /* Default C/ObjC standard to use. */
29 /* #undef CLANG_DEFAULT_STD_C */
30 
31 /* Default C++/ObjC++ standard to use. */
32 /* #undef CLANG_DEFAULT_STD_CXX */
33 
34 /* Default C++ stdlib to use. */
35 #define CLANG_DEFAULT_CXX_STDLIB ""
36 
37 /* Default runtime library to use. */
38 #define CLANG_DEFAULT_RTLIB ""
39 
40 /* Default unwind library to use. */
41 #define CLANG_DEFAULT_UNWINDLIB ""
42 
43 /* Default objcopy to use */
44 #define CLANG_DEFAULT_OBJCOPY "objcopy"
45 
46 /* Default OpenMP runtime used by -fopenmp. */
47 #define CLANG_DEFAULT_OPENMP_RUNTIME "libomp"
48 
49 /* Default architecture for OpenMP offloading to Nvidia GPUs. */
50 #define CLANG_OPENMP_NVPTX_DEFAULT_ARCH "sm_35"
51 
52 /* Default architecture for SystemZ. */
53 #define CLANG_SYSTEMZ_DEFAULT_ARCH "z10"
54 
55 /* Multilib suffix for libdir. */
56 #define CLANG_LIBDIR_SUFFIX ""
57 
58 /* Relative directory for resource files */
59 #define CLANG_RESOURCE_DIR ""
60 
61 /* Directories clang will search for headers */
62 #define C_INCLUDE_DIRS ""
63 
64 /* Directories clang will search for configuration files */
65 /* #undef CLANG_CONFIG_FILE_SYSTEM_DIR */
66 /* #undef CLANG_CONFIG_FILE_USER_DIR */
67 
68 /* Default <path> to all compiler invocations for --sysroot=<path>. */
69 #define DEFAULT_SYSROOT ""
70 
71 /* Directory where gcc is installed. */
72 #define GCC_INSTALL_PREFIX ""
73 
74 /* Define if we have libxml2 */
75 /* #undef CLANG_HAVE_LIBXML */
76 
77 /* Define if we have sys/resource.h (rlimits) */
78 #define CLANG_HAVE_RLIMITS 1
79 
80 /* The LLVM product name and version */
81 #define BACKEND_PACKAGE_STRING "LLVM 12.0.0git"
82 
83 /* Linker version detected at compile time. */
84 /* #undef HOST_LINK_VERSION */
85 
86 /* pass --build-id to ld */
87 /* #undef ENABLE_LINKER_BUILD_ID */
88 
89 /* enable x86 relax relocations by default */
90 #define ENABLE_X86_RELAX_RELOCATIONS 1
91 
92 /* Enable the experimental new pass manager by default */
93 #define ENABLE_EXPERIMENTAL_NEW_PASS_MANAGER 0
94 
95 /* Enable each functionality of modules */
96 #define CLANG_ENABLE_ARCMT 1
97 #define CLANG_ENABLE_OBJC_REWRITER 1
98 #define CLANG_ENABLE_STATIC_ANALYZER 1
99 
100 /* Spawn a new process clang.exe for the CC1 tool invocation, when necessary */
101 #define CLANG_SPAWN_CC1 0
102 
103 #endif
104