Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
14 | pmbaty | 1 | # This file provides information and services to the final user. |
2 | |||
3 | # Compute the installation prefix from this LLVMConfig.cmake file location. |
||
4 | get_filename_component(LLVM_INSTALL_PREFIX "${CMAKE_CURRENT_LIST_FILE}" PATH) |
||
5 | get_filename_component(LLVM_INSTALL_PREFIX "${LLVM_INSTALL_PREFIX}" PATH) |
||
6 | get_filename_component(LLVM_INSTALL_PREFIX "${LLVM_INSTALL_PREFIX}" PATH) |
||
7 | get_filename_component(LLVM_INSTALL_PREFIX "${LLVM_INSTALL_PREFIX}" PATH) |
||
8 | |||
9 | # For finding self-installed Find*.cmake packages. |
||
10 | list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_LIST_DIR}") |
||
11 | |||
12 | set(LLVM_VERSION_MAJOR 16) |
||
13 | set(LLVM_VERSION_MINOR 0) |
||
14 | set(LLVM_VERSION_PATCH 6) |
||
15 | set(LLVM_VERSION_SUFFIX ) |
||
16 | set(LLVM_PACKAGE_VERSION 16.0.6) |
||
17 | set(LLVM_PACKAGE_BUGREPORT https://github.com/llvm/llvm-project/issues/) |
||
18 | |||
19 | set(LLVM_BUILD_TYPE MinSizeRel) |
||
20 | |||
21 | set(LLVM_USE_CRT_DEBUG ) |
||
22 | set(LLVM_USE_CRT_MINSIZEREL ) |
||
23 | set(LLVM_USE_CRT_RELEASE ) |
||
24 | set(LLVM_USE_CRT_RELWITHDEBINFO ) |
||
25 | |||
26 | set(LLVM_USE_SPLIT_DWARF OFF) |
||
27 | |||
28 | set(LLVM_COMMON_DEPENDS ) |
||
29 | |||
30 | set(LLVM_AVAILABLE_LIBS LLVMDemangle;LLVMSupport;LLVMTableGen;LLVMTableGenGlobalISel;LLVMCore;LLVMFuzzerCLI;LLVMFuzzMutate;LLVMFileCheck;LLVMInterfaceStub;LLVMIRPrinter;LLVMIRReader;LLVMCodeGen;LLVMSelectionDAG;LLVMAsmPrinter;LLVMMIRParser;LLVMGlobalISel;LLVMBinaryFormat;LLVMBitReader;LLVMBitWriter;LLVMBitstreamReader;LLVMDWARFLinker;LLVMDWARFLinkerParallel;LLVMExtensions;LLVMFrontendHLSL;LLVMFrontendOpenACC;LLVMFrontendOpenMP;LLVMTransformUtils;LLVMInstrumentation;LLVMAggressiveInstCombine;LLVMInstCombine;LLVMScalarOpts;LLVMipo;LLVMVectorize;LLVMObjCARCOpts;LLVMCoroutines;LLVMCFGuard;LLVMLinker;LLVMAnalysis;LLVMLTO;LLVMMC;LLVMMCParser;LLVMMCDisassembler;LLVMMCA;LLVMObjCopy;LLVMObject;LLVMObjectYAML;LLVMOption;LLVMRemarks;LLVMDebuginfod;LLVMDebugInfoDWARF;LLVMDebugInfoGSYM;LLVMDebugInfoLogicalView;LLVMDebugInfoMSF;LLVMDebugInfoCodeView;LLVMDebugInfoPDB;LLVMSymbolize;LLVMDWP;LLVMExecutionEngine;LLVMInterpreter;LLVMJITLink;LLVMMCJIT;LLVMOrcJIT;LLVMOrcShared;LLVMOrcTargetProcess;LLVMRuntimeDyld;LLVMTarget;LLVMAArch64CodeGen;LLVMAArch64AsmParser;LLVMAArch64Disassembler;LLVMAArch64Desc;LLVMAArch64Info;LLVMAArch64Utils;LLVMX86CodeGen;LLVMX86AsmParser;LLVMX86Disassembler;LLVMX86TargetMCA;LLVMX86Desc;LLVMX86Info;LLVMAsmParser;LLVMLineEditor;LLVMProfileData;LLVMCoverage;LLVMPasses;LLVMTargetParser;LLVMTextAPI;LLVMDlltoolDriver;LLVMLibDriver;LLVMXRay;LLVMWindowsDriver;LLVMWindowsManifest;LTO;LLVMCFIVerify;LLVMDiff;LLVMExegesisX86;LLVMExegesisAArch64;LLVMExegesis;Remarks;Polly) |
||
31 | |||
32 | |||
33 | |||
34 | set(LLVM_DYLIB_COMPONENTS all) |
||
35 | |||
36 | set(LLVM_ALL_TARGETS AArch64;AMDGPU;ARM;AVR;BPF;Hexagon;Lanai;LoongArch;Mips;MSP430;NVPTX;PowerPC;RISCV;Sparc;SystemZ;VE;WebAssembly;X86;XCore) |
||
37 | |||
38 | set(LLVM_TARGETS_TO_BUILD AArch64;X86) |
||
39 | |||
40 | set(LLVM_TARGETS_WITH_JIT X86;PowerPC;AArch64;ARM;Mips;SystemZ) |
||
41 | |||
42 | |||
43 | set_property(GLOBAL PROPERTY LLVMBUILD_LIB_DEPS_LLVMDemangle ) |
||
44 | set_property(GLOBAL PROPERTY LLVMBUILD_LIB_DEPS_LLVMSupport ) |
||
45 | set_property(GLOBAL PROPERTY LLVMBUILD_LIB_DEPS_LLVMTableGen ) |
||
46 | set_property(GLOBAL PROPERTY LLVMBUILD_LIB_DEPS_LLVMTableGenGlobalISel ) |
||
47 | set_property(GLOBAL PROPERTY LLVMBUILD_LIB_DEPS_LLVMCore ) |
||
48 | set_property(GLOBAL PROPERTY LLVMBUILD_LIB_DEPS_LLVMFuzzerCLI ) |
||
49 | set_property(GLOBAL PROPERTY LLVMBUILD_LIB_DEPS_LLVMFuzzMutate ) |
||
50 | set_property(GLOBAL PROPERTY LLVMBUILD_LIB_DEPS_LLVMFileCheck ) |
||
51 | set_property(GLOBAL PROPERTY LLVMBUILD_LIB_DEPS_LLVMInterfaceStub ) |
||
52 | set_property(GLOBAL PROPERTY LLVMBUILD_LIB_DEPS_LLVMIRPrinter ) |
||
53 | set_property(GLOBAL PROPERTY LLVMBUILD_LIB_DEPS_LLVMIRReader ) |
||
54 | set_property(GLOBAL PROPERTY LLVMBUILD_LIB_DEPS_LLVMCodeGen ) |
||
55 | set_property(GLOBAL PROPERTY LLVMBUILD_LIB_DEPS_LLVMSelectionDAG ) |
||
56 | set_property(GLOBAL PROPERTY LLVMBUILD_LIB_DEPS_LLVMAsmPrinter ) |
||
57 | set_property(GLOBAL PROPERTY LLVMBUILD_LIB_DEPS_LLVMMIRParser ) |
||
58 | set_property(GLOBAL PROPERTY LLVMBUILD_LIB_DEPS_LLVMGlobalISel ) |
||
59 | set_property(GLOBAL PROPERTY LLVMBUILD_LIB_DEPS_LLVMBinaryFormat ) |
||
60 | set_property(GLOBAL PROPERTY LLVMBUILD_LIB_DEPS_LLVMBitReader ) |
||
61 | set_property(GLOBAL PROPERTY LLVMBUILD_LIB_DEPS_LLVMBitWriter ) |
||
62 | set_property(GLOBAL PROPERTY LLVMBUILD_LIB_DEPS_LLVMBitstreamReader ) |
||
63 | set_property(GLOBAL PROPERTY LLVMBUILD_LIB_DEPS_LLVMDWARFLinker ) |
||
64 | set_property(GLOBAL PROPERTY LLVMBUILD_LIB_DEPS_LLVMDWARFLinkerParallel ) |
||
65 | set_property(GLOBAL PROPERTY LLVMBUILD_LIB_DEPS_LLVMExtensions ) |
||
66 | set_property(GLOBAL PROPERTY LLVMBUILD_LIB_DEPS_LLVMFrontendHLSL ) |
||
67 | set_property(GLOBAL PROPERTY LLVMBUILD_LIB_DEPS_LLVMFrontendOpenACC ) |
||
68 | set_property(GLOBAL PROPERTY LLVMBUILD_LIB_DEPS_LLVMFrontendOpenMP ) |
||
69 | set_property(GLOBAL PROPERTY LLVMBUILD_LIB_DEPS_LLVMTransformUtils ) |
||
70 | set_property(GLOBAL PROPERTY LLVMBUILD_LIB_DEPS_LLVMInstrumentation ) |
||
71 | set_property(GLOBAL PROPERTY LLVMBUILD_LIB_DEPS_LLVMAggressiveInstCombine ) |
||
72 | set_property(GLOBAL PROPERTY LLVMBUILD_LIB_DEPS_LLVMInstCombine ) |
||
73 | set_property(GLOBAL PROPERTY LLVMBUILD_LIB_DEPS_LLVMScalarOpts ) |
||
74 | set_property(GLOBAL PROPERTY LLVMBUILD_LIB_DEPS_LLVMipo ) |
||
75 | set_property(GLOBAL PROPERTY LLVMBUILD_LIB_DEPS_LLVMVectorize ) |
||
76 | set_property(GLOBAL PROPERTY LLVMBUILD_LIB_DEPS_LLVMObjCARCOpts ) |
||
77 | set_property(GLOBAL PROPERTY LLVMBUILD_LIB_DEPS_LLVMCoroutines ) |
||
78 | set_property(GLOBAL PROPERTY LLVMBUILD_LIB_DEPS_LLVMCFGuard ) |
||
79 | set_property(GLOBAL PROPERTY LLVMBUILD_LIB_DEPS_LLVMLinker ) |
||
80 | set_property(GLOBAL PROPERTY LLVMBUILD_LIB_DEPS_LLVMAnalysis ) |
||
81 | set_property(GLOBAL PROPERTY LLVMBUILD_LIB_DEPS_LLVMLTO ) |
||
82 | set_property(GLOBAL PROPERTY LLVMBUILD_LIB_DEPS_LLVMMC ) |
||
83 | set_property(GLOBAL PROPERTY LLVMBUILD_LIB_DEPS_LLVMMCParser ) |
||
84 | set_property(GLOBAL PROPERTY LLVMBUILD_LIB_DEPS_LLVMMCDisassembler ) |
||
85 | set_property(GLOBAL PROPERTY LLVMBUILD_LIB_DEPS_LLVMMCA ) |
||
86 | set_property(GLOBAL PROPERTY LLVMBUILD_LIB_DEPS_LLVMObjCopy ) |
||
87 | set_property(GLOBAL PROPERTY LLVMBUILD_LIB_DEPS_LLVMObject ) |
||
88 | set_property(GLOBAL PROPERTY LLVMBUILD_LIB_DEPS_LLVMObjectYAML ) |
||
89 | set_property(GLOBAL PROPERTY LLVMBUILD_LIB_DEPS_LLVMOption ) |
||
90 | set_property(GLOBAL PROPERTY LLVMBUILD_LIB_DEPS_LLVMRemarks ) |
||
91 | set_property(GLOBAL PROPERTY LLVMBUILD_LIB_DEPS_LLVMDebuginfod ) |
||
92 | set_property(GLOBAL PROPERTY LLVMBUILD_LIB_DEPS_LLVMDebugInfoDWARF ) |
||
93 | set_property(GLOBAL PROPERTY LLVMBUILD_LIB_DEPS_LLVMDebugInfoGSYM ) |
||
94 | set_property(GLOBAL PROPERTY LLVMBUILD_LIB_DEPS_LLVMDebugInfoLogicalView ) |
||
95 | set_property(GLOBAL PROPERTY LLVMBUILD_LIB_DEPS_LLVMDebugInfoMSF ) |
||
96 | set_property(GLOBAL PROPERTY LLVMBUILD_LIB_DEPS_LLVMDebugInfoCodeView ) |
||
97 | set_property(GLOBAL PROPERTY LLVMBUILD_LIB_DEPS_LLVMDebugInfoPDB ) |
||
98 | set_property(GLOBAL PROPERTY LLVMBUILD_LIB_DEPS_LLVMSymbolize ) |
||
99 | set_property(GLOBAL PROPERTY LLVMBUILD_LIB_DEPS_LLVMDWP ) |
||
100 | set_property(GLOBAL PROPERTY LLVMBUILD_LIB_DEPS_LLVMExecutionEngine ) |
||
101 | set_property(GLOBAL PROPERTY LLVMBUILD_LIB_DEPS_LLVMInterpreter ) |
||
102 | set_property(GLOBAL PROPERTY LLVMBUILD_LIB_DEPS_LLVMJITLink ) |
||
103 | set_property(GLOBAL PROPERTY LLVMBUILD_LIB_DEPS_LLVMMCJIT ) |
||
104 | set_property(GLOBAL PROPERTY LLVMBUILD_LIB_DEPS_LLVMOrcJIT ) |
||
105 | set_property(GLOBAL PROPERTY LLVMBUILD_LIB_DEPS_LLVMOrcShared ) |
||
106 | set_property(GLOBAL PROPERTY LLVMBUILD_LIB_DEPS_LLVMOrcTargetProcess ) |
||
107 | set_property(GLOBAL PROPERTY LLVMBUILD_LIB_DEPS_LLVMRuntimeDyld ) |
||
108 | set_property(GLOBAL PROPERTY LLVMBUILD_LIB_DEPS_LLVMTarget ) |
||
109 | set_property(GLOBAL PROPERTY LLVMBUILD_LIB_DEPS_LLVMAArch64CodeGen ) |
||
110 | set_property(GLOBAL PROPERTY LLVMBUILD_LIB_DEPS_LLVMAArch64AsmParser ) |
||
111 | set_property(GLOBAL PROPERTY LLVMBUILD_LIB_DEPS_LLVMAArch64Disassembler ) |
||
112 | set_property(GLOBAL PROPERTY LLVMBUILD_LIB_DEPS_LLVMAArch64Desc ) |
||
113 | set_property(GLOBAL PROPERTY LLVMBUILD_LIB_DEPS_LLVMAArch64Info ) |
||
114 | set_property(GLOBAL PROPERTY LLVMBUILD_LIB_DEPS_LLVMAArch64Utils ) |
||
115 | set_property(GLOBAL PROPERTY LLVMBUILD_LIB_DEPS_LLVMX86CodeGen ) |
||
116 | set_property(GLOBAL PROPERTY LLVMBUILD_LIB_DEPS_LLVMX86AsmParser ) |
||
117 | set_property(GLOBAL PROPERTY LLVMBUILD_LIB_DEPS_LLVMX86Disassembler ) |
||
118 | set_property(GLOBAL PROPERTY LLVMBUILD_LIB_DEPS_LLVMX86TargetMCA ) |
||
119 | set_property(GLOBAL PROPERTY LLVMBUILD_LIB_DEPS_LLVMX86Desc ) |
||
120 | set_property(GLOBAL PROPERTY LLVMBUILD_LIB_DEPS_LLVMX86Info ) |
||
121 | set_property(GLOBAL PROPERTY LLVMBUILD_LIB_DEPS_LLVMAsmParser ) |
||
122 | set_property(GLOBAL PROPERTY LLVMBUILD_LIB_DEPS_LLVMLineEditor ) |
||
123 | set_property(GLOBAL PROPERTY LLVMBUILD_LIB_DEPS_LLVMProfileData ) |
||
124 | set_property(GLOBAL PROPERTY LLVMBUILD_LIB_DEPS_LLVMCoverage ) |
||
125 | set_property(GLOBAL PROPERTY LLVMBUILD_LIB_DEPS_LLVMPasses ) |
||
126 | set_property(GLOBAL PROPERTY LLVMBUILD_LIB_DEPS_LLVMTargetParser ) |
||
127 | set_property(GLOBAL PROPERTY LLVMBUILD_LIB_DEPS_LLVMTextAPI ) |
||
128 | set_property(GLOBAL PROPERTY LLVMBUILD_LIB_DEPS_LLVMDlltoolDriver ) |
||
129 | set_property(GLOBAL PROPERTY LLVMBUILD_LIB_DEPS_LLVMLibDriver ) |
||
130 | set_property(GLOBAL PROPERTY LLVMBUILD_LIB_DEPS_LLVMXRay ) |
||
131 | set_property(GLOBAL PROPERTY LLVMBUILD_LIB_DEPS_LLVMWindowsDriver ) |
||
132 | set_property(GLOBAL PROPERTY LLVMBUILD_LIB_DEPS_LLVMWindowsManifest ) |
||
133 | set_property(GLOBAL PROPERTY LLVMBUILD_LIB_DEPS_LTO ) |
||
134 | set_property(GLOBAL PROPERTY LLVMBUILD_LIB_DEPS_LLVMCFIVerify ) |
||
135 | set_property(GLOBAL PROPERTY LLVMBUILD_LIB_DEPS_LLVMDiff ) |
||
136 | set_property(GLOBAL PROPERTY LLVMBUILD_LIB_DEPS_LLVMExegesisX86 ) |
||
137 | set_property(GLOBAL PROPERTY LLVMBUILD_LIB_DEPS_LLVMExegesisAArch64 ) |
||
138 | set_property(GLOBAL PROPERTY LLVMBUILD_LIB_DEPS_LLVMExegesis ) |
||
139 | set_property(GLOBAL PROPERTY LLVMBUILD_LIB_DEPS_Remarks ) |
||
140 | set_property(GLOBAL PROPERTY LLVMBUILD_LIB_DEPS_Polly ) |
||
141 | |||
142 | set(LLVM_TARGET_TRIPLE "x86_64-pc-nto-qnx8.0.0") |
||
143 | |||
144 | set(LLVM_HOST_TRIPLE "x86_64-pc-nto-qnx8.0.0") |
||
145 | |||
146 | set(LLVM_ABI_BREAKING_CHECKS WITH_ASSERTS) |
||
147 | |||
148 | set(LLVM_ENABLE_WARNINGS ON) |
||
149 | |||
150 | set(LLVM_ENABLE_EXPENSIVE_CHECKS OFF) |
||
151 | |||
152 | set(LLVM_ENABLE_ASSERTIONS OFF) |
||
153 | |||
154 | set(LLVM_ENABLE_EH OFF) |
||
155 | |||
156 | set(LLVM_ENABLE_FFI OFF) |
||
157 | if(LLVM_ENABLE_FFI) |
||
158 | find_package(FFI) |
||
159 | endif() |
||
160 | |||
161 | set(LLVM_ENABLE_RTTI OFF) |
||
162 | |||
163 | set(LLVM_ENABLE_TERMINFO FALSE) |
||
164 | if(LLVM_ENABLE_TERMINFO) |
||
165 | find_package(Terminfo) |
||
166 | endif() |
||
167 | |||
168 | set(LLVM_ENABLE_THREADS ON) |
||
169 | |||
170 | set(LLVM_ENABLE_UNWIND_TABLES ON) |
||
171 | |||
172 | set(LLVM_ENABLE_ZLIB ) |
||
173 | if(LLVM_ENABLE_ZLIB) |
||
174 | set(ZLIB_ROOT ) |
||
175 | find_package(ZLIB) |
||
176 | endif() |
||
177 | |||
178 | set(LLVM_ENABLE_ZSTD FALSE) |
||
179 | if(LLVM_ENABLE_ZSTD) |
||
180 | find_package(zstd) |
||
181 | endif() |
||
182 | |||
183 | set(LLVM_ENABLE_LIBXML2 ) |
||
184 | if(LLVM_ENABLE_LIBXML2) |
||
185 | find_package(LibXml2) |
||
186 | endif() |
||
187 | |||
188 | set(LLVM_ENABLE_CURL OFF) |
||
189 | if(LLVM_ENABLE_CURL) |
||
190 | find_package(CURL) |
||
191 | endif() |
||
192 | |||
193 | set(LLVM_WITH_Z3 ) |
||
194 | |||
195 | set(LLVM_ENABLE_DIA_SDK 0) |
||
196 | |||
197 | set(LLVM_NATIVE_ARCH X86) |
||
198 | |||
199 | set(LLVM_ENABLE_PIC ON) |
||
200 | |||
201 | set(LLVM_BUILD_32_BITS OFF) |
||
202 | |||
203 | if (NOT "" STREQUAL "") |
||
204 | set(LLVM_PTHREAD_LIB "") |
||
205 | endif() |
||
206 | |||
207 | set(LLVM_ENABLE_PLUGINS ON) |
||
208 | set(LLVM_EXPORT_SYMBOLS_FOR_PLUGINS OFF) |
||
209 | set(LLVM_PLUGIN_EXT .so) |
||
210 | |||
211 | set(LLVM_ON_UNIX 1) |
||
212 | |||
213 | set(LLVM_LIBDIR_SUFFIX ) |
||
214 | |||
215 | set(LLVM_INCLUDE_DIRS "${LLVM_INSTALL_PREFIX}/include") |
||
216 | set(LLVM_LIBRARY_DIRS "${LLVM_INSTALL_PREFIX}/lib${LLVM_LIBDIR_SUFFIX}") |
||
217 | |||
218 | set(LLVM_APPEND_VC_REV "ON") |
||
219 | |||
220 | # These variables are duplicated for install tree but they have different |
||
221 | # values for build tree. LLVM_INCLUDE_DIRS contains both source |
||
222 | # and generated include directories while the following variables have |
||
223 | # them split. |
||
224 | |||
225 | # These are the "main" dirs |
||
226 | set(LLVM_MAIN_INCLUDE_DIR "${LLVM_INSTALL_PREFIX}/include") |
||
227 | set(LLVM_LIBRARY_DIR "${LLVM_INSTALL_PREFIX}/lib${LLVM_LIBDIR_SUFFIX}") |
||
228 | |||
229 | # This is a secondary one for generated files |
||
230 | set(LLVM_INCLUDE_DIR "${LLVM_INSTALL_PREFIX}/include") |
||
231 | |||
232 | set(LLVM_DEFINITIONS "-D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS") |
||
233 | set(LLVM_BINARY_DIR "${LLVM_INSTALL_PREFIX}") |
||
234 | set(LLVM_CMAKE_DIR "${LLVM_INSTALL_PREFIX}/lib/cmake/llvm") |
||
235 | set(LLVM_TOOLS_BINARY_DIR "${LLVM_INSTALL_PREFIX}/bin") |
||
236 | set(LLVM_HAVE_OPT_VIEWER_MODULES 0) |
||
237 | set(LLVM_CONFIGURATION_TYPES ) |
||
238 | set(LLVM_ENABLE_SHARED_LIBS OFF) |
||
239 | |||
240 | set(LLVM_DEFAULT_EXTERNAL_LIT "/home/utilisateur/Bureau/llvm-build/./bin/llvm-lit") |
||
241 | set(LLVM_LIT_ARGS "-sv") |
||
242 | |||
243 | set(LLVM_HAVE_LIBXAR "") |
||
244 | |||
245 | if(NOT TARGET LLVMSupport) |
||
246 | include("${LLVM_CMAKE_DIR}/LLVMExports.cmake") |
||
247 | |||
248 | endif() |
||
249 | |||
250 | # By creating the following targets here, subprojects that depend on |
||
251 | # LLVM's tablegen-generated headers can always depend on this target |
||
252 | # whether building in-tree with LLVM or not. |
||
253 | if(NOT TARGET intrinsics_gen) |
||
254 | add_custom_target(intrinsics_gen) |
||
255 | endif() |
||
256 | if(NOT TARGET omp_gen) |
||
257 | add_custom_target(omp_gen) |
||
258 | endif() |
||
259 | if(NOT TARGET acc_gen) |
||
260 | add_custom_target(acc_gen) |
||
261 | endif() |
||
262 | if(NOT TARGET RISCVTargetParserTableGen) |
||
263 | add_custom_target(RISCVTargetParserTableGen) |
||
264 | endif() |
||
265 | |||
266 | set_property(GLOBAL PROPERTY LLVM_TARGETS_CONFIGURED On) |
||
267 | include(${LLVM_CMAKE_DIR}/LLVM-Config.cmake) |