pkgsrc-Changes archive

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

CVS commit: pkgsrc/lang



Module Name:    pkgsrc
Committed By:   adam
Date:           Sat Oct 19 13:52:40 UTC 2019

Modified Files:
        pkgsrc/lang/compiler-rt: Makefile PLIST distinfo
        pkgsrc/lang/llvm: Makefile PLIST buildlink3.mk distinfo
        pkgsrc/lang/llvm/patches: patch-cmake_modules_AddLLVM.cmake
            patch-tools_llvm-shlib_CMakeLists.txt
Removed Files:
        pkgsrc/lang/llvm/patches: patch-utils_FileCheck_FileCheck.cpp

Log Message:
llvm: updated to 9.0.0

9.0.0:
Non-comprehensive list of changes in this release:
* Two new extension points, namely EP_FullLinkTimeOptimizationEarly and EP_FullLinkTimeOptimizationLast are available for plugins to specialize the legacy pass manager full LTO pipeline.
* llvm-objcopy/llvm-strip got support for COFF object files/executables, supporting the most common copying/stripping options.
* The CMake parameter CLANG_ANALYZER_ENABLE_Z3_SOLVER has been replaced by LLVM_ENABLE_Z3_SOLVER.
* The RISCV target is no longer “experimental” (see Changes to the RISCV Target below for more details).
* The ORCv1 JIT API has been deprecated. Please see Transitioning from ORCv1 to ORCv2.
* Support for target-independent hardware loops in IR has been added, with PowerPC and Arm implementations.


To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 pkgsrc/lang/compiler-rt/Makefile
cvs rdiff -u -r1.3 -r1.4 pkgsrc/lang/compiler-rt/PLIST
cvs rdiff -u -r1.5 -r1.6 pkgsrc/lang/compiler-rt/distinfo
cvs rdiff -u -r1.44 -r1.45 pkgsrc/lang/llvm/Makefile
cvs rdiff -u -r1.12 -r1.13 pkgsrc/lang/llvm/PLIST
cvs rdiff -u -r1.8 -r1.9 pkgsrc/lang/llvm/buildlink3.mk
cvs rdiff -u -r1.23 -r1.24 pkgsrc/lang/llvm/distinfo
cvs rdiff -u -r1.4 -r1.5 \
    pkgsrc/lang/llvm/patches/patch-cmake_modules_AddLLVM.cmake
cvs rdiff -u -r1.5 -r1.6 \
    pkgsrc/lang/llvm/patches/patch-tools_llvm-shlib_CMakeLists.txt
cvs rdiff -u -r1.1 -r0 \
    pkgsrc/lang/llvm/patches/patch-utils_FileCheck_FileCheck.cpp

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/lang/compiler-rt/Makefile
diff -u pkgsrc/lang/compiler-rt/Makefile:1.11 pkgsrc/lang/compiler-rt/Makefile:1.12
--- pkgsrc/lang/compiler-rt/Makefile:1.11       Mon Aug  5 19:06:50 2019
+++ pkgsrc/lang/compiler-rt/Makefile    Sat Oct 19 13:52:40 2019
@@ -1,11 +1,9 @@
-# $NetBSD: Makefile,v 1.11 2019/08/05 19:06:50 adam Exp $
+# $NetBSD: Makefile,v 1.12 2019/10/19 13:52:40 adam Exp $
 
-DISTNAME=      compiler-rt-8.0.1.src
+DISTNAME=      compiler-rt-9.0.0.src
 PKGNAME=       ${DISTNAME:S/.src//}
 CATEGORIES=    lang devel
-MASTER_SITES=  ${MASTER_SITE_GITHUB:=llvm/}
-GITHUB_PROJECT=        llvm-project
-GITHUB_RELEASE=        llvmorg-${PKGVERSION_NOREV}
+MASTER_SITES=  http://releases.llvm.org/${PKGVERSION_NOREV}/
 EXTRACT_SUFX=  .tar.xz
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost

Index: pkgsrc/lang/compiler-rt/PLIST
diff -u pkgsrc/lang/compiler-rt/PLIST:1.3 pkgsrc/lang/compiler-rt/PLIST:1.4
--- pkgsrc/lang/compiler-rt/PLIST:1.3   Mon Dec 17 16:19:52 2018
+++ pkgsrc/lang/compiler-rt/PLIST       Sat Oct 19 13:52:40 2019
@@ -1,10 +1,9 @@
-@comment $NetBSD: PLIST,v 1.3 2018/12/17 16:19:52 jperkin Exp $
+@comment $NetBSD: PLIST,v 1.4 2019/10/19 13:52:40 adam Exp $
 lib/clang/${PKGVERSION}/include/sanitizer/allocator_interface.h
 lib/clang/${PKGVERSION}/include/sanitizer/asan_interface.h
 lib/clang/${PKGVERSION}/include/sanitizer/common_interface_defs.h
 lib/clang/${PKGVERSION}/include/sanitizer/coverage_interface.h
 lib/clang/${PKGVERSION}/include/sanitizer/dfsan_interface.h
-lib/clang/${PKGVERSION}/include/sanitizer/esan_interface.h
 lib/clang/${PKGVERSION}/include/sanitizer/hwasan_interface.h
 lib/clang/${PKGVERSION}/include/sanitizer/linux_syscall_hooks.h
 lib/clang/${PKGVERSION}/include/sanitizer/lsan_interface.h
@@ -15,5 +14,6 @@ lib/clang/${PKGVERSION}/include/sanitize
 lib/clang/${PKGVERSION}/include/sanitizer/tsan_interface_atomic.h
 lib/clang/${PKGVERSION}/include/xray/xray_interface.h
 lib/clang/${PKGVERSION}/include/xray/xray_log_interface.h
+lib/clang/${PKGVERSION}/include/xray/xray_records.h
 ${PLIST.asan}lib/clang/${PKGVERSION}/share/asan_blacklist.txt
 ${PLIST.asan}lib/clang/${PKGVERSION}/share/cfi_blacklist.txt

Index: pkgsrc/lang/compiler-rt/distinfo
diff -u pkgsrc/lang/compiler-rt/distinfo:1.5 pkgsrc/lang/compiler-rt/distinfo:1.6
--- pkgsrc/lang/compiler-rt/distinfo:1.5        Mon Aug  5 19:06:50 2019
+++ pkgsrc/lang/compiler-rt/distinfo    Sat Oct 19 13:52:40 2019
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.5 2019/08/05 19:06:50 adam Exp $
+$NetBSD: distinfo,v 1.6 2019/10/19 13:52:40 adam Exp $
 
-SHA1 (compiler-rt-8.0.1.src.tar.xz) = f6520fb47fae9cc4362a9d50abee22019c27457a
-RMD160 (compiler-rt-8.0.1.src.tar.xz) = 54aaf2d395a3206b3f373e75df2d1cac600ddff2
-SHA512 (compiler-rt-8.0.1.src.tar.xz) = 12bf1bdabe25c0c3a84cc73a718fe154573dd729ec3ff5e099bd5f74c6bec9c80521b87ded646d3b20dfdb9aa51dea0234281418c7eb81805e1dd5d3107d3d8e
-Size (compiler-rt-8.0.1.src.tar.xz) = 1954204 bytes
+SHA1 (compiler-rt-9.0.0.src.tar.xz) = 4e00cb231ff87fd4f970f35b2da86185a612e0e2
+RMD160 (compiler-rt-9.0.0.src.tar.xz) = 0b80105106d7c19f806b82508b5f4af771a95ae1
+SHA512 (compiler-rt-9.0.0.src.tar.xz) = a7bb0a67165d29317cee58c22ed79f0d6a9cb9279dcd355d4267f3cd6c531a7be455a28267c591d6e2c0f9c56e363d40c10a405391e07d02ab3e30f00ffef2a8
+Size (compiler-rt-9.0.0.src.tar.xz) = 1993084 bytes
 SHA1 (patch-cmake_config-ix.cmake) = e950d8781f00638310b523b6933889a9d15611c5
 SHA1 (patch-lib_sanitizer__common_sanitizer__linux__libcdep.cc) = 5acf50111dcbd8458c33453d32d597ea57be3880

Index: pkgsrc/lang/llvm/Makefile
diff -u pkgsrc/lang/llvm/Makefile:1.44 pkgsrc/lang/llvm/Makefile:1.45
--- pkgsrc/lang/llvm/Makefile:1.44      Mon Sep  9 10:53:23 2019
+++ pkgsrc/lang/llvm/Makefile   Sat Oct 19 13:52:40 2019
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.44 2019/09/09 10:53:23 maya Exp $
+# $NetBSD: Makefile,v 1.45 2019/10/19 13:52:40 adam Exp $
 #
 # when updating this, please also update:
 # devel/include-what-you-use
@@ -22,13 +22,10 @@
 # Always update all */buildlink3.mk to require the latest stable release
 # version in BUILDLINK_API_DEPENDS, as there is no backwards compatibility
 
-DISTNAME=      llvm-8.0.1.src
+DISTNAME=      llvm-9.0.0.src
 PKGNAME=       ${DISTNAME:S/.src//}
-PKGREVISION=   1
 CATEGORIES=    lang devel
-MASTER_SITES=  ${MASTER_SITE_GITHUB:=llvm/}
-GITHUB_PROJECT=        llvm-project
-GITHUB_RELEASE=        llvmorg-${PKGVERSION_NOREV}
+MASTER_SITES=  http://releases.llvm.org/${PKGVERSION_NOREV}/
 EXTRACT_SUFX=  .tar.xz
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost

Index: pkgsrc/lang/llvm/PLIST
diff -u pkgsrc/lang/llvm/PLIST:1.12 pkgsrc/lang/llvm/PLIST:1.13
--- pkgsrc/lang/llvm/PLIST:1.12 Sun Jun  2 09:48:29 2019
+++ pkgsrc/lang/llvm/PLIST      Sat Oct 19 13:52:40 2019
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.12 2019/06/02 09:48:29 adam Exp $
+@comment $NetBSD: PLIST,v 1.13 2019/10/19 13:52:40 adam Exp $
 bin/FileCheck
 bin/bugpoint
 bin/count
@@ -7,6 +7,7 @@ bin/llc
 bin/lli
 bin/lli-child-target
 bin/llvm-PerfectShuffle
+bin/llvm-addr2line
 bin/llvm-ar
 bin/llvm-as
 bin/llvm-bcanalyzer
@@ -27,8 +28,10 @@ bin/llvm-dwp
 bin/llvm-elfabi
 bin/llvm-exegesis
 bin/llvm-extract
+bin/llvm-jitlink
 bin/llvm-lib
 bin/llvm-link
+bin/llvm-lipo
 bin/llvm-lto
 bin/llvm-lto2
 bin/llvm-mc
@@ -80,8 +83,8 @@ include/llvm-c/Initialization.h
 include/llvm-c/LinkTimeOptimizer.h
 include/llvm-c/Linker.h
 include/llvm-c/Object.h
-include/llvm-c/OptRemarks.h
 include/llvm-c/OrcBindings.h
+include/llvm-c/Remarks.h
 include/llvm-c/Support.h
 include/llvm-c/Target.h
 include/llvm-c/TargetMachine.h
@@ -163,6 +166,7 @@ include/llvm/ADT/UniqueVector.h
 include/llvm/ADT/VariadicFunction.h
 include/llvm/ADT/bit.h
 include/llvm/ADT/edit_distance.h
+include/llvm/ADT/fallible_iterator.h
 include/llvm/ADT/ilist.h
 include/llvm/ADT/ilist_base.h
 include/llvm/ADT/ilist_iterator.h
@@ -198,6 +202,7 @@ include/llvm/Analysis/DemandedBits.h
 include/llvm/Analysis/DependenceAnalysis.h
 include/llvm/Analysis/DivergenceAnalysis.h
 include/llvm/Analysis/DomPrinter.h
+include/llvm/Analysis/DomTreeUpdater.h
 include/llvm/Analysis/DominanceFrontier.h
 include/llvm/Analysis/DominanceFrontierImpl.h
 include/llvm/Analysis/EHPersonalities.h
@@ -274,6 +279,7 @@ include/llvm/Analysis/Utils/Local.h
 include/llvm/Analysis/ValueLattice.h
 include/llvm/Analysis/ValueLatticeUtils.h
 include/llvm/Analysis/ValueTracking.h
+include/llvm/Analysis/VecFuncs.def
 include/llvm/Analysis/VectorUtils.h
 include/llvm/AsmParser/Parser.h
 include/llvm/AsmParser/SlotMapping.h
@@ -303,20 +309,24 @@ include/llvm/BinaryFormat/ELFRelocs/x86_
 include/llvm/BinaryFormat/MachO.def
 include/llvm/BinaryFormat/MachO.h
 include/llvm/BinaryFormat/Magic.h
+include/llvm/BinaryFormat/Minidump.h
+include/llvm/BinaryFormat/MinidumpConstants.def
 include/llvm/BinaryFormat/MsgPack.def
 include/llvm/BinaryFormat/MsgPack.h
+include/llvm/BinaryFormat/MsgPackDocument.h
 include/llvm/BinaryFormat/MsgPackReader.h
-include/llvm/BinaryFormat/MsgPackTypes.h
 include/llvm/BinaryFormat/MsgPackWriter.h
 include/llvm/BinaryFormat/Wasm.h
 include/llvm/BinaryFormat/WasmRelocs.def
-include/llvm/Bitcode/BitCodes.h
+include/llvm/BinaryFormat/XCOFF.h
+include/llvm/Bitcode/BitcodeAnalyzer.h
 include/llvm/Bitcode/BitcodeReader.h
 include/llvm/Bitcode/BitcodeWriter.h
 include/llvm/Bitcode/BitcodeWriterPass.h
-include/llvm/Bitcode/BitstreamReader.h
-include/llvm/Bitcode/BitstreamWriter.h
 include/llvm/Bitcode/LLVMBitCodes.h
+include/llvm/Bitstream/BitCodes.h
+include/llvm/Bitstream/BitstreamReader.h
+include/llvm/Bitstream/BitstreamWriter.h
 include/llvm/CodeGen/AccelTable.h
 include/llvm/CodeGen/Analysis.h
 include/llvm/CodeGen/AsmPrinter.h
@@ -324,6 +334,7 @@ include/llvm/CodeGen/AsmPrinterHandler.h
 include/llvm/CodeGen/AtomicExpandUtils.h
 include/llvm/CodeGen/BasicTTIImpl.h
 include/llvm/CodeGen/BuiltinGCs.h
+include/llvm/CodeGen/CSEConfigBase.h
 include/llvm/CodeGen/CalcSpillWeights.h
 include/llvm/CodeGen/CallingConvLower.h
 include/llvm/CodeGen/CommandFlags.inc
@@ -387,6 +398,7 @@ include/llvm/CodeGen/LiveStacks.h
 include/llvm/CodeGen/LiveVariables.h
 include/llvm/CodeGen/LoopTraversal.h
 include/llvm/CodeGen/LowLevelType.h
+include/llvm/CodeGen/MIRParser/MIParser.h
 include/llvm/CodeGen/MIRParser/MIRParser.h
 include/llvm/CodeGen/MIRPrinter.h
 include/llvm/CodeGen/MIRYamlMapping.h
@@ -435,6 +447,7 @@ include/llvm/CodeGen/PseudoSourceValue.h
 include/llvm/CodeGen/ReachingDefAnalysis.h
 include/llvm/CodeGen/RegAllocPBQP.h
 include/llvm/CodeGen/RegAllocRegistry.h
+include/llvm/CodeGen/Register.h
 include/llvm/CodeGen/RegisterClassInfo.h
 include/llvm/CodeGen/RegisterPressure.h
 include/llvm/CodeGen/RegisterScavenging.h
@@ -457,6 +470,8 @@ include/llvm/CodeGen/SelectionDAGTargetI
 include/llvm/CodeGen/SlotIndexes.h
 include/llvm/CodeGen/StackMaps.h
 include/llvm/CodeGen/StackProtector.h
+include/llvm/CodeGen/SwiftErrorValueTracking.h
+include/llvm/CodeGen/SwitchLoweringUtils.h
 include/llvm/CodeGen/TailDuplicator.h
 include/llvm/CodeGen/TargetCallingConv.h
 include/llvm/CodeGen/TargetFrameLowering.h
@@ -572,6 +587,12 @@ include/llvm/DebugInfo/DWARF/DWARFTypeUn
 include/llvm/DebugInfo/DWARF/DWARFUnit.h
 include/llvm/DebugInfo/DWARF/DWARFUnitIndex.h
 include/llvm/DebugInfo/DWARF/DWARFVerifier.h
+include/llvm/DebugInfo/GSYM/FileEntry.h
+include/llvm/DebugInfo/GSYM/FunctionInfo.h
+include/llvm/DebugInfo/GSYM/InlineInfo.h
+include/llvm/DebugInfo/GSYM/LineEntry.h
+include/llvm/DebugInfo/GSYM/Range.h
+include/llvm/DebugInfo/GSYM/StringTable.h
 include/llvm/DebugInfo/MSF/IMSFFile.h
 include/llvm/DebugInfo/MSF/MSFBuilder.h
 include/llvm/DebugInfo/MSF/MSFCommon.h
@@ -623,10 +644,12 @@ include/llvm/DebugInfo/PDB/Native/HashTa
 include/llvm/DebugInfo/PDB/Native/ISectionContribVisitor.h
 include/llvm/DebugInfo/PDB/Native/InfoStream.h
 include/llvm/DebugInfo/PDB/Native/InfoStreamBuilder.h
+include/llvm/DebugInfo/PDB/Native/InjectedSourceStream.h
 include/llvm/DebugInfo/PDB/Native/ModuleDebugStream.h
 include/llvm/DebugInfo/PDB/Native/NamedStreamMap.h
 include/llvm/DebugInfo/PDB/Native/NativeCompilandSymbol.h
 include/llvm/DebugInfo/PDB/Native/NativeEnumGlobals.h
+include/llvm/DebugInfo/PDB/Native/NativeEnumInjectedSources.h
 include/llvm/DebugInfo/PDB/Native/NativeEnumModules.h
 include/llvm/DebugInfo/PDB/Native/NativeEnumTypes.h
 include/llvm/DebugInfo/PDB/Native/NativeExeSymbol.h
@@ -695,8 +718,8 @@ include/llvm/DebugInfo/PDB/UDTLayout.h
 include/llvm/DebugInfo/Symbolize/DIPrinter.h
 include/llvm/DebugInfo/Symbolize/SymbolizableModule.h
 include/llvm/DebugInfo/Symbolize/Symbolize.h
-include/llvm/Demangle/Compiler.h
 include/llvm/Demangle/Demangle.h
+include/llvm/Demangle/DemangleConfig.h
 include/llvm/Demangle/ItaniumDemangle.h
 include/llvm/Demangle/MicrosoftDemangle.h
 include/llvm/Demangle/MicrosoftDemangleNodes.h
@@ -706,6 +729,11 @@ include/llvm/ExecutionEngine/ExecutionEn
 include/llvm/ExecutionEngine/GenericValue.h
 include/llvm/ExecutionEngine/Interpreter.h
 include/llvm/ExecutionEngine/JITEventListener.h
+include/llvm/ExecutionEngine/JITLink/EHFrameSupport.h
+include/llvm/ExecutionEngine/JITLink/JITLink.h
+include/llvm/ExecutionEngine/JITLink/JITLinkMemoryManager.h
+include/llvm/ExecutionEngine/JITLink/MachO.h
+include/llvm/ExecutionEngine/JITLink/MachO_x86_64.h
 include/llvm/ExecutionEngine/JITSymbol.h
 include/llvm/ExecutionEngine/MCJIT.h
 include/llvm/ExecutionEngine/OProfileWrapper.h
@@ -726,6 +754,7 @@ include/llvm/ExecutionEngine/Orc/LazyEmi
 include/llvm/ExecutionEngine/Orc/LazyReexports.h
 include/llvm/ExecutionEngine/Orc/Legacy.h
 include/llvm/ExecutionEngine/Orc/NullResolver.h
+include/llvm/ExecutionEngine/Orc/ObjectLinkingLayer.h
 include/llvm/ExecutionEngine/Orc/ObjectTransformLayer.h
 include/llvm/ExecutionEngine/Orc/OrcABISupport.h
 include/llvm/ExecutionEngine/Orc/OrcError.h
@@ -740,6 +769,7 @@ include/llvm/ExecutionEngine/Orc/RemoteO
 include/llvm/ExecutionEngine/Orc/SymbolStringPool.h
 include/llvm/ExecutionEngine/Orc/ThreadSafeModule.h
 include/llvm/ExecutionEngine/OrcMCJITReplacement.h
+include/llvm/ExecutionEngine/OrcV1Deprecation.h
 include/llvm/ExecutionEngine/RTDyldMemoryManager.h
 include/llvm/ExecutionEngine/RuntimeDyld.h
 include/llvm/ExecutionEngine/RuntimeDyldChecker.h
@@ -777,7 +807,6 @@ include/llvm/IR/DerivedUser.h
 include/llvm/IR/DiagnosticHandler.h
 include/llvm/IR/DiagnosticInfo.h
 include/llvm/IR/DiagnosticPrinter.h
-include/llvm/IR/DomTreeUpdater.h
 include/llvm/IR/Dominators.h
 include/llvm/IR/Function.h
 include/llvm/IR/GVMaterializer.h
@@ -838,6 +867,7 @@ include/llvm/IR/PassTimingInfo.h
 include/llvm/IR/PatternMatch.h
 include/llvm/IR/PredIteratorCache.h
 include/llvm/IR/ProfileSummary.h
+include/llvm/IR/RemarkStreamer.h
 include/llvm/IR/RuntimeLibcalls.def
 include/llvm/IR/SafepointIRVerifier.h
 include/llvm/IR/Statepoint.h
@@ -878,6 +908,7 @@ include/llvm/MC/MCAsmInfoCOFF.h
 include/llvm/MC/MCAsmInfoDarwin.h
 include/llvm/MC/MCAsmInfoELF.h
 include/llvm/MC/MCAsmInfoWasm.h
+include/llvm/MC/MCAsmInfoXCOFF.h
 include/llvm/MC/MCAsmLayout.h
 include/llvm/MC/MCAsmMacro.h
 include/llvm/MC/MCAssembler.h
@@ -926,6 +957,7 @@ include/llvm/MC/MCSectionCOFF.h
 include/llvm/MC/MCSectionELF.h
 include/llvm/MC/MCSectionMachO.h
 include/llvm/MC/MCSectionWasm.h
+include/llvm/MC/MCSectionXCOFF.h
 include/llvm/MC/MCStreamer.h
 include/llvm/MC/MCSubtargetInfo.h
 include/llvm/MC/MCSymbol.h
@@ -933,6 +965,7 @@ include/llvm/MC/MCSymbolCOFF.h
 include/llvm/MC/MCSymbolELF.h
 include/llvm/MC/MCSymbolMachO.h
 include/llvm/MC/MCSymbolWasm.h
+include/llvm/MC/MCSymbolXCOFF.h
 include/llvm/MC/MCTargetOptions.h
 include/llvm/MC/MCTargetOptionsCommandFlags.inc
 include/llvm/MC/MCValue.h
@@ -942,6 +975,8 @@ include/llvm/MC/MCWin64EH.h
 include/llvm/MC/MCWinCOFFObjectWriter.h
 include/llvm/MC/MCWinCOFFStreamer.h
 include/llvm/MC/MCWinEH.h
+include/llvm/MC/MCXCOFFObjectWriter.h
+include/llvm/MC/MCXCOFFStreamer.h
 include/llvm/MC/MachineLocation.h
 include/llvm/MC/SectionKind.h
 include/llvm/MC/StringTableBuilder.h
@@ -962,6 +997,7 @@ include/llvm/MCA/Stages/DispatchStage.h
 include/llvm/MCA/Stages/EntryStage.h
 include/llvm/MCA/Stages/ExecuteStage.h
 include/llvm/MCA/Stages/InstructionTables.h
+include/llvm/MCA/Stages/MicroOpQueueStage.h
 include/llvm/MCA/Stages/RetireStage.h
 include/llvm/MCA/Stages/Stage.h
 include/llvm/MCA/Support.h
@@ -981,15 +1017,18 @@ include/llvm/Object/IRObjectFile.h
 include/llvm/Object/IRSymtab.h
 include/llvm/Object/MachO.h
 include/llvm/Object/MachOUniversal.h
+include/llvm/Object/Minidump.h
 include/llvm/Object/ModuleSymbolTable.h
 include/llvm/Object/ObjectFile.h
-include/llvm/Object/RelocVisitor.h
+include/llvm/Object/RelocationResolver.h
 include/llvm/Object/StackMapParser.h
 include/llvm/Object/SymbolSize.h
 include/llvm/Object/SymbolicFile.h
 include/llvm/Object/Wasm.h
 include/llvm/Object/WasmTraits.h
+include/llvm/Object/WindowsMachineFlag.h
 include/llvm/Object/WindowsResource.h
+include/llvm/Object/XCOFFObjectFile.h
 include/llvm/ObjectYAML/COFFYAML.h
 include/llvm/ObjectYAML/CodeViewYAMLDebugSections.h
 include/llvm/ObjectYAML/CodeViewYAMLSymbols.h
@@ -999,8 +1038,10 @@ include/llvm/ObjectYAML/DWARFEmitter.h
 include/llvm/ObjectYAML/DWARFYAML.h
 include/llvm/ObjectYAML/ELFYAML.h
 include/llvm/ObjectYAML/MachOYAML.h
+include/llvm/ObjectYAML/MinidumpYAML.h
 include/llvm/ObjectYAML/ObjectYAML.h
 include/llvm/ObjectYAML/WasmYAML.h
+include/llvm/ObjectYAML/XCOFFYAML.h
 include/llvm/ObjectYAML/YAML.h
 include/llvm/Option/Arg.h
 include/llvm/Option/ArgList.h
@@ -1028,6 +1069,11 @@ include/llvm/ProfileData/ProfileCommon.h
 include/llvm/ProfileData/SampleProf.h
 include/llvm/ProfileData/SampleProfReader.h
 include/llvm/ProfileData/SampleProfWriter.h
+include/llvm/Remarks/Remark.h
+include/llvm/Remarks/RemarkFormat.h
+include/llvm/Remarks/RemarkParser.h
+include/llvm/Remarks/RemarkSerializer.h
+include/llvm/Remarks/RemarkStringTable.h
 include/llvm/Support/AArch64TargetParser.def
 include/llvm/Support/AArch64TargetParser.h
 include/llvm/Support/AMDGPUMetadata.h
@@ -1057,6 +1103,7 @@ include/llvm/Support/BuryPointer.h
 include/llvm/Support/CBindingWrapping.h
 include/llvm/Support/CFGUpdate.h
 include/llvm/Support/COM.h
+include/llvm/Support/CRC.h
 include/llvm/Support/CachePruning.h
 include/llvm/Support/Capacity.h
 include/llvm/Support/Casting.h
@@ -1096,6 +1143,7 @@ include/llvm/Support/FormatVariadicDetai
 include/llvm/Support/FormattedStream.h
 include/llvm/Support/GenericDomTree.h
 include/llvm/Support/GenericDomTreeConstruction.h
+include/llvm/Support/GenericIteratedDominanceFrontier.h
 include/llvm/Support/GlobPattern.h
 include/llvm/Support/GraphWriter.h
 include/llvm/Support/Host.h
@@ -1141,10 +1189,13 @@ include/llvm/Support/Registry.h
 include/llvm/Support/ReverseIteration.h
 include/llvm/Support/SHA1.h
 include/llvm/Support/SMLoc.h
+include/llvm/Support/SMTAPI.h
 include/llvm/Support/SaveAndRestore.h
+include/llvm/Support/ScalableSize.h
 include/llvm/Support/ScaledNumber.h
 include/llvm/Support/ScopedPrinter.h
 include/llvm/Support/Signals.h
+include/llvm/Support/Signposts.h
 include/llvm/Support/SmallVectorMemoryBuffer.h
 include/llvm/Support/Solaris/sys/regset.h
 include/llvm/Support/SourceMgr.h
@@ -1163,6 +1214,7 @@ include/llvm/Support/TaskQueue.h
 include/llvm/Support/ThreadLocal.h
 include/llvm/Support/ThreadPool.h
 include/llvm/Support/Threading.h
+include/llvm/Support/TimeProfiler.h
 include/llvm/Support/Timer.h
 include/llvm/Support/ToolOutputFile.h
 include/llvm/Support/TrailingObjects.h
@@ -1214,10 +1266,19 @@ include/llvm/Target/TargetOptions.h
 include/llvm/Target/TargetPfmCounters.td
 include/llvm/Target/TargetSchedule.td
 include/llvm/Target/TargetSelectionDAG.td
+include/llvm/Testing/Support/Annotations.h
 include/llvm/Testing/Support/Error.h
 include/llvm/Testing/Support/SupportHelpers.h
 include/llvm/TextAPI/ELF/ELFStub.h
 include/llvm/TextAPI/ELF/TBEHandler.h
+include/llvm/TextAPI/MachO/Architecture.def
+include/llvm/TextAPI/MachO/Architecture.h
+include/llvm/TextAPI/MachO/ArchitectureSet.h
+include/llvm/TextAPI/MachO/InterfaceFile.h
+include/llvm/TextAPI/MachO/PackedVersion.h
+include/llvm/TextAPI/MachO/Symbol.h
+include/llvm/TextAPI/MachO/TextAPIReader.h
+include/llvm/TextAPI/MachO/TextAPIWriter.h
 include/llvm/ToolDrivers/llvm-dlltool/DlltoolDriver.h
 include/llvm/ToolDrivers/llvm-lib/LibDriver.h
 include/llvm/Transforms/AggressiveInstCombine/AggressiveInstCombine.h
@@ -1225,6 +1286,7 @@ include/llvm/Transforms/Coroutines.h
 include/llvm/Transforms/IPO.h
 include/llvm/Transforms/IPO/AlwaysInliner.h
 include/llvm/Transforms/IPO/ArgumentPromotion.h
+include/llvm/Transforms/IPO/Attributor.h
 include/llvm/Transforms/IPO/CalledValuePropagation.h
 include/llvm/Transforms/IPO/ConstantMerge.h
 include/llvm/Transforms/IPO/CrossDSOCFI.h
@@ -1252,13 +1314,17 @@ include/llvm/Transforms/IPO/WholeProgram
 include/llvm/Transforms/InstCombine/InstCombine.h
 include/llvm/Transforms/InstCombine/InstCombineWorklist.h
 include/llvm/Transforms/Instrumentation.h
+include/llvm/Transforms/Instrumentation/AddressSanitizer.h
 include/llvm/Transforms/Instrumentation/BoundsChecking.h
 include/llvm/Transforms/Instrumentation/CGProfile.h
 include/llvm/Transforms/Instrumentation/ControlHeightReduction.h
 include/llvm/Transforms/Instrumentation/GCOVProfiler.h
+include/llvm/Transforms/Instrumentation/HWAddressSanitizer.h
+include/llvm/Transforms/Instrumentation/InstrOrderFile.h
 include/llvm/Transforms/Instrumentation/InstrProfiling.h
 include/llvm/Transforms/Instrumentation/MemorySanitizer.h
 include/llvm/Transforms/Instrumentation/PGOInstrumentation.h
+include/llvm/Transforms/Instrumentation/PoisonChecking.h
 include/llvm/Transforms/Instrumentation/ThreadSanitizer.h
 include/llvm/Transforms/ObjCARC.h
 include/llvm/Transforms/Scalar.h
@@ -1286,6 +1352,7 @@ include/llvm/Transforms/Scalar/LoopAcces
 include/llvm/Transforms/Scalar/LoopDataPrefetch.h
 include/llvm/Transforms/Scalar/LoopDeletion.h
 include/llvm/Transforms/Scalar/LoopDistribute.h
+include/llvm/Transforms/Scalar/LoopFuse.h
 include/llvm/Transforms/Scalar/LoopIdiomRecognize.h
 include/llvm/Transforms/Scalar/LoopInstSimplify.h
 include/llvm/Transforms/Scalar/LoopLoadElimination.h
@@ -1300,8 +1367,10 @@ include/llvm/Transforms/Scalar/LoopUnrol
 include/llvm/Transforms/Scalar/LowerAtomic.h
 include/llvm/Transforms/Scalar/LowerExpectIntrinsic.h
 include/llvm/Transforms/Scalar/LowerGuardIntrinsic.h
+include/llvm/Transforms/Scalar/LowerWidenableCondition.h
 include/llvm/Transforms/Scalar/MakeGuardsExplicit.h
 include/llvm/Transforms/Scalar/MemCpyOptimizer.h
+include/llvm/Transforms/Scalar/MergeICmps.h
 include/llvm/Transforms/Scalar/MergedLoadStoreMotion.h
 include/llvm/Transforms/Scalar/NaryReassociate.h
 include/llvm/Transforms/Scalar/NewGVN.h
@@ -1359,6 +1428,7 @@ include/llvm/Transforms/Utils/SSAUpdater
 include/llvm/Transforms/Utils/SanitizerStats.h
 include/llvm/Transforms/Utils/SimplifyIndVar.h
 include/llvm/Transforms/Utils/SimplifyLibCalls.h
+include/llvm/Transforms/Utils/SizeOpts.h
 include/llvm/Transforms/Utils/SplitModule.h
 include/llvm/Transforms/Utils/SymbolRewriter.h
 include/llvm/Transforms/Utils/UnifyFunctionExitNodes.h
@@ -1404,39 +1474,38 @@ lib/cmake/llvm/DetermineGCCCompatible.cm
 lib/cmake/llvm/FindLibpfm.cmake
 lib/cmake/llvm/FindOCaml.cmake
 lib/cmake/llvm/FindSphinx.cmake
-lib/cmake/llvm/GenerateVersionFromCVS.cmake
-lib/cmake/llvm/GetSVN.cmake
+lib/cmake/llvm/FindZ3.cmake
+lib/cmake/llvm/GenerateVersionFromVCS.cmake
 lib/cmake/llvm/HandleLLVMOptions.cmake
 lib/cmake/llvm/HandleLLVMStdlib.cmake
 lib/cmake/llvm/LLVM-Config.cmake
 lib/cmake/llvm/LLVMConfig.cmake
 lib/cmake/llvm/LLVMConfigVersion.cmake
+lib/cmake/llvm/LLVMDistributionSupport.cmake
 lib/cmake/llvm/LLVMExports-release.cmake
 lib/cmake/llvm/LLVMExports.cmake
 lib/cmake/llvm/LLVMExternalProjectUtils.cmake
 lib/cmake/llvm/LLVMInstallSymlink.cmake
 lib/cmake/llvm/LLVMProcessSources.cmake
 lib/cmake/llvm/TableGen.cmake
+lib/cmake/llvm/UseLibtool.cmake
 lib/cmake/llvm/VersionFromVCS.cmake
 lib/libLLVM-${PKGVERSION}.${SOEXT}
-lib/libLLVM-8.${SOEXT}
+lib/libLLVM-9.${SOEXT}
 lib/libLLVM.${SOEXT}
 ${PLIST.AArch64}lib/libLLVMAArch64AsmParser.a
-${PLIST.AArch64}lib/libLLVMAArch64AsmPrinter.a
 ${PLIST.AArch64}lib/libLLVMAArch64CodeGen.a
 ${PLIST.AArch64}lib/libLLVMAArch64Desc.a
 ${PLIST.AArch64}lib/libLLVMAArch64Disassembler.a
 ${PLIST.AArch64}lib/libLLVMAArch64Info.a
 ${PLIST.AArch64}lib/libLLVMAArch64Utils.a
 ${PLIST.AMDGPU}lib/libLLVMAMDGPUAsmParser.a
-${PLIST.AMDGPU}lib/libLLVMAMDGPUAsmPrinter.a
 ${PLIST.AMDGPU}lib/libLLVMAMDGPUCodeGen.a
 ${PLIST.AMDGPU}lib/libLLVMAMDGPUDesc.a
 ${PLIST.AMDGPU}lib/libLLVMAMDGPUDisassembler.a
 ${PLIST.AMDGPU}lib/libLLVMAMDGPUInfo.a
 ${PLIST.AMDGPU}lib/libLLVMAMDGPUUtils.a
 ${PLIST.ARM}lib/libLLVMARMAsmParser.a
-${PLIST.ARM}lib/libLLVMARMAsmPrinter.a
 ${PLIST.ARM}lib/libLLVMARMCodeGen.a
 ${PLIST.ARM}lib/libLLVMARMDesc.a
 ${PLIST.ARM}lib/libLLVMARMDisassembler.a
@@ -1447,7 +1516,6 @@ lib/libLLVMAnalysis.a
 lib/libLLVMAsmParser.a
 lib/libLLVMAsmPrinter.a
 ${PLIST.BPF}lib/libLLVMBPFAsmParser.a
-${PLIST.BPF}lib/libLLVMBPFAsmPrinter.a
 ${PLIST.BPF}lib/libLLVMBPFCodeGen.a
 ${PLIST.BPF}lib/libLLVMBPFDesc.a
 ${PLIST.BPF}lib/libLLVMBPFDisassembler.a
@@ -1455,12 +1523,14 @@ ${PLIST.BPF}lib/libLLVMBPFInfo.a
 lib/libLLVMBinaryFormat.a
 lib/libLLVMBitReader.a
 lib/libLLVMBitWriter.a
+lib/libLLVMBitstreamReader.a
 lib/libLLVMCodeGen.a
 lib/libLLVMCore.a
 lib/libLLVMCoroutines.a
 lib/libLLVMCoverage.a
 lib/libLLVMDebugInfoCodeView.a
 lib/libLLVMDebugInfoDWARF.a
+lib/libLLVMDebugInfoGSYM.a
 lib/libLLVMDebugInfoMSF.a
 lib/libLLVMDebugInfoPDB.a
 lib/libLLVMDemangle.a
@@ -1477,9 +1547,9 @@ lib/libLLVMIRReader.a
 lib/libLLVMInstCombine.a
 lib/libLLVMInstrumentation.a
 lib/libLLVMInterpreter.a
+lib/libLLVMJITLink.a
 lib/libLLVMLTO.a
 ${PLIST.Lanai}lib/libLLVMLanaiAsmParser.a
-${PLIST.Lanai}lib/libLLVMLanaiAsmPrinter.a
 ${PLIST.Lanai}lib/libLLVMLanaiCodeGen.a
 ${PLIST.Lanai}lib/libLLVMLanaiDesc.a
 ${PLIST.Lanai}lib/libLLVMLanaiDisassembler.a
@@ -1494,40 +1564,35 @@ lib/libLLVMMCJIT.a
 lib/libLLVMMCParser.a
 lib/libLLVMMIRParser.a
 ${PLIST.MSP430}lib/libLLVMMSP430AsmParser.a
-${PLIST.MSP430}lib/libLLVMMSP430AsmPrinter.a
 ${PLIST.MSP430}lib/libLLVMMSP430CodeGen.a
 ${PLIST.MSP430}lib/libLLVMMSP430Desc.a
 ${PLIST.MSP430}lib/libLLVMMSP430Disassembler.a
 ${PLIST.MSP430}lib/libLLVMMSP430Info.a
 ${PLIST.Mips}lib/libLLVMMipsAsmParser.a
-${PLIST.Mips}lib/libLLVMMipsAsmPrinter.a
 ${PLIST.Mips}lib/libLLVMMipsCodeGen.a
 ${PLIST.Mips}lib/libLLVMMipsDesc.a
 ${PLIST.Mips}lib/libLLVMMipsDisassembler.a
 ${PLIST.Mips}lib/libLLVMMipsInfo.a
-${PLIST.NVPTX}lib/libLLVMNVPTXAsmPrinter.a
 ${PLIST.NVPTX}lib/libLLVMNVPTXCodeGen.a
 ${PLIST.NVPTX}lib/libLLVMNVPTXDesc.a
 ${PLIST.NVPTX}lib/libLLVMNVPTXInfo.a
 lib/libLLVMObjCARCOpts.a
 lib/libLLVMObject.a
 lib/libLLVMObjectYAML.a
-lib/libLLVMOptRemarks.a
 lib/libLLVMOption.a
 lib/libLLVMOrcJIT.a
 lib/libLLVMPasses.a
 ${PLIST.PowerPC}lib/libLLVMPowerPCAsmParser.a
-${PLIST.PowerPC}lib/libLLVMPowerPCAsmPrinter.a
 ${PLIST.PowerPC}lib/libLLVMPowerPCCodeGen.a
 ${PLIST.PowerPC}lib/libLLVMPowerPCDesc.a
 ${PLIST.PowerPC}lib/libLLVMPowerPCDisassembler.a
 ${PLIST.PowerPC}lib/libLLVMPowerPCInfo.a
 lib/libLLVMProfileData.a
+lib/libLLVMRemarks.a
 lib/libLLVMRuntimeDyld.a
 lib/libLLVMScalarOpts.a
 lib/libLLVMSelectionDAG.a
 ${PLIST.Sparc}lib/libLLVMSparcAsmParser.a
-${PLIST.Sparc}lib/libLLVMSparcAsmPrinter.a
 ${PLIST.Sparc}lib/libLLVMSparcCodeGen.a
 ${PLIST.Sparc}lib/libLLVMSparcDesc.a
 ${PLIST.Sparc}lib/libLLVMSparcDisassembler.a
@@ -1535,7 +1600,6 @@ ${PLIST.Sparc}lib/libLLVMSparcInfo.a
 lib/libLLVMSupport.a
 lib/libLLVMSymbolize.a
 ${PLIST.SystemZ}lib/libLLVMSystemZAsmParser.a
-${PLIST.SystemZ}lib/libLLVMSystemZAsmPrinter.a
 ${PLIST.SystemZ}lib/libLLVMSystemZCodeGen.a
 ${PLIST.SystemZ}lib/libLLVMSystemZDesc.a
 ${PLIST.SystemZ}lib/libLLVMSystemZDisassembler.a
@@ -1546,20 +1610,17 @@ lib/libLLVMTextAPI.a
 lib/libLLVMTransformUtils.a
 lib/libLLVMVectorize.a
 ${PLIST.WebAssembly}lib/libLLVMWebAssemblyAsmParser.a
-${PLIST.WebAssembly}lib/libLLVMWebAssemblyAsmPrinter.a
 ${PLIST.WebAssembly}lib/libLLVMWebAssemblyCodeGen.a
 ${PLIST.WebAssembly}lib/libLLVMWebAssemblyDesc.a
 ${PLIST.WebAssembly}lib/libLLVMWebAssemblyDisassembler.a
 ${PLIST.WebAssembly}lib/libLLVMWebAssemblyInfo.a
 lib/libLLVMWindowsManifest.a
 ${PLIST.X86}lib/libLLVMX86AsmParser.a
-${PLIST.X86}lib/libLLVMX86AsmPrinter.a
 ${PLIST.X86}lib/libLLVMX86CodeGen.a
 ${PLIST.X86}lib/libLLVMX86Desc.a
 ${PLIST.X86}lib/libLLVMX86Disassembler.a
 ${PLIST.X86}lib/libLLVMX86Info.a
 ${PLIST.X86}lib/libLLVMX86Utils.a
-${PLIST.XCore}lib/libLLVMXCoreAsmPrinter.a
 ${PLIST.XCore}lib/libLLVMXCoreCodeGen.a
 ${PLIST.XCore}lib/libLLVMXCoreDesc.a
 ${PLIST.XCore}lib/libLLVMXCoreDisassembler.a
@@ -1567,9 +1628,9 @@ ${PLIST.XCore}lib/libLLVMXCoreInfo.a
 lib/libLLVMXRay.a
 lib/libLLVMipo.a
 lib/libLTO.${SOEXT}
-${PLIST.notdylib}lib/libLTO.${SOEXT}.8
-${PLIST.notdylib}lib/libOptRemarks.${SOEXT}.8
-lib/libOptRemarks.so
+${PLIST.notdylib}lib/libLTO.${SOEXT}.9
+lib/libRemarks.so
+${PLIST.notdylib}lib/libRemarks.${SOEXT}.9
 share/opt-viewer/opt-diff.py
 share/opt-viewer/opt-stats.py
 share/opt-viewer/opt-viewer.py

Index: pkgsrc/lang/llvm/buildlink3.mk
diff -u pkgsrc/lang/llvm/buildlink3.mk:1.8 pkgsrc/lang/llvm/buildlink3.mk:1.9
--- pkgsrc/lang/llvm/buildlink3.mk:1.8  Sun Jun  2 08:35:55 2019
+++ pkgsrc/lang/llvm/buildlink3.mk      Sat Oct 19 13:52:40 2019
@@ -1,11 +1,11 @@
-# $NetBSD: buildlink3.mk,v 1.8 2019/06/02 08:35:55 adam Exp $
+# $NetBSD: buildlink3.mk,v 1.9 2019/10/19 13:52:40 adam Exp $
 
 BUILDLINK_TREE+=       llvm
 
 .if !defined(LLVM_BUILDLINK3_MK)
 LLVM_BUILDLINK3_MK:=
 
-BUILDLINK_API_DEPENDS.llvm+=   llvm>=8.0.0
+BUILDLINK_API_DEPENDS.llvm+=   llvm>=9.0.0
 BUILDLINK_PKGSRCDIR.llvm?=     ../../lang/llvm
 
 LLVM_CONFIG_PATH?=             ${BUILDLINK_PREFIX.llvm}/bin/llvm-config

Index: pkgsrc/lang/llvm/distinfo
diff -u pkgsrc/lang/llvm/distinfo:1.23 pkgsrc/lang/llvm/distinfo:1.24
--- pkgsrc/lang/llvm/distinfo:1.23      Sat Sep 28 06:35:28 2019
+++ pkgsrc/lang/llvm/distinfo   Sat Oct 19 13:52:40 2019
@@ -1,14 +1,13 @@
-$NetBSD: distinfo,v 1.23 2019/09/28 06:35:28 adam Exp $
+$NetBSD: distinfo,v 1.24 2019/10/19 13:52:40 adam Exp $
 
-SHA1 (llvm-8.0.1.src.tar.xz) = 09964f9eabc364f221a3caefbdaea28557273b4a
-RMD160 (llvm-8.0.1.src.tar.xz) = 6cedbb2b11ec5a4bba3d1b974fb3165a44f762c0
-SHA512 (llvm-8.0.1.src.tar.xz) = 82e120be5cabdfd5111aebbea68a663fe229c8861d73802d6ab09a3bf48f60de333e07e61f8fb61beaa14ac2bea24fcd74fa6f761acaf62469f536b79fcb1e16
-Size (llvm-8.0.1.src.tar.xz) = 30477608 bytes
+SHA1 (llvm-9.0.0.src.tar.xz) = 7ef2527ba3da7603a41ce3592a8cd890f8d27ffa
+RMD160 (llvm-9.0.0.src.tar.xz) = fb47d140555cd728006f07d7ad12ae9cb3f8ace6
+SHA512 (llvm-9.0.0.src.tar.xz) = 1bb3341e1d231559b948f1505b33c2e2e03989f9b8bbfef0e0cdaff5ac43f85574c9ec5ac53399b914f497d6899425d861411024e8d7e1d1a338c1c6951ac658
+Size (llvm-9.0.0.src.tar.xz) = 32994768 bytes
 SHA1 (patch-CMakeLists.txt) = 78e2dab2bf73f7e466ca2788fe6444e39b4ebd80
 SHA1 (patch-cmake_config-ix.cmake) = 61967c51d724a76867e1c59f721d1ac0e4815023
-SHA1 (patch-cmake_modules_AddLLVM.cmake) = 31d4f47f03bef021a24d53147c1b66abd64e1d87
+SHA1 (patch-cmake_modules_AddLLVM.cmake) = 41baf8d0692cac54f8bbce0f73b5ed5cffaa8e4a
 SHA1 (patch-cmake_modules_CheckAtomic.cmake) = 51e4fdf3bc24b50fc4d4bfa1ec5ba6c82ef946b4
 SHA1 (patch-include_llvm-c_DataTypes.h) = 025c035e0e10871727391bd58936bd67b3e58244
 SHA1 (patch-include_llvm_Analysis_ConstantFolding.h) = 56b9374da236c346565897977040255b9766cab8
-SHA1 (patch-tools_llvm-shlib_CMakeLists.txt) = 6c74713de3f953cbe323b3a83ca8e8d66f76f6e8
-SHA1 (patch-utils_FileCheck_FileCheck.cpp) = eec6cdd1bdd217ee4fd16a297ff4b8483639e714
+SHA1 (patch-tools_llvm-shlib_CMakeLists.txt) = 28f417bbfa17f2e644042350da5b98c07b834968

Index: pkgsrc/lang/llvm/patches/patch-cmake_modules_AddLLVM.cmake
diff -u pkgsrc/lang/llvm/patches/patch-cmake_modules_AddLLVM.cmake:1.4 pkgsrc/lang/llvm/patches/patch-cmake_modules_AddLLVM.cmake:1.5
--- pkgsrc/lang/llvm/patches/patch-cmake_modules_AddLLVM.cmake:1.4      Sun Dec  9 20:04:38 2018
+++ pkgsrc/lang/llvm/patches/patch-cmake_modules_AddLLVM.cmake  Sat Oct 19 13:52:40 2019
@@ -1,22 +1,22 @@
-$NetBSD: patch-cmake_modules_AddLLVM.cmake,v 1.4 2018/12/09 20:04:38 adam Exp $
+$NetBSD: patch-cmake_modules_AddLLVM.cmake,v 1.5 2019/10/19 13:52:40 adam Exp $
 
 Don't use non-portable -z discard-unused on SunOS.
 On Darwin, create symbolic links to shared libraries.
 On Darwin, use correct install-name for shared libraries.
 
---- cmake/modules/AddLLVM.cmake.orig   2018-08-01 07:51:55.000000000 +0000
+--- cmake/modules/AddLLVM.cmake.orig   2019-07-12 14:40:18.000000000 +0000
 +++ cmake/modules/AddLLVM.cmake
-@@ -218,9 +218,6 @@ function(add_link_opts target_name)
+@@ -222,9 +222,6 @@ function(add_link_opts target_name)
          # ld64's implementation of -dead_strip breaks tools that use plugins.
          set_property(TARGET ${target_name} APPEND_STRING PROPERTY
                       LINK_FLAGS " -Wl,-dead_strip")
 -      elseif(${CMAKE_SYSTEM_NAME} MATCHES "SunOS")
 -        set_property(TARGET ${target_name} APPEND_STRING PROPERTY
 -                     LINK_FLAGS " -Wl,-z -Wl,discard-unused=sections")
-       elseif(NOT WIN32 AND NOT LLVM_LINKER_IS_GOLD AND NOT ${CMAKE_SYSTEM_NAME} MATCHES "OpenBSD")
+       elseif(NOT WIN32 AND NOT LLVM_LINKER_IS_GOLD AND
+              NOT ${CMAKE_SYSTEM_NAME} MATCHES "OpenBSD|AIX")
          # Object files are compiled with -ffunction-data-sections.
-         # Versions of bfd ld < 2.23.1 have a bug in --gc-sections that breaks
-@@ -517,7 +514,7 @@ function(llvm_add_library name)
+@@ -536,7 +533,7 @@ function(llvm_add_library name)
    endif()
  
    if(ARG_SHARED AND UNIX)
@@ -25,7 +25,7 @@ On Darwin, use correct install-name for 
        get_target_property(output_name ${name} OUTPUT_NAME)
        if(${output_name} STREQUAL "output_name-NOTFOUND")
          set(output_name ${name})
-@@ -1632,7 +1629,7 @@ function(llvm_setup_rpath name)
+@@ -1727,7 +1724,7 @@ function(llvm_setup_rpath name)
    endif()
  
    if (APPLE)

Index: pkgsrc/lang/llvm/patches/patch-tools_llvm-shlib_CMakeLists.txt
diff -u pkgsrc/lang/llvm/patches/patch-tools_llvm-shlib_CMakeLists.txt:1.5 pkgsrc/lang/llvm/patches/patch-tools_llvm-shlib_CMakeLists.txt:1.6
--- pkgsrc/lang/llvm/patches/patch-tools_llvm-shlib_CMakeLists.txt:1.5  Sun Jun  2 08:35:55 2019
+++ pkgsrc/lang/llvm/patches/patch-tools_llvm-shlib_CMakeLists.txt      Sat Oct 19 13:52:40 2019
@@ -1,11 +1,11 @@
-$NetBSD: patch-tools_llvm-shlib_CMakeLists.txt,v 1.5 2019/06/02 08:35:55 adam Exp $
+$NetBSD: patch-tools_llvm-shlib_CMakeLists.txt,v 1.6 2019/10/19 13:52:40 adam Exp $
 
 Use the Linux style linking everywhere except Darwin and SunOS.
 
---- tools/llvm-shlib/CMakeLists.txt.orig       2018-10-18 20:07:44.000000000 +0000
+--- tools/llvm-shlib/CMakeLists.txt.orig       2019-08-29 08:58:14.000000000 +0000
 +++ tools/llvm-shlib/CMakeLists.txt
-@@ -42,13 +42,11 @@ if(LLVM_BUILD_LLVM_DYLIB)
-   add_llvm_library(LLVM SHARED DISABLE_LLVM_LINK_LLVM_DYLIB SONAME ${SOURCES})
+@@ -45,13 +45,11 @@ if(LLVM_BUILD_LLVM_DYLIB)
+   add_llvm_library(LLVM SHARED DISABLE_LLVM_LINK_LLVM_DYLIB SONAME ${INSTALL_WITH_TOOLCHAIN} ${SOURCES})
  
    list(REMOVE_DUPLICATES LIB_NAMES)
 -  if(("${CMAKE_SYSTEM_NAME}" STREQUAL "Linux") OR (MINGW) OR (HAIKU)
@@ -23,7 +23,7 @@ Use the Linux style linking everywhere e
      configure_file(
      ${CMAKE_CURRENT_SOURCE_DIR}/simple_version_script.map.in
      ${LLVM_LIBRARY_DIR}/tools/llvm-shlib/simple_version_script.map)
-@@ -59,8 +57,6 @@ if(LLVM_BUILD_LLVM_DYLIB)
+@@ -62,8 +60,6 @@ if(LLVM_BUILD_LLVM_DYLIB)
        # Solaris ld does not accept global: *; so there is no way to version *all* global symbols
        set(LIB_NAMES -Wl,--version-script,${LLVM_LIBRARY_DIR}/tools/llvm-shlib/simple_version_script.map ${LIB_NAMES})
      endif()



Home | Main Index | Thread Index | Old Index