aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs/llvm12/lib/Support/CMakeLists.txt
blob: 68696d2aea5aca53972a29dcc78dba5f8a381751 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
# This file was gererated by the build system used internally in the Yandex monorepo.
# Only simple modifications are allowed (adding source-files to targets, adding simple properties
# like target_include_directories). These modifications will be ported to original
# ya.make files by maintainers. Any complex modifications which can't be ported back to the
# original buildsystem will not be accepted.


find_package(ZLIB REQUIRED)

add_library(llvm12-lib-Support)
target_include_directories(llvm12-lib-Support PRIVATE
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Support
)
target_link_libraries(llvm12-lib-Support PUBLIC
  contrib-libs-cxxsupp
  contrib-libs-llvm12
  llvm12-lib-Demangle
  ZLIB::ZLIB
)
target_sources(llvm12-lib-Support PRIVATE
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Support/AArch64TargetParser.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Support/ABIBreak.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Support/AMDGPUMetadata.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Support/APFixedPoint.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Support/APFloat.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Support/APInt.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Support/APSInt.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Support/ARMAttributeParser.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Support/ARMBuildAttrs.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Support/ARMTargetParser.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Support/ARMWinEH.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Support/Allocator.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Support/Atomic.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Support/BinaryStreamError.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Support/BinaryStreamReader.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Support/BinaryStreamRef.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Support/BinaryStreamWriter.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Support/BlockFrequency.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Support/BranchProbability.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Support/BuryPointer.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Support/COM.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Support/CRC.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Support/CachePruning.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Support/Chrono.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Support/CodeGenCoverage.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Support/CommandLine.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Support/Compression.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Support/ConvertUTF.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Support/ConvertUTFWrapper.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Support/CrashRecoveryContext.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Support/DAGDeltaAlgorithm.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Support/DJB.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Support/DataExtractor.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Support/Debug.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Support/DebugCounter.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Support/DeltaAlgorithm.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Support/DynamicLibrary.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Support/ELFAttributeParser.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Support/ELFAttributes.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Support/Errno.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Support/Error.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Support/ErrorHandling.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Support/ExtensibleRTTI.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Support/FileCollector.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Support/FileOutputBuffer.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Support/FileUtilities.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Support/FoldingSet.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Support/FormatVariadic.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Support/FormattedStream.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Support/GlobPattern.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Support/GraphWriter.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Support/Hashing.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Support/Host.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Support/InitLLVM.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Support/InstructionCost.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Support/IntEqClasses.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Support/IntervalMap.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Support/ItaniumManglingCanonicalizer.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Support/JSON.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Support/KnownBits.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Support/LEB128.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Support/LineIterator.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Support/Locale.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Support/LockFileManager.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Support/LowLevelType.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Support/MD5.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Support/ManagedStatic.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Support/MathExtras.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Support/MemAlloc.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Support/Memory.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Support/MemoryBuffer.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Support/MemoryBufferRef.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Support/NativeFormatting.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Support/OptimizedStructLayout.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Support/Optional.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Support/Parallel.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Support/Path.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Support/PluginLoader.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Support/PrettyStackTrace.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Support/Process.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Support/Program.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Support/RISCVAttributeParser.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Support/RISCVAttributes.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Support/RWMutex.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Support/RandomNumberGenerator.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Support/Regex.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Support/SHA1.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Support/ScaledNumber.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Support/ScopedPrinter.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Support/Signals.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Support/Signposts.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Support/SmallPtrSet.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Support/SmallVector.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Support/SourceMgr.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Support/SpecialCaseList.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Support/Statistic.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Support/StringExtras.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Support/StringMap.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Support/StringRef.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Support/StringSaver.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Support/SuffixTree.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Support/SymbolRemappingReader.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Support/SystemUtils.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Support/TarWriter.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Support/TargetParser.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Support/TargetRegistry.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Support/ThreadLocal.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Support/ThreadPool.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Support/Threading.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Support/TimeProfiler.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Support/Timer.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Support/ToolOutputFile.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Support/TrigramIndex.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Support/Triple.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Support/Twine.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Support/Unicode.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Support/UnicodeCaseFold.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Support/Valgrind.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Support/VersionTuple.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Support/VirtualFileSystem.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Support/Watchdog.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Support/WithColor.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Support/X86TargetParser.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Support/YAMLParser.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Support/YAMLTraits.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Support/Z3Solver.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Support/circular_raw_ostream.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Support/raw_os_ostream.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Support/raw_ostream.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Support/regcomp.c
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Support/regerror.c
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Support/regexec.c
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Support/regfree.c
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Support/regstrlcpy.c
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Support/xxhash.cpp
)