diff options
author | thegeorg <thegeorg@yandex-team.com> | 2022-12-15 19:25:15 +0300 |
---|---|---|
committer | thegeorg <thegeorg@yandex-team.com> | 2022-12-15 19:25:15 +0300 |
commit | 0c31d97afd7858af5f8f858c8addf91655ca9ccc (patch) | |
tree | 4d8a246db168f7beaafcd06d486c034115c2123d /contrib/libs/llvm12/lib/Analysis/CMakeLists.txt | |
parent | d1d5f5e00df0dd6efc00880dd8283477fc643aaf (diff) | |
download | ydb-0c31d97afd7858af5f8f858c8addf91655ca9ccc.tar.gz |
Sync linux-headers instead of using system ones
Diffstat (limited to 'contrib/libs/llvm12/lib/Analysis/CMakeLists.txt')
-rw-r--r-- | contrib/libs/llvm12/lib/Analysis/CMakeLists.txt | 140 |
1 files changed, 7 insertions, 133 deletions
diff --git a/contrib/libs/llvm12/lib/Analysis/CMakeLists.txt b/contrib/libs/llvm12/lib/Analysis/CMakeLists.txt index 6c783513fd..3e0811fb22 100644 --- a/contrib/libs/llvm12/lib/Analysis/CMakeLists.txt +++ b/contrib/libs/llvm12/lib/Analysis/CMakeLists.txt @@ -6,136 +6,10 @@ # original buildsystem will not be accepted. - -add_library(llvm12-lib-Analysis) -target_compile_options(llvm12-lib-Analysis PRIVATE - -Wno-everything -) -target_include_directories(llvm12-lib-Analysis PRIVATE - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Analysis -) -target_link_libraries(llvm12-lib-Analysis PUBLIC - contrib-libs-cxxsupp - contrib-libs-llvm12 - libs-llvm12-include - llvm12-lib-BinaryFormat - llvm12-lib-IR - llvm12-lib-Object - llvm12-lib-ProfileData - llvm12-lib-Support -) -target_sources(llvm12-lib-Analysis PRIVATE - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Analysis/AliasAnalysis.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Analysis/AliasAnalysisEvaluator.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Analysis/AliasAnalysisSummary.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Analysis/AliasSetTracker.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Analysis/Analysis.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Analysis/AssumeBundleQueries.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Analysis/AssumptionCache.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Analysis/BasicAliasAnalysis.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Analysis/BlockFrequencyInfo.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Analysis/BlockFrequencyInfoImpl.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Analysis/BranchProbabilityInfo.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Analysis/CFG.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Analysis/CFGPrinter.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Analysis/CFLAndersAliasAnalysis.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Analysis/CFLSteensAliasAnalysis.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Analysis/CGSCCPassManager.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Analysis/CallGraph.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Analysis/CallGraphSCCPass.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Analysis/CallPrinter.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Analysis/CaptureTracking.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Analysis/CmpInstAnalysis.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Analysis/CodeMetrics.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Analysis/ConstantFolding.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Analysis/ConstraintSystem.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Analysis/CostModel.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Analysis/DDG.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Analysis/DDGPrinter.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Analysis/Delinearization.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Analysis/DemandedBits.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Analysis/DependenceAnalysis.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Analysis/DependenceGraphBuilder.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Analysis/DevelopmentModeInlineAdvisor.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Analysis/DivergenceAnalysis.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Analysis/DomPrinter.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Analysis/DomTreeUpdater.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Analysis/DominanceFrontier.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Analysis/EHPersonalities.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Analysis/FunctionPropertiesAnalysis.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Analysis/GlobalsModRef.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Analysis/GuardUtils.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Analysis/HeatUtils.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Analysis/IRSimilarityIdentifier.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Analysis/IVDescriptors.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Analysis/IVUsers.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Analysis/ImportedFunctionsInliningStatistics.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Analysis/IndirectCallPromotionAnalysis.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Analysis/InlineAdvisor.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Analysis/InlineCost.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Analysis/InlineSizeEstimatorAnalysis.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Analysis/InstCount.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Analysis/InstructionPrecedenceTracking.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Analysis/InstructionSimplify.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Analysis/Interval.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Analysis/IntervalPartition.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Analysis/LazyBlockFrequencyInfo.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Analysis/LazyBranchProbabilityInfo.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Analysis/LazyCallGraph.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Analysis/LazyValueInfo.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Analysis/LegacyDivergenceAnalysis.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Analysis/Lint.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Analysis/Loads.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Analysis/LoopAccessAnalysis.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Analysis/LoopAnalysisManager.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Analysis/LoopCacheAnalysis.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Analysis/LoopInfo.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Analysis/LoopNestAnalysis.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Analysis/LoopPass.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Analysis/LoopUnrollAnalyzer.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Analysis/MLInlineAdvisor.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Analysis/MemDepPrinter.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Analysis/MemDerefPrinter.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Analysis/MemoryBuiltins.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Analysis/MemoryDependenceAnalysis.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Analysis/MemoryLocation.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Analysis/MemorySSA.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Analysis/MemorySSAUpdater.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Analysis/ModuleDebugInfoPrinter.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Analysis/ModuleSummaryAnalysis.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Analysis/MustExecute.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Analysis/ObjCARCAliasAnalysis.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Analysis/ObjCARCAnalysisUtils.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Analysis/ObjCARCInstKind.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Analysis/OptimizationRemarkEmitter.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Analysis/PHITransAddr.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Analysis/PhiValues.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Analysis/PostDominators.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Analysis/ProfileSummaryInfo.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Analysis/PtrUseVisitor.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Analysis/RegionInfo.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Analysis/RegionPass.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Analysis/RegionPrinter.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Analysis/ReleaseModeModelRunner.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Analysis/ReplayInlineAdvisor.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Analysis/ScalarEvolution.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Analysis/ScalarEvolutionAliasAnalysis.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Analysis/ScalarEvolutionDivision.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Analysis/ScalarEvolutionNormalization.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Analysis/ScopedNoAliasAA.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Analysis/StackLifetime.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Analysis/StackSafetyAnalysis.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Analysis/SyncDependenceAnalysis.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Analysis/SyntheticCountsUtils.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Analysis/TFUtils.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Analysis/TargetLibraryInfo.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Analysis/TargetTransformInfo.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Analysis/Trace.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Analysis/TypeBasedAliasAnalysis.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Analysis/TypeMetadataUtils.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Analysis/VFABIDemangling.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Analysis/ValueLattice.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Analysis/ValueLatticeUtils.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Analysis/ValueTracking.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Analysis/VectorUtils.cpp -) +if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT ANDROID) + include(CMakeLists.linux-aarch64.txt) +elseif (APPLE) + include(CMakeLists.darwin.txt) +elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID) + include(CMakeLists.linux.txt) +endif() |