pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/lang clang: updated to 9.0.0
details: https://anonhg.NetBSD.org/pkgsrc/rev/6c62f2296c9a
branches: trunk
changeset: 402990:6c62f2296c9a
user: adam <adam%pkgsrc.org@localhost>
date: Sat Oct 19 13:54:29 2019 +0000
description:
clang: updated to 9.0.0
9.0.0:
Major New Features
* Experimental support for C++ for OpenCL has been added.
Non-comprehensive list of changes in this release
* The __VERSION__ macro has been updated. Previously this macro contained the string ?4.2.1 Compatible? to achieve compatibility with GCC 4.2.1, but that should no longer be necessary. However, to
retrieve Clang?s version, please favor the one of the macro defined in clang namespaced version macros.
New Compiler Flags
* -ftime-trace and ftime-trace-granularity=N Emits flame chart style compilation time report in chrome://tracing and speedscope.app compatible format. A trace .json file is written next to the
compiled object file, containing hierarchical time information about frontend activities (file parsing, template instantiation) and backend activities (modules and functions being optimized,
optimization passes).
Modified Compiler Flags
* clang -dumpversion now returns the version of Clang itself.
Windows Support
* clang-cl now treats non-existent files as possible typos for flags, clang-cl /diagnostic:caret /c test.cc for example now produces clang: error: no such file or directory: '/diagnostic:caret'; did
you mean '/diagnostics:caret'?
* clang now parses the __declspec(allocator) specifier and generates debug information, so that memory usage can be tracked in Visual Studio.
* The -print-search-dirs option now separates elements with semicolons, as is the norm for path lists on Windows
* Improved handling of dllexport in conjunction with explicit template instantiations for MinGW, to allow building a shared libc++ for MinGW without --export-all-symbols to override the dllexport
attributes
diffstat:
lang/clang-static-analyzer/Makefile | 3 +-
lang/clang/Makefile.common | 8 +-
lang/clang/PLIST | 56 +++++++++++--
lang/clang/buildlink3.mk | 4 +-
lang/clang/distinfo | 14 +-
lang/clang/patches/patch-lib_Basic_Targets_OSTargets.h | 28 +++---
lang/clang/patches/patch-lib_Driver_ToolChains_Solaris.cpp | 43 ++--------
7 files changed, 82 insertions(+), 74 deletions(-)
diffs (truncated from 493 to 300 lines):
diff -r c6390afc8254 -r 6c62f2296c9a lang/clang-static-analyzer/Makefile
--- a/lang/clang-static-analyzer/Makefile Sat Oct 19 13:52:40 2019 +0000
+++ b/lang/clang-static-analyzer/Makefile Sat Oct 19 13:54:29 2019 +0000
@@ -1,6 +1,5 @@
-# $NetBSD: Makefile,v 1.14 2019/08/11 13:21:19 wiz Exp $
+# $NetBSD: Makefile,v 1.15 2019/10/19 13:54:29 adam Exp $
-PKGREVISION= 1
.include "../../lang/clang/Makefile.common"
PKGNAME= ${DISTNAME:S/cfe/clang-static-analyzer/:S/.src//}
diff -r c6390afc8254 -r 6c62f2296c9a lang/clang/Makefile.common
--- a/lang/clang/Makefile.common Sat Oct 19 13:52:40 2019 +0000
+++ b/lang/clang/Makefile.common Sat Oct 19 13:54:29 2019 +0000
@@ -1,13 +1,11 @@
-# $NetBSD: Makefile.common,v 1.34 2019/08/26 14:56:21 adam Exp $
+# $NetBSD: Makefile.common,v 1.35 2019/10/19 13:54:29 adam Exp $
# used by lang/clang/Makefile
# used by lang/clang-static-analyzer/Makefile
# used by lang/clang-tools-extra/Makefile
-DISTNAME= cfe-8.0.1.src
+DISTNAME= cfe-9.0.0.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
diff -r c6390afc8254 -r 6c62f2296c9a lang/clang/PLIST
--- a/lang/clang/PLIST Sat Oct 19 13:52:40 2019 +0000
+++ b/lang/clang/PLIST Sat Oct 19 13:54:29 2019 +0000
@@ -1,8 +1,8 @@
-@comment $NetBSD: PLIST,v 1.26 2019/06/02 08:39:28 adam Exp $
+@comment $NetBSD: PLIST,v 1.27 2019/10/19 13:54:29 adam Exp $
bin/c-index-test
bin/clang
bin/clang++
-bin/clang-8
+bin/clang-9
bin/clang-cl
bin/clang-cpp
bin/clang-format
@@ -10,6 +10,7 @@
bin/clang-offload-bundler
bin/clang-refactor
bin/clang-rename
+bin/clang-scan-deps
bin/diagtool
bin/git-clang-format
bin/hmaptool
@@ -29,12 +30,15 @@
include/clang/AST/ASTContext.h
include/clang/AST/ASTContextAllocate.h
include/clang/AST/ASTDiagnostic.h
+include/clang/AST/ASTDumper.h
include/clang/AST/ASTDumperUtils.h
include/clang/AST/ASTFwd.h
include/clang/AST/ASTImporter.h
include/clang/AST/ASTImporterLookupTable.h
+include/clang/AST/ASTImporterSharedState.h
include/clang/AST/ASTLambda.h
include/clang/AST/ASTMutationListener.h
+include/clang/AST/ASTNodeTraverser.h
include/clang/AST/ASTStructuralEquivalence.h
include/clang/AST/ASTTypeTraits.h
include/clang/AST/ASTUnresolvedSet.h
@@ -68,6 +72,7 @@
include/clang/AST/CommentSema.h
include/clang/AST/CommentVisitor.h
include/clang/AST/ComparisonCategories.h
+include/clang/AST/CurrentSourceLocExprScope.h
include/clang/AST/DataCollection.h
include/clang/AST/Decl.h
include/clang/AST/DeclAccessPair.h
@@ -93,6 +98,7 @@
include/clang/AST/ExternalASTSource.h
include/clang/AST/FormatString.h
include/clang/AST/GlobalDecl.h
+include/clang/AST/JSONNodeDumper.h
include/clang/AST/LambdaCapture.h
include/clang/AST/LexicallyOrderedRecursiveASTVisitor.h
include/clang/AST/LocInfoType.h
@@ -163,6 +169,7 @@
include/clang/Analysis/Analyses/UninitializedValues.h
include/clang/Analysis/AnalysisDeclContext.h
include/clang/Analysis/AnalysisDiagnostic.h
+include/clang/Analysis/AnyCall.h
include/clang/Analysis/BodyFarm.h
include/clang/Analysis/CFG.h
include/clang/Analysis/CFGStmtMap.h
@@ -174,6 +181,7 @@
include/clang/Analysis/DomainSpecific/ObjCNoReturn.h
include/clang/Analysis/FlowSensitive/DataflowValues.h
include/clang/Analysis/ProgramPoint.h
+include/clang/Analysis/RetainSummaryManager.h
include/clang/Analysis/SelectorExtras.h
include/clang/Analysis/Support/BumpVector.h
include/clang/Basic/ABI.h
@@ -249,6 +257,7 @@
include/clang/Basic/FileSystemStatCache.h
include/clang/Basic/FixedPoint.h
include/clang/Basic/IdentifierTable.h
+include/clang/Basic/JsonSupport.h
include/clang/Basic/LLVM.h
include/clang/Basic/Lambda.h
include/clang/Basic/LangOptions.def
@@ -256,7 +265,6 @@
include/clang/Basic/Linkage.h
include/clang/Basic/MSP430Target.def
include/clang/Basic/MacroBuilder.h
-include/clang/Basic/MemoryBufferCache.h
include/clang/Basic/Module.h
include/clang/Basic/ObjCRuntime.h
include/clang/Basic/OpenCLExtensionTypes.def
@@ -310,6 +318,7 @@
include/clang/Config/config.h
include/clang/CrossTU/CrossTUDiagnostic.h
include/clang/CrossTU/CrossTranslationUnit.h
+include/clang/DirectoryWatcher/DirectoryWatcher.h
include/clang/Driver/Action.h
include/clang/Driver/Compilation.h
include/clang/Driver/DarwinSDKInfo.h
@@ -367,11 +376,13 @@
include/clang/FrontendTool/Utils.h
include/clang/Index/CodegenNameGenerator.h
include/clang/Index/CommentToXML.h
+include/clang/Index/DeclOccurrence.h
include/clang/Index/IndexDataConsumer.h
include/clang/Index/IndexSymbol.h
include/clang/Index/IndexingAction.h
include/clang/Index/USRGeneration.h
include/clang/Lex/CodeCompletionHandler.h
+include/clang/Lex/DependencyDirectivesSourceMinimizer.h
include/clang/Lex/DirectoryLookup.h
include/clang/Lex/ExternalPreprocessorSource.h
include/clang/Lex/HeaderMap.h
@@ -459,6 +470,7 @@
include/clang/Serialization/AttrPCHWrite.inc
include/clang/Serialization/ContinuousRangeMap.h
include/clang/Serialization/GlobalModuleIndex.h
+include/clang/Serialization/InMemoryModuleCache.h
include/clang/Serialization/Module.h
include/clang/Serialization/ModuleFileExtension.h
include/clang/Serialization/ModuleManager.h
@@ -506,9 +518,6 @@
include/clang/StaticAnalyzer/Core/PathSensitive/Regions.def
include/clang/StaticAnalyzer/Core/PathSensitive/SMTConstraintManager.h
include/clang/StaticAnalyzer/Core/PathSensitive/SMTConv.h
-include/clang/StaticAnalyzer/Core/PathSensitive/SMTExpr.h
-include/clang/StaticAnalyzer/Core/PathSensitive/SMTSolver.h
-include/clang/StaticAnalyzer/Core/PathSensitive/SMTSort.h
include/clang/StaticAnalyzer/Core/PathSensitive/SValBuilder.h
include/clang/StaticAnalyzer/Core/PathSensitive/SValVisitor.h
include/clang/StaticAnalyzer/Core/PathSensitive/SVals.def
@@ -521,10 +530,7 @@
include/clang/StaticAnalyzer/Core/PathSensitive/SymExpr.h
include/clang/StaticAnalyzer/Core/PathSensitive/SymbolManager.h
include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def
-include/clang/StaticAnalyzer/Core/PathSensitive/TaintManager.h
-include/clang/StaticAnalyzer/Core/PathSensitive/TaintTag.h
include/clang/StaticAnalyzer/Core/PathSensitive/WorkList.h
-include/clang/StaticAnalyzer/Core/RetainSummaryManager.h
include/clang/StaticAnalyzer/Frontend/AnalysisConsumer.h
include/clang/StaticAnalyzer/Frontend/CheckerRegistration.h
include/clang/StaticAnalyzer/Frontend/CheckerRegistry.h
@@ -540,6 +546,7 @@
include/clang/Tooling/Core/Diagnostic.h
include/clang/Tooling/Core/Lookup.h
include/clang/Tooling/Core/Replacement.h
+include/clang/Tooling/DependencyScanning/DependencyScanningWorker.h
include/clang/Tooling/DiagnosticsYaml.h
include/clang/Tooling/Execution.h
include/clang/Tooling/FileMatchTrie.h
@@ -551,6 +558,7 @@
include/clang/Tooling/Refactoring/ASTSelection.h
include/clang/Tooling/Refactoring/AtomicChange.h
include/clang/Tooling/Refactoring/Extract/Extract.h
+include/clang/Tooling/Refactoring/RangeSelector.h
include/clang/Tooling/Refactoring/RecursiveSymbolVisitor.h
include/clang/Tooling/Refactoring/RefactoringAction.h
include/clang/Tooling/Refactoring/RefactoringActionRule.h
@@ -569,9 +577,16 @@
include/clang/Tooling/Refactoring/Rename/USRFinder.h
include/clang/Tooling/Refactoring/Rename/USRFindingAction.h
include/clang/Tooling/Refactoring/Rename/USRLocFinder.h
+include/clang/Tooling/Refactoring/SourceCode.h
+include/clang/Tooling/Refactoring/Stencil.h
+include/clang/Tooling/Refactoring/Transformer.h
include/clang/Tooling/RefactoringCallbacks.h
include/clang/Tooling/ReplacementsYaml.h
include/clang/Tooling/StandaloneExecution.h
+include/clang/Tooling/Syntax/BuildTree.h
+include/clang/Tooling/Syntax/Nodes.h
+include/clang/Tooling/Syntax/Tokens.h
+include/clang/Tooling/Syntax/Tree.h
include/clang/Tooling/ToolExecutorPluginRegistry.h
include/clang/Tooling/Tooling.h
lib/clang/${PKGVERSION}/include/__clang_cuda_builtin_vars.h
@@ -594,6 +609,7 @@
lib/clang/${PKGVERSION}/include/arm_neon.h
lib/clang/${PKGVERSION}/include/armintr.h
lib/clang/${PKGVERSION}/include/avx2intrin.h
+lib/clang/${PKGVERSION}/include/avx512bf16intrin.h
lib/clang/${PKGVERSION}/include/avx512bitalgintrin.h
lib/clang/${PKGVERSION}/include/avx512bwintrin.h
lib/clang/${PKGVERSION}/include/avx512cdintrin.h
@@ -606,6 +622,7 @@
lib/clang/${PKGVERSION}/include/avx512vbmi2intrin.h
lib/clang/${PKGVERSION}/include/avx512vbmiintrin.h
lib/clang/${PKGVERSION}/include/avx512vbmivlintrin.h
+lib/clang/${PKGVERSION}/include/avx512vlbf16intrin.h
lib/clang/${PKGVERSION}/include/avx512vlbitalgintrin.h
lib/clang/${PKGVERSION}/include/avx512vlbwintrin.h
lib/clang/${PKGVERSION}/include/avx512vlcdintrin.h
@@ -613,7 +630,9 @@
lib/clang/${PKGVERSION}/include/avx512vlintrin.h
lib/clang/${PKGVERSION}/include/avx512vlvbmi2intrin.h
lib/clang/${PKGVERSION}/include/avx512vlvnniintrin.h
+lib/clang/${PKGVERSION}/include/avx512vlvp2intersectintrin.h
lib/clang/${PKGVERSION}/include/avx512vnniintrin.h
+lib/clang/${PKGVERSION}/include/avx512vp2intersectintrin.h
lib/clang/${PKGVERSION}/include/avx512vpopcntdqintrin.h
lib/clang/${PKGVERSION}/include/avx512vpopcntdqvlintrin.h
lib/clang/${PKGVERSION}/include/avxintrin.h
@@ -629,6 +648,7 @@
lib/clang/${PKGVERSION}/include/cuda_wrappers/complex
lib/clang/${PKGVERSION}/include/cuda_wrappers/new
lib/clang/${PKGVERSION}/include/emmintrin.h
+lib/clang/${PKGVERSION}/include/enqcmdintrin.h
lib/clang/${PKGVERSION}/include/f16cintrin.h
lib/clang/${PKGVERSION}/include/float.h
lib/clang/${PKGVERSION}/include/fma4intrin.h
@@ -654,11 +674,20 @@
lib/clang/${PKGVERSION}/include/msa.h
lib/clang/${PKGVERSION}/include/mwaitxintrin.h
lib/clang/${PKGVERSION}/include/nmmintrin.h
+lib/clang/${PKGVERSION}/include/opencl-c-base.h
lib/clang/${PKGVERSION}/include/opencl-c.h
+lib/clang/${PKGVERSION}/include/openmp_wrappers/__clang_openmp_math.h
+lib/clang/${PKGVERSION}/include/openmp_wrappers/__clang_openmp_math_declares.h
+lib/clang/${PKGVERSION}/include/openmp_wrappers/cmath
+lib/clang/${PKGVERSION}/include/openmp_wrappers/math.h
lib/clang/${PKGVERSION}/include/pconfigintrin.h
lib/clang/${PKGVERSION}/include/pkuintrin.h
lib/clang/${PKGVERSION}/include/pmmintrin.h
lib/clang/${PKGVERSION}/include/popcntintrin.h
+lib/clang/${PKGVERSION}/include/ppc_wrappers/emmintrin.h
+lib/clang/${PKGVERSION}/include/ppc_wrappers/mm_malloc.h
+lib/clang/${PKGVERSION}/include/ppc_wrappers/mmintrin.h
+lib/clang/${PKGVERSION}/include/ppc_wrappers/xmmintrin.h
lib/clang/${PKGVERSION}/include/prfchwintrin.h
lib/clang/${PKGVERSION}/include/ptwriteintrin.h
lib/clang/${PKGVERSION}/include/rdseedintrin.h
@@ -697,14 +726,18 @@
lib/cmake/clang/ClangConfig.cmake
lib/cmake/clang/ClangTargets-release.cmake
lib/cmake/clang/ClangTargets.cmake
+lib/libclang-cpp.${SOEXT}
+${PLIST.notdylib}lib/libclang-cpp.${SOEXT}.9
lib/libclang.${SOEXT}
-${PLIST.notdylib}lib/libclang.${SOEXT}.8
+${PLIST.notdylib}lib/libclang.${SOEXT}.9
lib/libclangAST.a
lib/libclangASTMatchers.a
lib/libclangAnalysis.a
lib/libclangBasic.a
lib/libclangCodeGen.a
lib/libclangCrossTU.a
+lib/libclangDependencyScanning.a
+lib/libclangDirectoryWatcher.a
lib/libclangDriver.a
lib/libclangDynamicASTMatchers.a
lib/libclangEdit.a
@@ -724,7 +757,8 @@
lib/libclangToolingASTDiff.a
lib/libclangToolingCore.a
lib/libclangToolingInclusions.a
-lib/libclangToolingRefactor.a
+lib/libclangToolingRefactoring.a
+lib/libclangToolingSyntax.a
share/clang/bash-autocomplete.sh
share/clang/clang-format-bbedit.applescript
share/clang/clang-format-diff.py
diff -r c6390afc8254 -r 6c62f2296c9a lang/clang/buildlink3.mk
--- a/lang/clang/buildlink3.mk Sat Oct 19 13:52:40 2019 +0000
+++ b/lang/clang/buildlink3.mk Sat Oct 19 13:54:29 2019 +0000
@@ -1,11 +1,11 @@
-# $NetBSD: buildlink3.mk,v 1.10 2019/06/06 19:57:59 adam Exp $
+# $NetBSD: buildlink3.mk,v 1.11 2019/10/19 13:54:29 adam Exp $
BUILDLINK_TREE+= clang
.if !defined(CLANG_BUILDLINK3_MK)
CLANG_BUILDLINK3_MK:=
-BUILDLINK_API_DEPENDS.clang+= clang>=8.0.0
+BUILDLINK_API_DEPENDS.clang+= clang>=9.0.0
Home |
Main Index |
Thread Index |
Old Index