pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/lang/libLLVM libLLVM: update to 13.0.1, for mesa update



details:   https://anonhg.NetBSD.org/pkgsrc/rev/5cd53eca7890
branches:  trunk
changeset: 375394:5cd53eca7890
user:      tnn <tnn%pkgsrc.org@localhost>
date:      Sun Mar 13 15:22:32 2022 +0000

description:
libLLVM: update to 13.0.1, for mesa update

diffstat:

 lang/libLLVM/Makefile                                        |   28 +-
 lang/libLLVM/PLIST                                           |  369 +++++++++-
 lang/libLLVM/buildlink3.mk                                   |    4 +-
 lang/libLLVM/distinfo                                        |   24 +-
 lang/libLLVM/hacks.mk                                        |   13 -
 lang/libLLVM/options.mk                                      |   20 +-
 lang/libLLVM/patches/patch-CMakeLists.txt                    |   18 +-
 lang/libLLVM/patches/patch-cmake_config-ix.cmake             |   18 +-
 lang/libLLVM/patches/patch-cmake_modules_AddLLVM.cmake       |   51 +-
 lang/libLLVM/patches/patch-cmake_modules_CMakeLists.txt      |    8 +-
 lang/libLLVM/patches/patch-cmake_modules_CheckAtomic.cmake   |   65 +-
 lang/libLLVM/patches/patch-include_llvm-c_DataTypes.h        |    8 +-
 lang/libLLVM/patches/patch-tools_llvm-config_llvm-config.cpp |   14 +-
 lang/libLLVM/patches/patch-tools_llvm-shlib_CMakeLists.txt   |   18 +-
 14 files changed, 477 insertions(+), 181 deletions(-)

diffs (truncated from 1764 to 300 lines):

diff -r a3d3bbb9b081 -r 5cd53eca7890 lang/libLLVM/Makefile
--- a/lang/libLLVM/Makefile     Sun Mar 13 15:20:13 2022 +0000
+++ b/lang/libLLVM/Makefile     Sun Mar 13 15:22:32 2022 +0000
@@ -1,10 +1,11 @@
-# $NetBSD: Makefile,v 1.37 2021/05/24 19:52:33 wiz Exp $
+# $NetBSD: Makefile,v 1.38 2022/03/13 15:22:32 tnn Exp $
 
-DISTNAME=      llvm-9.0.1.src
+DISTNAME=      llvm-13.0.1.src
 PKGNAME=       ${DISTNAME:S/llvm/libLLVM/:S/.src//}
-PKGREVISION=   1
 CATEGORIES=    lang devel
-MASTER_SITES=  http://llvm.org/releases/${PKGVERSION_NOREV}/
+MASTER_SITES=  ${MASTER_SITE_GITHUB:=llvm/}
+GITHUB_PROJECT=        llvm-project
+GITHUB_RELEASE=        llvmorg-${PKGVERSION_NOREV}
 EXTRACT_SUFX=  .tar.xz
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
@@ -39,7 +40,7 @@
 .for tool in   bugpoint bugpoint_passes dsymutil gold llc lli llvm_ar  \
        llvm_as llvm_as_fuzzer llvm_bcanalyzer llvm_c_test llvm_cat     \
        llvm_cfi_verify llvm_cov llvm_cvtres llvm_cxxdump llvm_cxxfilt  \
-       llvm_cxxmap llvm_diff llvm_dis llvm_dwarfdump llvm_dwp          \
+       llvm_cxxmap llvm_diff llvm_dis llvm_dwp                         \
        llvm_elfabi llvm_exegesis llvm_extract llvm_go llvm_isel_fuzzer \
        llvm_itanium_demangle_fuzzer llvm_jitlink llvm_jitlistener      \
        llvm_link llvm_lipo llvm_lto llvm_lto2 llvm_mc                  \
@@ -51,7 +52,10 @@
        llvm_strings llvm_symbolizer llvm_undname llvm_xray             \
        llvm_yaml_numeric_parser_fuzzer lto msbuild obj2yaml            \
        opt opt_viewer remarks_shlib sancov sanstats                    \
-       verify_uselistorder xcode_toolchain yaml2obj
+       verify_uselistorder xcode_toolchain yaml2obj                    \
+       llvm_ml llvm_profgen llvm_reduce llvm_gsymutil split_file       \
+       llvm_libtool_darwin llvm_ifs llvm_dwarfdump llvm_sim            \
+       llvm_tapi_diff
 
 CMAKE_ARGS+=   -DLLVM_TOOL_${tool:tu}_BUILD=OFF
 .endfor
@@ -76,7 +80,7 @@
 REPLACE_PYTHON+=       utils/bisect
 REPLACE_PYTHON+=       utils/clang-parse-diagnostics-file
 REPLACE_PYTHON+=       utils/git/find-rev
-REPLACE_PYTHON+=       utils/lit/tests/Inputs/googletest-format/DummySubDir/OneTest
+REPLACE_PYTHON+=       utils/lit/tests/Inputs/googletest-format/DummySubDir/OneTest.py
 REPLACE_PYTHON+=       utils/llvm-build/llvm-build
 REPLACE_PYTHON+=       utils/llvm-compilers-check
 REPLACE_PYTHON+=       utils/llvm-lit/llvm-lit.in
@@ -104,13 +108,19 @@
 PLIST_SUBST+=  SOEXT=${SOEXT}
 PLIST_SUBST+=  LLVM_LIBNAME=${LLVM_LIBNAME}
 
-.include "options.mk"
-
 # needs std::atomic with 64-bit CAS
 .if ${MACHINE_ARCH} == "i386"
 CXXFLAGS+=     -march=i586
 .endif
 
+.if !empty(MACHINE_ARCH:Mpowerpc*)
+# Needed to avoid "relocation truncated to fit: R_PPC_REL24"
+CFLAGS+=       -mlongcall
+CXXFLAGS+=     -mlongcall
+.endif
+
+.include "options.mk"
+
 # replacing config.guess is required even for cmake.
 # It is used to detect correct LLVM_HOST_TRIPLE, e.g. for NetBSD/evbarm.
 post-extract:
diff -r a3d3bbb9b081 -r 5cd53eca7890 lang/libLLVM/PLIST
--- a/lang/libLLVM/PLIST        Sun Mar 13 15:20:13 2022 +0000
+++ b/lang/libLLVM/PLIST        Sun Mar 13 15:22:32 2022 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.13 2020/03/06 22:44:18 tnn Exp $
+@comment $NetBSD: PLIST,v 1.14 2022/03/13 15:22:32 tnn Exp $
 include/libLLVM/llvm-c/Analysis.h
 include/libLLVM/llvm-c/BitReader.h
 include/libLLVM/llvm-c/BitWriter.h
@@ -11,12 +11,14 @@
 include/libLLVM/llvm-c/Error.h
 include/libLLVM/llvm-c/ErrorHandling.h
 include/libLLVM/llvm-c/ExecutionEngine.h
+include/libLLVM/llvm-c/ExternC.h
 include/libLLVM/llvm-c/IRReader.h
 include/libLLVM/llvm-c/Initialization.h
-include/libLLVM/llvm-c/LinkTimeOptimizer.h
+include/libLLVM/llvm-c/LLJIT.h
 include/libLLVM/llvm-c/Linker.h
 include/libLLVM/llvm-c/Object.h
-include/libLLVM/llvm-c/OrcBindings.h
+include/libLLVM/llvm-c/Orc.h
+include/libLLVM/llvm-c/OrcEE.h
 include/libLLVM/llvm-c/Remarks.h
 include/libLLVM/llvm-c/Support.h
 include/libLLVM/llvm-c/Target.h
@@ -25,12 +27,14 @@
 include/libLLVM/llvm-c/Transforms/Coroutines.h
 include/libLLVM/llvm-c/Transforms/IPO.h
 include/libLLVM/llvm-c/Transforms/InstCombine.h
+include/libLLVM/llvm-c/Transforms/PassBuilder.h
 include/libLLVM/llvm-c/Transforms/PassManagerBuilder.h
 include/libLLVM/llvm-c/Transforms/Scalar.h
 include/libLLVM/llvm-c/Transforms/Utils.h
 include/libLLVM/llvm-c/Transforms/Vectorize.h
 include/libLLVM/llvm-c/Types.h
 include/libLLVM/llvm-c/lto.h
+include/libLLVM/llvm/ADT/APFixedPoint.h
 include/libLLVM/llvm/ADT/APFloat.h
 include/libLLVM/llvm/ADT/APInt.h
 include/libLLVM/llvm/ADT/APSInt.h
@@ -38,17 +42,22 @@
 include/libLLVM/llvm/ADT/Any.h
 include/libLLVM/llvm/ADT/ArrayRef.h
 include/libLLVM/llvm/ADT/BitVector.h
+include/libLLVM/llvm/ADT/Bitfields.h
 include/libLLVM/llvm/ADT/BitmaskEnum.h
 include/libLLVM/llvm/ADT/BreadthFirstIterator.h
 include/libLLVM/llvm/ADT/CachedHashString.h
+include/libLLVM/llvm/ADT/CoalescingBitVector.h
 include/libLLVM/llvm/ADT/DAGDeltaAlgorithm.h
 include/libLLVM/llvm/ADT/DeltaAlgorithm.h
 include/libLLVM/llvm/ADT/DenseMap.h
 include/libLLVM/llvm/ADT/DenseMapInfo.h
 include/libLLVM/llvm/ADT/DenseSet.h
 include/libLLVM/llvm/ADT/DepthFirstIterator.h
+include/libLLVM/llvm/ADT/DirectedGraph.h
+include/libLLVM/llvm/ADT/EnumeratedArray.h
 include/libLLVM/llvm/ADT/EpochTracker.h
 include/libLLVM/llvm/ADT/EquivalenceClasses.h
+include/libLLVM/llvm/ADT/FloatingPointMode.h
 include/libLLVM/llvm/ADT/FoldingSet.h
 include/libLLVM/llvm/ADT/FunctionExtras.h
 include/libLLVM/llvm/ADT/GraphTraits.h
@@ -73,6 +82,7 @@
 include/libLLVM/llvm/ADT/PriorityWorklist.h
 include/libLLVM/llvm/ADT/SCCIterator.h
 include/libLLVM/llvm/ADT/STLExtras.h
+include/libLLVM/llvm/ADT/STLForwardCompat.h
 include/libLLVM/llvm/ADT/ScopeExit.h
 include/libLLVM/llvm/ADT/ScopedHashTable.h
 include/libLLVM/llvm/ADT/Sequence.h
@@ -89,14 +99,16 @@
 include/libLLVM/llvm/ADT/Statistic.h
 include/libLLVM/llvm/ADT/StringExtras.h
 include/libLLVM/llvm/ADT/StringMap.h
+include/libLLVM/llvm/ADT/StringMapEntry.h
 include/libLLVM/llvm/ADT/StringRef.h
 include/libLLVM/llvm/ADT/StringSet.h
 include/libLLVM/llvm/ADT/StringSwitch.h
 include/libLLVM/llvm/ADT/TinyPtrVector.h
 include/libLLVM/llvm/ADT/Triple.h
 include/libLLVM/llvm/ADT/Twine.h
+include/libLLVM/llvm/ADT/TypeSwitch.h
 include/libLLVM/llvm/ADT/UniqueVector.h
-include/libLLVM/llvm/ADT/VariadicFunction.h
+include/libLLVM/llvm/ADT/Waymarking.h
 include/libLLVM/llvm/ADT/bit.h
 include/libLLVM/llvm/ADT/edit_distance.h
 include/libLLVM/llvm/ADT/fallible_iterator.h
@@ -112,6 +124,7 @@
 include/libLLVM/llvm/Analysis/AliasAnalysis.h
 include/libLLVM/llvm/Analysis/AliasAnalysisEvaluator.h
 include/libLLVM/llvm/Analysis/AliasSetTracker.h
+include/libLLVM/llvm/Analysis/AssumeBundleQueries.h
 include/libLLVM/llvm/Analysis/AssumptionCache.h
 include/libLLVM/llvm/Analysis/BasicAliasAnalysis.h
 include/libLLVM/llvm/Analysis/BlockFrequencyInfo.h
@@ -130,22 +143,34 @@
 include/libLLVM/llvm/Analysis/CmpInstAnalysis.h
 include/libLLVM/llvm/Analysis/CodeMetrics.h
 include/libLLVM/llvm/Analysis/ConstantFolding.h
+include/libLLVM/llvm/Analysis/ConstraintSystem.h
+include/libLLVM/llvm/Analysis/DDG.h
+include/libLLVM/llvm/Analysis/DDGPrinter.h
 include/libLLVM/llvm/Analysis/DOTGraphTraitsPass.h
+include/libLLVM/llvm/Analysis/Delinearization.h
 include/libLLVM/llvm/Analysis/DemandedBits.h
 include/libLLVM/llvm/Analysis/DependenceAnalysis.h
+include/libLLVM/llvm/Analysis/DependenceGraphBuilder.h
 include/libLLVM/llvm/Analysis/DivergenceAnalysis.h
 include/libLLVM/llvm/Analysis/DomPrinter.h
 include/libLLVM/llvm/Analysis/DomTreeUpdater.h
 include/libLLVM/llvm/Analysis/DominanceFrontier.h
 include/libLLVM/llvm/Analysis/DominanceFrontierImpl.h
 include/libLLVM/llvm/Analysis/EHPersonalities.h
+include/libLLVM/llvm/Analysis/FunctionPropertiesAnalysis.h
 include/libLLVM/llvm/Analysis/GlobalsModRef.h
 include/libLLVM/llvm/Analysis/GuardUtils.h
+include/libLLVM/llvm/Analysis/HeatUtils.h
+include/libLLVM/llvm/Analysis/IRSimilarityIdentifier.h
 include/libLLVM/llvm/Analysis/IVDescriptors.h
 include/libLLVM/llvm/Analysis/IVUsers.h
 include/libLLVM/llvm/Analysis/IndirectCallPromotionAnalysis.h
 include/libLLVM/llvm/Analysis/IndirectCallVisitor.h
+include/libLLVM/llvm/Analysis/InlineAdvisor.h
 include/libLLVM/llvm/Analysis/InlineCost.h
+include/libLLVM/llvm/Analysis/InlineModelFeatureMaps.h
+include/libLLVM/llvm/Analysis/InlineSizeEstimatorAnalysis.h
+include/libLLVM/llvm/Analysis/InstCount.h
 include/libLLVM/llvm/Analysis/InstructionPrecedenceTracking.h
 include/libLLVM/llvm/Analysis/InstructionSimplify.h
 include/libLLVM/llvm/Analysis/Interval.h
@@ -161,24 +186,30 @@
 include/libLLVM/llvm/Analysis/Loads.h
 include/libLLVM/llvm/Analysis/LoopAccessAnalysis.h
 include/libLLVM/llvm/Analysis/LoopAnalysisManager.h
+include/libLLVM/llvm/Analysis/LoopCacheAnalysis.h
 include/libLLVM/llvm/Analysis/LoopInfo.h
 include/libLLVM/llvm/Analysis/LoopInfoImpl.h
 include/libLLVM/llvm/Analysis/LoopIterator.h
+include/libLLVM/llvm/Analysis/LoopNestAnalysis.h
 include/libLLVM/llvm/Analysis/LoopPass.h
 include/libLLVM/llvm/Analysis/LoopUnrollAnalyzer.h
+include/libLLVM/llvm/Analysis/MLInlineAdvisor.h
+include/libLLVM/llvm/Analysis/MLModelRunner.h
+include/libLLVM/llvm/Analysis/MemDerefPrinter.h
 include/libLLVM/llvm/Analysis/MemoryBuiltins.h
 include/libLLVM/llvm/Analysis/MemoryDependenceAnalysis.h
 include/libLLVM/llvm/Analysis/MemoryLocation.h
 include/libLLVM/llvm/Analysis/MemorySSA.h
 include/libLLVM/llvm/Analysis/MemorySSAUpdater.h
+include/libLLVM/llvm/Analysis/ModuleDebugInfoPrinter.h
 include/libLLVM/llvm/Analysis/ModuleSummaryAnalysis.h
 include/libLLVM/llvm/Analysis/MustExecute.h
 include/libLLVM/llvm/Analysis/ObjCARCAliasAnalysis.h
 include/libLLVM/llvm/Analysis/ObjCARCAnalysisUtils.h
 include/libLLVM/llvm/Analysis/ObjCARCInstKind.h
+include/libLLVM/llvm/Analysis/ObjCARCUtil.h
 include/libLLVM/llvm/Analysis/OptimizationRemarkEmitter.h
-include/libLLVM/llvm/Analysis/OrderedBasicBlock.h
-include/libLLVM/llvm/Analysis/OrderedInstructions.h
+include/libLLVM/llvm/Analysis/OverflowInstAnalysis.h
 include/libLLVM/llvm/Analysis/PHITransAddr.h
 include/libLLVM/llvm/Analysis/Passes.h
 include/libLLVM/llvm/Analysis/PhiValues.h
@@ -190,13 +221,15 @@
 include/libLLVM/llvm/Analysis/RegionIterator.h
 include/libLLVM/llvm/Analysis/RegionPass.h
 include/libLLVM/llvm/Analysis/RegionPrinter.h
+include/libLLVM/llvm/Analysis/ReplayInlineAdvisor.h
 include/libLLVM/llvm/Analysis/ScalarEvolution.h
 include/libLLVM/llvm/Analysis/ScalarEvolutionAliasAnalysis.h
-include/libLLVM/llvm/Analysis/ScalarEvolutionExpander.h
+include/libLLVM/llvm/Analysis/ScalarEvolutionDivision.h
 include/libLLVM/llvm/Analysis/ScalarEvolutionExpressions.h
 include/libLLVM/llvm/Analysis/ScalarEvolutionNormalization.h
 include/libLLVM/llvm/Analysis/ScopedNoAliasAA.h
 include/libLLVM/llvm/Analysis/SparsePropagation.h
+include/libLLVM/llvm/Analysis/StackLifetime.h
 include/libLLVM/llvm/Analysis/StackSafetyAnalysis.h
 include/libLLVM/llvm/Analysis/SyncDependenceAnalysis.h
 include/libLLVM/llvm/Analysis/SyntheticCountsUtils.h
@@ -208,12 +241,17 @@
 include/libLLVM/llvm/Analysis/Trace.h
 include/libLLVM/llvm/Analysis/TypeBasedAliasAnalysis.h
 include/libLLVM/llvm/Analysis/TypeMetadataUtils.h
+include/libLLVM/llvm/Analysis/Utils/ImportedFunctionsInliningStatistics.h
 include/libLLVM/llvm/Analysis/Utils/Local.h
+include/libLLVM/llvm/Analysis/Utils/TFUtils.h
 include/libLLVM/llvm/Analysis/ValueLattice.h
 include/libLLVM/llvm/Analysis/ValueLatticeUtils.h
 include/libLLVM/llvm/Analysis/ValueTracking.h
 include/libLLVM/llvm/Analysis/VecFuncs.def
 include/libLLVM/llvm/Analysis/VectorUtils.h
+include/libLLVM/llvm/AsmParser/LLLexer.h
+include/libLLVM/llvm/AsmParser/LLParser.h
+include/libLLVM/llvm/AsmParser/LLToken.h
 include/libLLVM/llvm/AsmParser/Parser.h
 include/libLLVM/llvm/AsmParser/SlotMapping.h
 include/libLLVM/llvm/BinaryFormat/AMDGPUMetadataVerifier.h
@@ -228,8 +266,10 @@
 include/libLLVM/llvm/BinaryFormat/ELFRelocs/ARM.def
 include/libLLVM/llvm/BinaryFormat/ELFRelocs/AVR.def
 include/libLLVM/llvm/BinaryFormat/ELFRelocs/BPF.def
+include/libLLVM/llvm/BinaryFormat/ELFRelocs/CSKY.def
 include/libLLVM/llvm/BinaryFormat/ELFRelocs/Hexagon.def
 include/libLLVM/llvm/BinaryFormat/ELFRelocs/Lanai.def
+include/libLLVM/llvm/BinaryFormat/ELFRelocs/M68k.def
 include/libLLVM/llvm/BinaryFormat/ELFRelocs/MSP430.def
 include/libLLVM/llvm/BinaryFormat/ELFRelocs/Mips.def
 include/libLLVM/llvm/BinaryFormat/ELFRelocs/PowerPC.def
@@ -237,6 +277,7 @@
 include/libLLVM/llvm/BinaryFormat/ELFRelocs/RISCV.def
 include/libLLVM/llvm/BinaryFormat/ELFRelocs/Sparc.def
 include/libLLVM/llvm/BinaryFormat/ELFRelocs/SystemZ.def
+include/libLLVM/llvm/BinaryFormat/ELFRelocs/VE.def
 include/libLLVM/llvm/BinaryFormat/ELFRelocs/i386.def
 include/libLLVM/llvm/BinaryFormat/ELFRelocs/x86_64.def
 include/libLLVM/llvm/BinaryFormat/MachO.def
@@ -251,8 +292,11 @@
 include/libLLVM/llvm/BinaryFormat/MsgPackWriter.h
 include/libLLVM/llvm/BinaryFormat/Wasm.h
 include/libLLVM/llvm/BinaryFormat/WasmRelocs.def
+include/libLLVM/llvm/BinaryFormat/WasmTraits.h
 include/libLLVM/llvm/BinaryFormat/XCOFF.h
 include/libLLVM/llvm/Bitcode/BitcodeAnalyzer.h
+include/libLLVM/llvm/Bitcode/BitcodeCommon.h
+include/libLLVM/llvm/Bitcode/BitcodeConvenience.h



Home | Main Index | Thread Index | Old Index