diff options
author | Brooks Davis <brooks@FreeBSD.org> | 2014-03-15 06:45:41 +0000 |
---|---|---|
committer | Brooks Davis <brooks@FreeBSD.org> | 2014-03-15 06:45:41 +0000 |
commit | 858799c60ce54271cbdb94b9e2ff6bb3e3f91b1c (patch) | |
tree | 0155fa7a4eb4fcb794100a5ff276568222709bb3 /lang/clang-devel | |
parent | ffc143d74a18eb04266a0823dd2e2f057ca60259 (diff) | |
download | ports-858799c60ce54271cbdb94b9e2ff6bb3e3f91b1c.tar.gz ports-858799c60ce54271cbdb94b9e2ff6bb3e3f91b1c.zip |
Notes
Diffstat (limited to 'lang/clang-devel')
-rw-r--r-- | lang/clang-devel/Makefile | 5 | ||||
-rw-r--r-- | lang/clang-devel/distinfo | 8 | ||||
-rw-r--r-- | lang/clang-devel/files/patch-tools_clang_lib_Driver_ToolChains.cpp | 44 | ||||
-rw-r--r-- | lang/clang-devel/files/patch-tools_clang_lib_Driver_ToolChains.h | 20 | ||||
-rw-r--r-- | lang/clang-devel/files/patch-tools_clang_tools_scan-build_scan-build | 14 | ||||
-rw-r--r-- | lang/clang-devel/pkg-plist | 89 |
6 files changed, 62 insertions, 118 deletions
diff --git a/lang/clang-devel/Makefile b/lang/clang-devel/Makefile index f21465508820..defb4a16f63e 100644 --- a/lang/clang-devel/Makefile +++ b/lang/clang-devel/Makefile @@ -2,8 +2,7 @@ # $FreeBSD$ PORTNAME= clang -PORTVERSION= 3.4.r${SVN_REV} -PORTREVISION= 1 +PORTVERSION= 3.5.r${SVN_REV} CATEGORIES= lang devel MASTER_SITES= ${MASTER_SITE_LOCAL} MASTER_SITE_SUBDIR= brooks @@ -15,7 +14,7 @@ MAINTAINER= brooks@FreeBSD.org COMMENT= C, Objective-C, and C++ compiler CLANG_NAME= clang-${PORTVERSION} -CLANG_RELEASE= ${PORTVERSION:C/\.r[0-9]*//}svn +CLANG_RELEASE= ${PORTVERSION:C/\.r[0-9]*//}.0svn CLANG_SOURCE= ${CLANG_NAME}${EXTRACT_SUFX} LLVM_NAME= llvm-${PORTVERSION} LLVM_SOURCE= ${LLVM_NAME}${EXTRACT_SUFX} diff --git a/lang/clang-devel/distinfo b/lang/clang-devel/distinfo index 98ad985b706e..575ce66e0018 100644 --- a/lang/clang-devel/distinfo +++ b/lang/clang-devel/distinfo @@ -1,4 +1,4 @@ -SHA256 (clang-3.4.r193887.tar.bz2) = ce034154e6ef98321b26c4c3fa82a1066fdfb49bd193e71767797c11eaea3f9c -SIZE (clang-3.4.r193887.tar.bz2) = 8275346 -SHA256 (llvm-3.4.r193887.tar.bz2) = 175e3034a0f19c0ca9ce2fc75ccdc796f3c3bfd29b69f595aa4fc857f53db955 -SIZE (llvm-3.4.r193887.tar.bz2) = 11845136 +SHA256 (clang-3.5.r203994.tar.bz2) = dc6bb8ae84f32cfc38ac2d5f19a9a938806065d4d9f5be553d1003effa6d1f24 +SIZE (clang-3.5.r203994.tar.bz2) = 8623518 +SHA256 (llvm-3.5.r203994.tar.bz2) = 73bc4d19b25a8ab5824f6374f068b1ab345b760388f3f5764836f2c3317c380a +SIZE (llvm-3.5.r203994.tar.bz2) = 12350225 diff --git a/lang/clang-devel/files/patch-tools_clang_lib_Driver_ToolChains.cpp b/lang/clang-devel/files/patch-tools_clang_lib_Driver_ToolChains.cpp deleted file mode 100644 index d34e4d8781a4..000000000000 --- a/lang/clang-devel/files/patch-tools_clang_lib_Driver_ToolChains.cpp +++ /dev/null @@ -1,44 +0,0 @@ - -$FreeBSD$ - ---- tools/clang/lib/Driver/ToolChains.cpp.orig -+++ tools/clang/lib/Driver/ToolChains.cpp -@@ -1950,6 +1950,38 @@ - } - } - -+ToolChain::CXXStdlibType -+FreeBSD::GetCXXStdlibType(const ArgList &Args) const { -+ if (Arg *A = Args.getLastArg(options::OPT_stdlib_EQ)) { -+ StringRef Value = A->getValue(); -+ if (Value == "libc++") -+ return ToolChain::CST_Libcxx; -+ if (Value == "libstdc++") -+ return ToolChain::CST_Libstdcxx; -+ getDriver().Diag(diag::err_drv_invalid_stdlib_name) -+ << A->getAsString(Args); -+ } -+ -+ return getTriple().getOSMajorVersion() >= 10 ? ToolChain::CST_Libcxx : -+ ToolChain::CST_Libstdcxx; -+} -+ -+void FreeBSD::AddClangCXXStdlibIncludeArgs(const ArgList &DriverArgs, -+ ArgStringList &CC1Args) const { -+ if (DriverArgs.hasArg(options::OPT_nostdlibinc) || -+ DriverArgs.hasArg(options::OPT_nostdincxx)) -+ return; -+ -+ if (GetCXXStdlibType(DriverArgs) == ToolChain::CST_Libcxx) -+ addSystemInclude(DriverArgs, CC1Args, -+ getDriver().SysRoot + "/usr/include/c++/v1"); -+ else -+ addSystemInclude(DriverArgs, CC1Args, -+ getDriver().SysRoot + "/usr/include/c++/4.2"); -+ return; -+ -+} -+ - /// NetBSD - NetBSD tool chain which can call as(1) and ld(1) directly. - - NetBSD::NetBSD(const Driver &D, const llvm::Triple& Triple, const ArgList &Args) diff --git a/lang/clang-devel/files/patch-tools_clang_lib_Driver_ToolChains.h b/lang/clang-devel/files/patch-tools_clang_lib_Driver_ToolChains.h deleted file mode 100644 index 1c35a3f5f16d..000000000000 --- a/lang/clang-devel/files/patch-tools_clang_lib_Driver_ToolChains.h +++ /dev/null @@ -1,20 +0,0 @@ - -$FreeBSD$ - ---- tools/clang/lib/Driver/ToolChains.h.orig -+++ tools/clang/lib/Driver/ToolChains.h -@@ -515,9 +515,14 @@ - FreeBSD(const Driver &D, const llvm::Triple &Triple, - const llvm::opt::ArgList &Args); - -+ virtual CXXStdlibType GetCXXStdlibType(const llvm::opt::ArgList &Args) const; -+ - virtual bool IsMathErrnoDefault() const { return false; } - virtual bool IsObjCNonFragileABIDefault() const { return true; } - -+ virtual void AddClangCXXStdlibIncludeArgs(const llvm::opt::ArgList &DriverArgs, -+ llvm::opt::ArgStringList &CC1Args) const; -+ - virtual bool UseSjLjExceptions() const; - protected: - virtual Tool *buildAssembler() const; diff --git a/lang/clang-devel/files/patch-tools_clang_tools_scan-build_scan-build b/lang/clang-devel/files/patch-tools_clang_tools_scan-build_scan-build index f5bd884e8b2c..9872d6bf78b1 100644 --- a/lang/clang-devel/files/patch-tools_clang_tools_scan-build_scan-build +++ b/lang/clang-devel/files/patch-tools_clang_tools_scan-build_scan-build @@ -1,23 +1,23 @@ -$FreeBSD: /tmp/pcvs/ports/lang/clang-devel/files/patch-tools_clang_tools_scan-build_scan-build,v 1.1 2010-10-08 14:00:31 brooks Exp $ +$FreeBSD$ --- tools/clang/tools/scan-build/scan-build.orig +++ tools/clang/tools/scan-build/scan-build -@@ -423,7 +423,7 @@ +@@ -419,7 +419,7 @@ my $Dir = shift; - my $JS = Cwd::realpath("$RealBin/sorttable.js"); + my $JS = Cwd::realpath("%%DATADIR%%/sorttable.js"); - + DieDiag("Cannot find 'sorttable.js'.\n") - if (! -r $JS); -@@ -433,7 +433,7 @@ + if (! -r $JS); +@@ -429,7 +429,7 @@ DieDiag("Could not copy 'sorttable.js' to '$Dir'.\n") if (! -r "$Dir/sorttable.js"); - + - my $CSS = Cwd::realpath("$RealBin/scanview.css"); + my $CSS = Cwd::realpath("%%DATADIR%%/scanview.css"); - + DieDiag("Cannot find 'scanview.css'.\n") if (! -r $CSS); diff --git a/lang/clang-devel/pkg-plist b/lang/clang-devel/pkg-plist index be7d2756484d..398ff3bfc48a 100644 --- a/lang/clang-devel/pkg-plist +++ b/lang/clang-devel/pkg-plist @@ -20,7 +20,9 @@ llvm-devel/bin/clang-format llvm-devel/bin/clang-tblgen llvm-devel/bin/scan-build llvm-devel/bin/scan-view +llvm-devel/include/clang-c/BuildSystem.h llvm-devel/include/clang-c/CXCompilationDatabase.h +llvm-devel/include/clang-c/CXErrorCode.h llvm-devel/include/clang-c/CXString.h llvm-devel/include/clang-c/Index.h llvm-devel/include/clang-c/Platform.h @@ -43,6 +45,7 @@ llvm-devel/include/clang/AST/Attr.h llvm-devel/include/clang/AST/AttrDump.inc llvm-devel/include/clang/AST/AttrImpl.inc llvm-devel/include/clang/AST/AttrIterator.h +llvm-devel/include/clang/AST/AttrVisitor.inc llvm-devel/include/clang/AST/Attrs.inc llvm-devel/include/clang/AST/BaseSubobject.h llvm-devel/include/clang/AST/BuiltinTypes.def @@ -63,6 +66,7 @@ llvm-devel/include/clang/AST/CommentNodes.inc llvm-devel/include/clang/AST/CommentParser.h llvm-devel/include/clang/AST/CommentSema.h llvm-devel/include/clang/AST/CommentVisitor.h +llvm-devel/include/clang/AST/DataRecursiveASTVisitor.h llvm-devel/include/clang/AST/Decl.h llvm-devel/include/clang/AST/DeclAccessPair.h llvm-devel/include/clang/AST/DeclBase.h @@ -88,6 +92,7 @@ llvm-devel/include/clang/AST/Mangle.h llvm-devel/include/clang/AST/MangleNumberingContext.h llvm-devel/include/clang/AST/NSAPI.h llvm-devel/include/clang/AST/NestedNameSpecifier.h +llvm-devel/include/clang/AST/OpenMPClause.h llvm-devel/include/clang/AST/OperationKinds.h llvm-devel/include/clang/AST/ParentMap.h llvm-devel/include/clang/AST/PrettyPrinter.h @@ -195,7 +200,6 @@ llvm-devel/include/clang/Basic/MacroBuilder.h llvm-devel/include/clang/Basic/Module.h llvm-devel/include/clang/Basic/ObjCRuntime.h llvm-devel/include/clang/Basic/OnDiskHashTable.h -llvm-devel/include/clang/Basic/OpenCL.h llvm-devel/include/clang/Basic/OpenCLExtensions.def llvm-devel/include/clang/Basic/OpenMPKinds.def llvm-devel/include/clang/Basic/OpenMPKinds.h @@ -203,6 +207,7 @@ llvm-devel/include/clang/Basic/OperatorKinds.def llvm-devel/include/clang/Basic/OperatorKinds.h llvm-devel/include/clang/Basic/OperatorPrecedence.h llvm-devel/include/clang/Basic/PartialDiagnostic.h +llvm-devel/include/clang/Basic/PlistSupport.h llvm-devel/include/clang/Basic/PrettyStackTrace.h llvm-devel/include/clang/Basic/Sanitizers.def llvm-devel/include/clang/Basic/SourceLocation.h @@ -220,6 +225,7 @@ llvm-devel/include/clang/Basic/TypeTraits.h llvm-devel/include/clang/Basic/Version.h llvm-devel/include/clang/Basic/Version.inc llvm-devel/include/clang/Basic/VersionTuple.h +llvm-devel/include/clang/Basic/VirtualFileSystem.h llvm-devel/include/clang/Basic/Visibility.h llvm-devel/include/clang/Basic/arm_neon.inc llvm-devel/include/clang/CodeGen/BackendUtil.h @@ -231,11 +237,11 @@ llvm-devel/include/clang/Config/config.h llvm-devel/include/clang/Driver/Action.h llvm-devel/include/clang/Driver/CC1AsOptions.h llvm-devel/include/clang/Driver/CC1AsOptions.inc -llvm-devel/include/clang/Driver/CC1Options.h llvm-devel/include/clang/Driver/Compilation.h llvm-devel/include/clang/Driver/Driver.h llvm-devel/include/clang/Driver/DriverDiagnostic.h llvm-devel/include/clang/Driver/Job.h +llvm-devel/include/clang/Driver/Multilib.h llvm-devel/include/clang/Driver/Options.h llvm-devel/include/clang/Driver/Options.inc llvm-devel/include/clang/Driver/Phases.h @@ -281,6 +287,7 @@ llvm-devel/include/clang/Frontend/TextDiagnosticPrinter.h llvm-devel/include/clang/Frontend/Utils.h llvm-devel/include/clang/Frontend/VerifyDiagnosticConsumer.h llvm-devel/include/clang/FrontendTool/Utils.h +llvm-devel/include/clang/Index/CommentToXML.h llvm-devel/include/clang/Index/USRGeneration.h llvm-devel/include/clang/Lex/AttrSpellings.inc llvm-devel/include/clang/Lex/CodeCompletionHandler.h @@ -310,8 +317,7 @@ llvm-devel/include/clang/Lex/ScratchBuffer.h llvm-devel/include/clang/Lex/Token.h llvm-devel/include/clang/Lex/TokenConcatenation.h llvm-devel/include/clang/Lex/TokenLexer.h -llvm-devel/include/clang/Parse/AttrIdentifierArg.inc -llvm-devel/include/clang/Parse/AttrLateParsed.inc +llvm-devel/include/clang/Parse/AttrParserStringSwitches.inc llvm-devel/include/clang/Parse/ParseAST.h llvm-devel/include/clang/Parse/ParseDiagnostic.h llvm-devel/include/clang/Parse/Parser.h @@ -355,6 +361,7 @@ llvm-devel/include/clang/Sema/SemaConsumer.h llvm-devel/include/clang/Sema/SemaDiagnostic.h llvm-devel/include/clang/Sema/SemaFixItUtils.h llvm-devel/include/clang/Sema/SemaInternal.h +llvm-devel/include/clang/Sema/SemaLambda.h llvm-devel/include/clang/Sema/Template.h llvm-devel/include/clang/Sema/TemplateDeduction.h llvm-devel/include/clang/Sema/TypoCorrection.h @@ -413,6 +420,7 @@ llvm-devel/include/clang/StaticAnalyzer/Core/PathSensitive/SymbolManager.h llvm-devel/include/clang/StaticAnalyzer/Core/PathSensitive/TaintManager.h llvm-devel/include/clang/StaticAnalyzer/Core/PathSensitive/TaintTag.h llvm-devel/include/clang/StaticAnalyzer/Core/PathSensitive/WorkList.h +llvm-devel/include/clang/StaticAnalyzer/Frontend/AnalysisConsumer.h llvm-devel/include/clang/StaticAnalyzer/Frontend/CheckerRegistration.h llvm-devel/include/clang/StaticAnalyzer/Frontend/FrontendActions.h llvm-devel/include/clang/Tooling/ArgumentsAdjusters.h @@ -425,40 +433,41 @@ llvm-devel/include/clang/Tooling/Refactoring.h llvm-devel/include/clang/Tooling/RefactoringCallbacks.h llvm-devel/include/clang/Tooling/ReplacementsYaml.h llvm-devel/include/clang/Tooling/Tooling.h -llvm-devel/lib/clang/3.4/include/__wmmintrin_aes.h -llvm-devel/lib/clang/3.4/include/__wmmintrin_pclmul.h -llvm-devel/lib/clang/3.4/include/altivec.h -llvm-devel/lib/clang/3.4/include/ammintrin.h -llvm-devel/lib/clang/3.4/include/arm_neon.h -llvm-devel/lib/clang/3.4/include/avx2intrin.h -llvm-devel/lib/clang/3.4/include/avxintrin.h -llvm-devel/lib/clang/3.4/include/bmi2intrin.h -llvm-devel/lib/clang/3.4/include/bmiintrin.h -llvm-devel/lib/clang/3.4/include/cpuid.h -llvm-devel/lib/clang/3.4/include/emmintrin.h -llvm-devel/lib/clang/3.4/include/f16cintrin.h -llvm-devel/lib/clang/3.4/include/fma4intrin.h -llvm-devel/lib/clang/3.4/include/fmaintrin.h -llvm-devel/lib/clang/3.4/include/immintrin.h -llvm-devel/lib/clang/3.4/include/lzcntintrin.h -llvm-devel/lib/clang/3.4/include/mm3dnow.h -llvm-devel/lib/clang/3.4/include/mm_malloc.h -llvm-devel/lib/clang/3.4/include/mmintrin.h -llvm-devel/lib/clang/3.4/include/module.map -llvm-devel/lib/clang/3.4/include/nmmintrin.h -llvm-devel/lib/clang/3.4/include/pmmintrin.h -llvm-devel/lib/clang/3.4/include/popcntintrin.h -llvm-devel/lib/clang/3.4/include/prfchwintrin.h -llvm-devel/lib/clang/3.4/include/rdseedintrin.h -llvm-devel/lib/clang/3.4/include/rtmintrin.h -llvm-devel/lib/clang/3.4/include/shaintrin.h -llvm-devel/lib/clang/3.4/include/smmintrin.h -llvm-devel/lib/clang/3.4/include/tbmintrin.h -llvm-devel/lib/clang/3.4/include/tmmintrin.h -llvm-devel/lib/clang/3.4/include/wmmintrin.h -llvm-devel/lib/clang/3.4/include/x86intrin.h -llvm-devel/lib/clang/3.4/include/xmmintrin.h -llvm-devel/lib/clang/3.4/include/xopintrin.h +llvm-devel/lib/clang/3.5.0/include/__wmmintrin_aes.h +llvm-devel/lib/clang/3.5.0/include/__wmmintrin_pclmul.h +llvm-devel/lib/clang/3.5.0/include/altivec.h +llvm-devel/lib/clang/3.5.0/include/ammintrin.h +llvm-devel/lib/clang/3.5.0/include/arm_neon.h +llvm-devel/lib/clang/3.5.0/include/avx2intrin.h +llvm-devel/lib/clang/3.5.0/include/avxintrin.h +llvm-devel/lib/clang/3.5.0/include/bmi2intrin.h +llvm-devel/lib/clang/3.5.0/include/bmiintrin.h +llvm-devel/lib/clang/3.5.0/include/cpuid.h +llvm-devel/lib/clang/3.5.0/include/emmintrin.h +llvm-devel/lib/clang/3.5.0/include/f16cintrin.h +llvm-devel/lib/clang/3.5.0/include/fma4intrin.h +llvm-devel/lib/clang/3.5.0/include/fmaintrin.h +llvm-devel/lib/clang/3.5.0/include/ia32intrin.h +llvm-devel/lib/clang/3.5.0/include/immintrin.h +llvm-devel/lib/clang/3.5.0/include/lzcntintrin.h +llvm-devel/lib/clang/3.5.0/include/mm3dnow.h +llvm-devel/lib/clang/3.5.0/include/mm_malloc.h +llvm-devel/lib/clang/3.5.0/include/mmintrin.h +llvm-devel/lib/clang/3.5.0/include/module.map +llvm-devel/lib/clang/3.5.0/include/nmmintrin.h +llvm-devel/lib/clang/3.5.0/include/pmmintrin.h +llvm-devel/lib/clang/3.5.0/include/popcntintrin.h +llvm-devel/lib/clang/3.5.0/include/prfchwintrin.h +llvm-devel/lib/clang/3.5.0/include/rdseedintrin.h +llvm-devel/lib/clang/3.5.0/include/rtmintrin.h +llvm-devel/lib/clang/3.5.0/include/shaintrin.h +llvm-devel/lib/clang/3.5.0/include/smmintrin.h +llvm-devel/lib/clang/3.5.0/include/tbmintrin.h +llvm-devel/lib/clang/3.5.0/include/tmmintrin.h +llvm-devel/lib/clang/3.5.0/include/wmmintrin.h +llvm-devel/lib/clang/3.5.0/include/x86intrin.h +llvm-devel/lib/clang/3.5.0/include/xmmintrin.h +llvm-devel/lib/clang/3.5.0/include/xopintrin.h llvm-devel/lib/libclang.a llvm-devel/lib/libclang.so llvm-devel/lib/libclangARCMigrate.a @@ -488,8 +497,8 @@ man/man1/clang-devel.1.gz %%PORTDOCS%%%%DOCSDIR%%/html/clang/clang.html %%PORTDOCS%%%%DOCSDIR%%/html/clang/manpage.css %%PORTDOCS%%%%DOCSDIR%%/ps/clang.ps -@dirrm llvm-devel/lib/clang/3.4/include -@dirrm llvm-devel/lib/clang/3.4 +@dirrm llvm-devel/lib/clang/3.5.0/include +@dirrm llvm-devel/lib/clang/3.5.0 @dirrm llvm-devel/lib/clang @dirrm llvm-devel/include/clang/Tooling @dirrm llvm-devel/include/clang/StaticAnalyzer/Frontend |