diff options
author | brooks <brooks@FreeBSD.org> | 2010-04-29 05:05:03 +0800 |
---|---|---|
committer | brooks <brooks@FreeBSD.org> | 2010-04-29 05:05:03 +0800 |
commit | 1bca2449d6943be2937c8359213d0b393fe5e44a (patch) | |
tree | 787038623f13a4af80d10900c736645948a99285 | |
parent | 00f5a08639bb1a2ac619dceb98d06ba9d1ea8cb0 (diff) | |
download | freebsd-ports-gnome-1bca2449d6943be2937c8359213d0b393fe5e44a.tar.gz freebsd-ports-gnome-1bca2449d6943be2937c8359213d0b393fe5e44a.tar.zst freebsd-ports-gnome-1bca2449d6943be2937c8359213d0b393fe5e44a.zip |
Upgrade llvm, clang, and llvm-gcc to the 2.7 release.
Submitted by: mm (llvm and clang)
-rw-r--r-- | devel/clang/Makefile | 27 | ||||
-rw-r--r-- | devel/clang/distinfo | 12 | ||||
-rw-r--r-- | devel/clang/files/patch-Makefile | 10 | ||||
-rw-r--r-- | devel/clang/pkg-plist | 316 | ||||
-rw-r--r-- | devel/llvm/Makefile | 23 | ||||
-rw-r--r-- | devel/llvm/distinfo | 12 | ||||
-rw-r--r-- | devel/llvm/files/patch-Makefile | 17 | ||||
-rw-r--r-- | devel/llvm/pkg-plist | 111 | ||||
-rw-r--r-- | devel/llvm29/Makefile | 23 | ||||
-rw-r--r-- | devel/llvm29/distinfo | 12 | ||||
-rw-r--r-- | devel/llvm29/files/patch-Makefile | 17 | ||||
-rw-r--r-- | devel/llvm29/pkg-plist | 111 | ||||
-rw-r--r-- | lang/clang-devel/Makefile | 27 | ||||
-rw-r--r-- | lang/clang-devel/distinfo | 12 | ||||
-rw-r--r-- | lang/clang-devel/files/patch-Makefile | 10 | ||||
-rw-r--r-- | lang/clang-devel/pkg-plist | 316 | ||||
-rw-r--r-- | lang/clang/Makefile | 27 | ||||
-rw-r--r-- | lang/clang/distinfo | 12 | ||||
-rw-r--r-- | lang/clang/files/patch-Makefile | 10 | ||||
-rw-r--r-- | lang/clang/pkg-plist | 316 | ||||
-rw-r--r-- | lang/llvm-gcc4/Makefile | 5 | ||||
-rw-r--r-- | lang/llvm-gcc4/distinfo | 6 |
22 files changed, 1198 insertions, 234 deletions
diff --git a/devel/clang/Makefile b/devel/clang/Makefile index a07989493ba3..106825fff8b5 100644 --- a/devel/clang/Makefile +++ b/devel/clang/Makefile @@ -6,16 +6,16 @@ # PORTNAME= clang -PORTVERSION= 2.6 -PORTREVISION= 3 +PORTVERSION= 2.7 CATEGORIES= devel lang MASTER_SITES= http://llvm.org/releases/${PORTVERSION}/ DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \ ${LLVM_SOURCE} EXTRACT_ONLY= ${LLVM_SOURCE} +EXTRACT_SUFX= .tgz MAINTAINER= brooks@FreeBSD.org -COMMENT= C, Objective-C, and (soon) C++ compiler +COMMENT= C, Objective-C, and (alpha-quality) C++ compiler CONFLICTS= clang-devel-2.[0-9]* llvm-devel-2.[0-9]* @@ -75,17 +75,17 @@ post-patch: ${REINPLACE_CMD} -e 's|%%DOCSRCDIR%%|${DOCSRCDIR}|' \ ${WRKSRC}/Makefile ${REINPLACE_CMD} -e 's|/usr/bin/env perl|${PERL}|' \ - ${WRKSRC}/tools/clang/utils/ccc-analyzer \ - ${WRKSRC}/tools/clang/utils/scan-build + ${WRKSRC}/tools/clang/tools/scan-build/ccc-analyzer \ + ${WRKSRC}/tools/clang/tools/scan-build/scan-build post-install: - @${INSTALL_SCRIPT} ${WRKSRC}/tools/clang/utils/ccc-analyzer \ + @${INSTALL_SCRIPT} ${WRKSRC}/tools/clang/tools/scan-build/ccc-analyzer \ ${PREFIX}/bin - @${INSTALL_SCRIPT} ${WRKSRC}/tools/clang/utils/scan-build \ + @${INSTALL_SCRIPT} ${WRKSRC}/tools/clang/tools/scan-build/scan-build \ ${PREFIX}/bin @${MKDIR} ${DATADIR} - @${INSTALL_DATA} ${WRKSRC}/tools/clang/utils/scanview.css ${DATADIR} - @${INSTALL_DATA} ${WRKSRC}/tools/clang/utils/sorttable.js ${DATADIR} + @${INSTALL_DATA} ${WRKSRC}/tools/clang/tools/scan-build/scanview.css ${DATADIR} + @${INSTALL_DATA} ${WRKSRC}/tools/clang/tools/scan-build/sorttable.js ${DATADIR} TEST_CMD= '(cd ${WRKSRC}/test; ${SETENV} ${MAKE_ENV} ${GMAKE} check)' regression-test: ${BUILD_COOKIE} @@ -98,9 +98,14 @@ regression-test: ${BUILD_COOKIE} PLIST_FILE_LIST= bin/ccc-analyzer \ bin/clang \ + bin/clang++ \ bin/scan-build \ - libexec/clang-cc -PLIST_DIR_LIST= lib/clang + lib/libCIndex.* \ + lib/libclang* +PLIST_DIR_LIST= include/clang \ + include/clang-c \ + lib/clang + build-plist: ${RM} -f ${PLIST} cd ${PREFIX} && \ diff --git a/devel/clang/distinfo b/devel/clang/distinfo index 2ca85665166e..d48949c9279d 100644 --- a/devel/clang/distinfo +++ b/devel/clang/distinfo @@ -1,6 +1,6 @@ -MD5 (llvm-2.6.tar.gz) = 34a11e807add0f4555f691944e1a404a -SHA256 (llvm-2.6.tar.gz) = 4cd9257350c5ff8b9b139d19497e2396c0604eef0e5d6504f5c1463b09bf2d84 -SIZE (llvm-2.6.tar.gz) = 7790380 -MD5 (clang-2.6.tar.gz) = 09d696bf23bb4a3cf6af3c7341cdd946 -SHA256 (clang-2.6.tar.gz) = 98e22f4f5877fb3c73abb9ddcb3065ba9c94a21146387da7f905e6fd559d39ea -SIZE (clang-2.6.tar.gz) = 3857138 +MD5 (clang-2.7.tgz) = b83260aa8c13494adf8978b5f238bf1b +SHA256 (clang-2.7.tgz) = fb349471947f155c1cda1c8a4a3bbc7fa437b86f6875d9978f86c915dfed623a +SIZE (clang-2.7.tgz) = 4953739 +MD5 (llvm-2.7.tgz) = ac322661f20e7d6c810b1869f886ad9b +SHA256 (llvm-2.7.tgz) = 99664bdc8503a306038166af33f28eb426d99e297575a59d74a1a0dcbddbbca5 +SIZE (llvm-2.7.tgz) = 8374297 diff --git a/devel/clang/files/patch-Makefile b/devel/clang/files/patch-Makefile index 59fe73be2c8e..2c887b01275d 100644 --- a/devel/clang/files/patch-Makefile +++ b/devel/clang/files/patch-Makefile @@ -3,12 +3,12 @@ $FreeBSD$ --- Makefile.orig +++ Makefile -@@ -24,7 +24,7 @@ +@@ -31,7 +31,7 @@ OPTIONAL_DIRS := else - DIRS := lib/System lib/Support utils lib/VMCore lib tools/llvm-config \ -- tools runtime docs -+ tools runtime %%DOCSRCDIR%% - OPTIONAL_DIRS := examples projects bindings + DIRS := lib/System lib/Support utils lib/VMCore lib tools/llvm-shlib \ +- tools/llvm-config tools runtime docs unittests ++ tools/llvm-config tools runtime %%DOCSRCDIR%% unittests + OPTIONAL_DIRS := projects bindings endif diff --git a/devel/clang/pkg-plist b/devel/clang/pkg-plist index 20a7a0d350e2..993b51329aa5 100644 --- a/devel/clang/pkg-plist +++ b/devel/clang/pkg-plist @@ -1,13 +1,287 @@ bin/ccc-analyzer bin/clang +bin/clang++ bin/scan-build -lib/clang/1.0/include/emmintrin.h -lib/clang/1.0/include/mm_malloc.h -lib/clang/1.0/include/mmintrin.h -lib/clang/1.0/include/pmmintrin.h -lib/clang/1.0/include/tmmintrin.h -lib/clang/1.0/include/xmmintrin.h -libexec/clang-cc +include/clang-c/Index.h +include/clang/AST/APValue.h +include/clang/AST/AST.h +include/clang/AST/ASTConsumer.h +include/clang/AST/ASTContext.h +include/clang/AST/ASTDiagnostic.h +include/clang/AST/ASTImporter.h +include/clang/AST/Attr.h +include/clang/AST/CXXInheritance.h +include/clang/AST/CanonicalType.h +include/clang/AST/CharUnits.h +include/clang/AST/Decl.h +include/clang/AST/DeclBase.h +include/clang/AST/DeclCXX.h +include/clang/AST/DeclContextInternals.h +include/clang/AST/DeclGroup.h +include/clang/AST/DeclNodes.def +include/clang/AST/DeclObjC.h +include/clang/AST/DeclTemplate.h +include/clang/AST/DeclVisitor.h +include/clang/AST/DeclarationName.h +include/clang/AST/Expr.h +include/clang/AST/ExprCXX.h +include/clang/AST/ExprObjC.h +include/clang/AST/ExternalASTSource.h +include/clang/AST/FullExpr.h +include/clang/AST/NestedNameSpecifier.h +include/clang/AST/ParentMap.h +include/clang/AST/PrettyPrinter.h +include/clang/AST/RecordLayout.h +include/clang/AST/Redeclarable.h +include/clang/AST/Stmt.h +include/clang/AST/StmtCXX.h +include/clang/AST/StmtGraphTraits.h +include/clang/AST/StmtIterator.h +include/clang/AST/StmtNodes.def +include/clang/AST/StmtObjC.h +include/clang/AST/StmtVisitor.h +include/clang/AST/TemplateBase.h +include/clang/AST/TemplateName.h +include/clang/AST/Type.h +include/clang/AST/TypeLoc.h +include/clang/AST/TypeLocBuilder.h +include/clang/AST/TypeLocNodes.def +include/clang/AST/TypeLocVisitor.h +include/clang/AST/TypeNodes.def +include/clang/AST/TypeOrdering.h +include/clang/AST/TypeVisitor.h +include/clang/AST/UnresolvedSet.h +include/clang/Analysis/Analyses/LiveVariables.h +include/clang/Analysis/Analyses/PrintfFormatString.h +include/clang/Analysis/Analyses/ReachableCode.h +include/clang/Analysis/Analyses/UninitializedValues.h +include/clang/Analysis/AnalysisContext.h +include/clang/Analysis/AnalysisDiagnostic.h +include/clang/Analysis/CFG.h +include/clang/Analysis/FlowSensitive/DataflowSolver.h +include/clang/Analysis/FlowSensitive/DataflowValues.h +include/clang/Analysis/ProgramPoint.h +include/clang/Analysis/Support/BlkExprDeclBitVector.h +include/clang/Analysis/Support/BumpVector.h +include/clang/Analysis/Support/Optional.h +include/clang/Analysis/Support/SaveAndRestore.h +include/clang/Analysis/Visitors/CFGRecStmtDeclVisitor.h +include/clang/Analysis/Visitors/CFGRecStmtVisitor.h +include/clang/Analysis/Visitors/CFGStmtVisitor.h +include/clang/Basic/Builtins.def +include/clang/Basic/Builtins.h +include/clang/Basic/BuiltinsARM.def +include/clang/Basic/BuiltinsPPC.def +include/clang/Basic/BuiltinsX86.def +include/clang/Basic/ConvertUTF.h +include/clang/Basic/Diagnostic.h +include/clang/Basic/DiagnosticASTKinds.inc +include/clang/Basic/DiagnosticAnalysisKinds.inc +include/clang/Basic/DiagnosticCommonKinds.inc +include/clang/Basic/DiagnosticDriverKinds.inc +include/clang/Basic/DiagnosticFrontendKinds.inc +include/clang/Basic/DiagnosticGroups.inc +include/clang/Basic/DiagnosticLexKinds.inc +include/clang/Basic/DiagnosticParseKinds.inc +include/clang/Basic/DiagnosticSemaKinds.inc +include/clang/Basic/FileManager.h +include/clang/Basic/IdentifierTable.h +include/clang/Basic/LangOptions.h +include/clang/Basic/Linkage.h +include/clang/Basic/MacroBuilder.h +include/clang/Basic/OnDiskHashTable.h +include/clang/Basic/OperatorKinds.def +include/clang/Basic/OperatorKinds.h +include/clang/Basic/PartialDiagnostic.h +include/clang/Basic/PrettyStackTrace.h +include/clang/Basic/Release/DiagnosticASTKinds.inc.tmp +include/clang/Basic/Release/DiagnosticAnalysisKinds.inc.tmp +include/clang/Basic/Release/DiagnosticCommonKinds.inc.tmp +include/clang/Basic/Release/DiagnosticDriverKinds.inc.tmp +include/clang/Basic/Release/DiagnosticFrontendKinds.inc.tmp +include/clang/Basic/Release/DiagnosticGroups.inc.tmp +include/clang/Basic/Release/DiagnosticLexKinds.inc.tmp +include/clang/Basic/Release/DiagnosticParseKinds.inc.tmp +include/clang/Basic/Release/DiagnosticSemaKinds.inc.tmp +include/clang/Basic/SourceLocation.h +include/clang/Basic/SourceManager.h +include/clang/Basic/SourceManagerInternals.h +include/clang/Basic/Specifiers.h +include/clang/Basic/TargetBuiltins.h +include/clang/Basic/TargetInfo.h +include/clang/Basic/TargetOptions.h +include/clang/Basic/TemplateKinds.h +include/clang/Basic/TokenKinds.def +include/clang/Basic/TokenKinds.h +include/clang/Basic/TypeTraits.h +include/clang/Basic/Version.h +include/clang/Checker/BugReporter/BugReporter.h +include/clang/Checker/BugReporter/BugType.h +include/clang/Checker/BugReporter/PathDiagnostic.h +include/clang/Checker/Checkers/DereferenceChecker.h +include/clang/Checker/Checkers/LocalCheckers.h +include/clang/Checker/DomainSpecific/CocoaConventions.h +include/clang/Checker/ManagerRegistry.h +include/clang/Checker/PathSensitive/AnalysisManager.h +include/clang/Checker/PathSensitive/BasicValueFactory.h +include/clang/Checker/PathSensitive/Checker.h +include/clang/Checker/PathSensitive/CheckerVisitor.def +include/clang/Checker/PathSensitive/CheckerVisitor.h +include/clang/Checker/PathSensitive/ConstraintManager.h +include/clang/Checker/PathSensitive/Environment.h +include/clang/Checker/PathSensitive/ExplodedGraph.h +include/clang/Checker/PathSensitive/GRAuditor.h +include/clang/Checker/PathSensitive/GRBlockCounter.h +include/clang/Checker/PathSensitive/GRCoreEngine.h +include/clang/Checker/PathSensitive/GRExprEngine.h +include/clang/Checker/PathSensitive/GRExprEngineBuilders.h +include/clang/Checker/PathSensitive/GRSimpleAPICheck.h +include/clang/Checker/PathSensitive/GRState.h +include/clang/Checker/PathSensitive/GRStateTrait.h +include/clang/Checker/PathSensitive/GRSubEngine.h +include/clang/Checker/PathSensitive/GRTransferFuncs.h +include/clang/Checker/PathSensitive/GRWorkList.h +include/clang/Checker/PathSensitive/MemRegion.h +include/clang/Checker/PathSensitive/SVals.h +include/clang/Checker/PathSensitive/SValuator.h +include/clang/Checker/PathSensitive/Store.h +include/clang/Checker/PathSensitive/SummaryManager.h +include/clang/Checker/PathSensitive/SymbolManager.h +include/clang/Checker/PathSensitive/ValueManager.h +include/clang/CodeGen/CodeGenOptions.h +include/clang/CodeGen/ModuleBuilder.h +include/clang/Driver/Action.h +include/clang/Driver/Arg.h +include/clang/Driver/ArgList.h +include/clang/Driver/CC1Options.h +include/clang/Driver/CC1Options.inc +include/clang/Driver/Compilation.h +include/clang/Driver/Driver.h +include/clang/Driver/DriverDiagnostic.h +include/clang/Driver/HostInfo.h +include/clang/Driver/Job.h +include/clang/Driver/OptSpecifier.h +include/clang/Driver/OptTable.h +include/clang/Driver/Option.h +include/clang/Driver/Options.h +include/clang/Driver/Options.inc +include/clang/Driver/Phases.h +include/clang/Driver/Release/CC1Options.inc.tmp +include/clang/Driver/Release/Options.inc.tmp +include/clang/Driver/Tool.h +include/clang/Driver/ToolChain.h +include/clang/Driver/Types.def +include/clang/Driver/Types.h +include/clang/Driver/Util.h +include/clang/Frontend/ASTConsumers.h +include/clang/Frontend/ASTUnit.h +include/clang/Frontend/Analyses.def +include/clang/Frontend/AnalysisConsumer.h +include/clang/Frontend/ChainedDiagnosticClient.h +include/clang/Frontend/CodeGenAction.h +include/clang/Frontend/CommandLineSourceLoc.h +include/clang/Frontend/CompilerInstance.h +include/clang/Frontend/CompilerInvocation.h +include/clang/Frontend/DeclContextXML.def +include/clang/Frontend/DeclXML.def +include/clang/Frontend/DependencyOutputOptions.h +include/clang/Frontend/DiagnosticOptions.h +include/clang/Frontend/DocumentXML.def +include/clang/Frontend/DocumentXML.h +include/clang/Frontend/FixItRewriter.h +include/clang/Frontend/FrontendAction.h +include/clang/Frontend/FrontendActions.h +include/clang/Frontend/FrontendDiagnostic.h +include/clang/Frontend/FrontendOptions.h +include/clang/Frontend/FrontendPluginRegistry.h +include/clang/Frontend/HeaderSearchOptions.h +include/clang/Frontend/LangStandard.h +include/clang/Frontend/LangStandards.def +include/clang/Frontend/PCHBitCodes.h +include/clang/Frontend/PCHReader.h +include/clang/Frontend/PCHWriter.h +include/clang/Frontend/PathDiagnosticClients.h +include/clang/Frontend/PreprocessorOptions.h +include/clang/Frontend/PreprocessorOutputOptions.h +include/clang/Frontend/StmtXML.def +include/clang/Frontend/TextDiagnosticBuffer.h +include/clang/Frontend/TextDiagnosticPrinter.h +include/clang/Frontend/TypeXML.def +include/clang/Frontend/Utils.h +include/clang/Frontend/VerifyDiagnosticsClient.h +include/clang/Index/ASTLocation.h +include/clang/Index/Analyzer.h +include/clang/Index/CallGraph.h +include/clang/Index/DeclReferenceMap.h +include/clang/Index/Entity.h +include/clang/Index/GlobalSelector.h +include/clang/Index/Handlers.h +include/clang/Index/IndexProvider.h +include/clang/Index/Indexer.h +include/clang/Index/Program.h +include/clang/Index/STLExtras.h +include/clang/Index/SelectorMap.h +include/clang/Index/TranslationUnit.h +include/clang/Index/Utils.h +include/clang/Lex/DirectoryLookup.h +include/clang/Lex/ExternalPreprocessorSource.h +include/clang/Lex/HeaderMap.h +include/clang/Lex/HeaderSearch.h +include/clang/Lex/LexDiagnostic.h +include/clang/Lex/Lexer.h +include/clang/Lex/LiteralSupport.h +include/clang/Lex/MacroInfo.h +include/clang/Lex/MultipleIncludeOpt.h +include/clang/Lex/PPCallbacks.h +include/clang/Lex/PTHLexer.h +include/clang/Lex/PTHManager.h +include/clang/Lex/Pragma.h +include/clang/Lex/Preprocessor.h +include/clang/Lex/PreprocessorLexer.h +include/clang/Lex/ScratchBuffer.h +include/clang/Lex/Token.h +include/clang/Lex/TokenConcatenation.h +include/clang/Lex/TokenLexer.h +include/clang/Parse/Action.h +include/clang/Parse/AttributeList.h +include/clang/Parse/DeclSpec.h +include/clang/Parse/Designator.h +include/clang/Parse/Ownership.h +include/clang/Parse/ParseDiagnostic.h +include/clang/Parse/Parser.h +include/clang/Parse/Scope.h +include/clang/Parse/Template.h +include/clang/Rewrite/DeltaTree.h +include/clang/Rewrite/HTMLRewrite.h +include/clang/Rewrite/RewriteRope.h +include/clang/Rewrite/Rewriter.h +include/clang/Rewrite/TokenRewriter.h +include/clang/Sema/CodeCompleteConsumer.h +include/clang/Sema/ExternalSemaSource.h +include/clang/Sema/ParseAST.h +include/clang/Sema/SemaConsumer.h +include/clang/Sema/SemaDiagnostic.h +lib/clang/1.1/include/emmintrin.h +lib/clang/1.1/include/mm_malloc.h +lib/clang/1.1/include/mmintrin.h +lib/clang/1.1/include/pmmintrin.h +lib/clang/1.1/include/smmintrin.h +lib/clang/1.1/include/tmmintrin.h +lib/clang/1.1/include/xmmintrin.h +lib/libCIndex.a +lib/libCIndex.so +lib/libclangAST.a +lib/libclangAnalysis.a +lib/libclangBasic.a +lib/libclangChecker.a +lib/libclangCodeGen.a +lib/libclangDriver.a +lib/libclangFrontend.a +lib/libclangIndex.a +lib/libclangLex.a +lib/libclangParse.a +lib/libclangRewrite.a +lib/libclangSema.a %%DATADIR%%/scanview.css %%DATADIR%%/sorttable.js %%PORTDOCS%%%%DOCSDIR%%/html.tar.gz @@ -24,9 +298,33 @@ libexec/clang-cc %%PORTDOCS%%%%DOCSDIR%%/html/index.html %%PORTDOCS%%%%DOCSDIR%%/html/libIndex.html %%PORTDOCS%%%%DOCSDIR%%/ps/clang.ps -@dirrm lib/clang/1.0/include -@dirrm lib/clang/1.0 +@dirrm lib/clang/1.1/include +@dirrm lib/clang/1.1 @dirrm lib/clang +@dirrm include/clang/Sema +@dirrm include/clang/Rewrite +@dirrm include/clang/Parse +@dirrm include/clang/Lex +@dirrm include/clang/Index +@dirrm include/clang/Frontend +@dirrm include/clang/Driver/Release +@dirrm include/clang/Driver +@dirrm include/clang/CodeGen +@dirrm include/clang/Checker/PathSensitive +@dirrm include/clang/Checker/DomainSpecific +@dirrm include/clang/Checker/Checkers +@dirrm include/clang/Checker/BugReporter +@dirrm include/clang/Checker +@dirrm include/clang/Basic/Release +@dirrm include/clang/Basic +@dirrm include/clang/Analysis/Visitors +@dirrm include/clang/Analysis/Support +@dirrm include/clang/Analysis/FlowSensitive +@dirrm include/clang/Analysis/Analyses +@dirrm include/clang/Analysis +@dirrm include/clang/AST +@dirrm include/clang-c +@dirrm include/clang %%PORTDOCS%%@dirrm %%DOCSDIR%%/ps %%PORTDOCS%%@dirrm %%DOCSDIR%%/html/img %%PORTDOCS%%@dirrm %%DOCSDIR%%/html/clang diff --git a/devel/llvm/Makefile b/devel/llvm/Makefile index 3e8b6cf88648..022404fc31b8 100644 --- a/devel/llvm/Makefile +++ b/devel/llvm/Makefile @@ -6,10 +6,10 @@ # PORTNAME= llvm -PORTVERSION= 2.6 -PORTREVISION= 2 +PORTVERSION= 2.7 CATEGORIES= devel lang MASTER_SITES= http://llvm.org/releases/${PORTVERSION}/ +EXTRACT_SUFX= .tgz MAINTAINER= brooks@FreeBSD.org COMMENT= Low Level Virtual Machine @@ -47,8 +47,8 @@ DOCSRCDIR= docs .endif .if !defined(NOPORTDOCS) -MAN1= bugpoint.1 llc.1 lli.1 llvm-ar.1 \ - llvm-as.1 llvm-bcanalyzer.1 llvm-config.1 llvm-db.1 \ +MAN1= bugpoint.1 lit.1 llc.1 lli.1 llvm-ar.1 \ + llvm-as.1 llvm-bcanalyzer.1 llvm-config.1 \ llvm-dis.1 llvm-extract.1 llvm-ld.1 llvm-link.1 llvm-nm.1 \ llvm-prof.1 llvm-ranlib.1 llvmc.1 llvmgcc.1 \ llvmgxx.1 opt.1 tblgen.1 @@ -56,14 +56,20 @@ MAN1= bugpoint.1 llc.1 lli.1 llvm-ar.1 \ .include <bsd.port.pre.mk> -.if ${ARCH} == "sparc64" || ${ARCH} =="ia64" -BROKEN= Does not compile on ${ARCH} +.if ${OSVERSION} < 700000 && ${ARCH} == "amd64" +BROKEN= does not compile +.elif ${ARCH} == "sparc64" +BROKEN= does not compile on sparc64 .endif .if ${ARCH} == "amd64" || ${ARCH} == "ia64" CONFIGURE_ARGS+= --enable-pic --with-pic .endif +.if ${ARCH} == "i386" +CONFIGURE_ARGS+= --with-optimize-option=-O2 +.endif + .ifdef(WITH_NO_ASSERTS) CONFIGURE_ARGS+= --disable-assertions .else @@ -88,16 +94,17 @@ regression-test: ${BUILD_COOKIE} fi PLIST_FILE_LIST= bin/bugpoint \ - bin/gccas \ - bin/gccld \ bin/llc \ bin/lli \ bin/llvm* \ bin/opt \ bin/tblgen \ lib/libCompilerDriver.a \ + lib/libEnhancedDisassembly.so \ + lib/libEnhancedDisassembly.a \ lib/libLTO.* \ lib/libLLVM* \ + lib/libUnitTestMain.a \ lib/libplugin_llvmc* \ lib/libprofile_rt.so PLIST_DIR_LIST= include/llvm-c \ diff --git a/devel/llvm/distinfo b/devel/llvm/distinfo index 2ca85665166e..2ed450d69cff 100644 --- a/devel/llvm/distinfo +++ b/devel/llvm/distinfo @@ -1,6 +1,6 @@ -MD5 (llvm-2.6.tar.gz) = 34a11e807add0f4555f691944e1a404a -SHA256 (llvm-2.6.tar.gz) = 4cd9257350c5ff8b9b139d19497e2396c0604eef0e5d6504f5c1463b09bf2d84 -SIZE (llvm-2.6.tar.gz) = 7790380 -MD5 (clang-2.6.tar.gz) = 09d696bf23bb4a3cf6af3c7341cdd946 -SHA256 (clang-2.6.tar.gz) = 98e22f4f5877fb3c73abb9ddcb3065ba9c94a21146387da7f905e6fd559d39ea -SIZE (clang-2.6.tar.gz) = 3857138 +MD5 (llvm-2.7.tgz) = ac322661f20e7d6c810b1869f886ad9b +SHA256 (llvm-2.7.tgz) = 99664bdc8503a306038166af33f28eb426d99e297575a59d74a1a0dcbddbbca5 +SIZE (llvm-2.7.tgz) = 8374297 +MD5 (clang-2.7.tgz) = b83260aa8c13494adf8978b5f238bf1b +SHA256 (clang-2.7.tgz) = fb349471947f155c1cda1c8a4a3bbc7fa437b86f6875d9978f86c915dfed623a +SIZE (clang-2.7.tgz) = 4953739 diff --git a/devel/llvm/files/patch-Makefile b/devel/llvm/files/patch-Makefile index 59fe73be2c8e..cb94b0f8e06a 100644 --- a/devel/llvm/files/patch-Makefile +++ b/devel/llvm/files/patch-Makefile @@ -1,14 +1,11 @@ - -$FreeBSD$ - ---- Makefile.orig -+++ Makefile -@@ -24,7 +24,7 @@ +--- Makefile.orig 2010-02-25 07:34:33.000000000 +0100 ++++ Makefile 2010-04-27 11:16:37.007130964 +0200 +@@ -31,7 +31,7 @@ OPTIONAL_DIRS := else - DIRS := lib/System lib/Support utils lib/VMCore lib tools/llvm-config \ -- tools runtime docs -+ tools runtime %%DOCSRCDIR%% - OPTIONAL_DIRS := examples projects bindings + DIRS := lib/System lib/Support utils lib/VMCore lib tools/llvm-shlib \ +- tools/llvm-config tools runtime docs unittests ++ tools/llvm-config tools runtime %%DOCSRCDIR%% unittests + OPTIONAL_DIRS := projects bindings endif diff --git a/devel/llvm/pkg-plist b/devel/llvm/pkg-plist index 42334cc7b087..f65c8f1a8cd4 100644 --- a/devel/llvm/pkg-plist +++ b/devel/llvm/pkg-plist @@ -1,13 +1,10 @@ bin/bugpoint -bin/gccas -bin/gccld bin/llc bin/lli bin/llvm-ar bin/llvm-as bin/llvm-bcanalyzer bin/llvm-config -bin/llvm-db bin/llvm-dis bin/llvm-extract bin/llvm-ld @@ -23,6 +20,7 @@ include/llvm-c/Analysis.h include/llvm-c/BitReader.h include/llvm-c/BitWriter.h include/llvm-c/Core.h +include/llvm-c/EnhancedDisassembly.h include/llvm-c/ExecutionEngine.h include/llvm-c/LinkTimeOptimizer.h include/llvm-c/Target.h @@ -33,6 +31,7 @@ include/llvm/ADT/APFloat.h include/llvm/ADT/APInt.h include/llvm/ADT/APSInt.h include/llvm/ADT/BitVector.h +include/llvm/ADT/DeltaAlgorithm.h include/llvm/ADT/DenseMap.h include/llvm/ADT/DenseMapInfo.h include/llvm/ADT/DenseSet.h @@ -40,7 +39,7 @@ include/llvm/ADT/DepthFirstIterator.h include/llvm/ADT/EquivalenceClasses.h include/llvm/ADT/FoldingSet.h include/llvm/ADT/GraphTraits.h -include/llvm/ADT/HashExtras.h +include/llvm/ADT/ImmutableIntervalMap.h include/llvm/ADT/ImmutableList.h include/llvm/ADT/ImmutableMap.h include/llvm/ADT/ImmutableSet.h @@ -56,6 +55,7 @@ include/llvm/ADT/STLExtras.h include/llvm/ADT/ScopedHashTable.h include/llvm/ADT/SetOperations.h include/llvm/ADT/SetVector.h +include/llvm/ADT/SmallBitVector.h include/llvm/ADT/SmallPtrSet.h include/llvm/ADT/SmallSet.h include/llvm/ADT/SmallString.h @@ -66,15 +66,15 @@ include/llvm/ADT/StringExtras.h include/llvm/ADT/StringMap.h include/llvm/ADT/StringRef.h include/llvm/ADT/StringSet.h +include/llvm/ADT/StringSwitch.h include/llvm/ADT/Trie.h include/llvm/ADT/Triple.h include/llvm/ADT/Twine.h include/llvm/ADT/UniqueVector.h +include/llvm/ADT/ValueMap.h include/llvm/ADT/VectorExtras.h include/llvm/ADT/ilist.h include/llvm/ADT/ilist_node.h -include/llvm/ADT/iterator.cmake -include/llvm/ADT/iterator.h include/llvm/AbstractTypeUser.h include/llvm/Analysis/AliasAnalysis.h include/llvm/Analysis/AliasSetTracker.h @@ -83,22 +83,28 @@ include/llvm/Analysis/CallGraph.h include/llvm/Analysis/CaptureTracking.h include/llvm/Analysis/ConstantFolding.h include/llvm/Analysis/ConstantsScanner.h +include/llvm/Analysis/DOTGraphTraitsPass.h include/llvm/Analysis/DebugInfo.h +include/llvm/Analysis/DomPrinter.h include/llvm/Analysis/DominatorInternals.h include/llvm/Analysis/Dominators.h include/llvm/Analysis/FindUsedTypes.h include/llvm/Analysis/IVUsers.h +include/llvm/Analysis/InlineCost.h +include/llvm/Analysis/InstructionSimplify.h include/llvm/Analysis/Interval.h include/llvm/Analysis/IntervalIterator.h include/llvm/Analysis/IntervalPartition.h +include/llvm/Analysis/LazyValueInfo.h include/llvm/Analysis/LibCallAliasAnalysis.h include/llvm/Analysis/LibCallSemantics.h include/llvm/Analysis/LiveValues.h include/llvm/Analysis/LoopDependenceAnalysis.h include/llvm/Analysis/LoopInfo.h include/llvm/Analysis/LoopPass.h -include/llvm/Analysis/LoopVR.h +include/llvm/Analysis/MemoryBuiltins.h include/llvm/Analysis/MemoryDependenceAnalysis.h +include/llvm/Analysis/PHITransAddr.h include/llvm/Analysis/Passes.h include/llvm/Analysis/PointerTracking.h include/llvm/Analysis/PostDominators.h @@ -124,25 +130,18 @@ include/llvm/Bitcode/Archive.h include/llvm/Bitcode/BitCodes.h include/llvm/Bitcode/BitstreamReader.h include/llvm/Bitcode/BitstreamWriter.h -include/llvm/Bitcode/Deserialize.h include/llvm/Bitcode/LLVMBitCodes.h include/llvm/Bitcode/ReaderWriter.h -include/llvm/Bitcode/Serialization.h -include/llvm/Bitcode/SerializationFwd.h -include/llvm/Bitcode/Serialize.h include/llvm/CMakeLists.txt include/llvm/CallGraphSCCPass.h include/llvm/CallingConv.h include/llvm/CodeGen/AsmPrinter.h include/llvm/CodeGen/BinaryObject.h -include/llvm/CodeGen/BreakCriticalMachineEdge.h +include/llvm/CodeGen/CalcSpillWeights.h include/llvm/CodeGen/CallingConvLower.h -include/llvm/CodeGen/DAGISelHeader.h -include/llvm/CodeGen/Dump.h include/llvm/CodeGen/DwarfWriter.h include/llvm/CodeGen/ELFRelocation.h include/llvm/CodeGen/FastISel.h -include/llvm/CodeGen/FileWriters.h include/llvm/CodeGen/GCMetadata.h include/llvm/CodeGen/GCMetadataPrinter.h include/llvm/CodeGen/GCStrategy.h @@ -150,7 +149,6 @@ include/llvm/CodeGen/GCs.h include/llvm/CodeGen/IntrinsicLowering.h include/llvm/CodeGen/JITCodeEmitter.h include/llvm/CodeGen/LatencyPriorityQueue.h -include/llvm/CodeGen/LazyLiveness.h include/llvm/CodeGen/LinkAllAsmWriterComponents.h include/llvm/CodeGen/LinkAllCodegenComponents.h include/llvm/CodeGen/LiveInterval.h @@ -174,12 +172,15 @@ include/llvm/CodeGen/MachineLocation.h include/llvm/CodeGen/MachineLoopInfo.h include/llvm/CodeGen/MachineMemOperand.h include/llvm/CodeGen/MachineModuleInfo.h +include/llvm/CodeGen/MachineModuleInfoImpls.h include/llvm/CodeGen/MachineOperand.h include/llvm/CodeGen/MachinePassRegistry.h include/llvm/CodeGen/MachineRegisterInfo.h include/llvm/CodeGen/MachineRelocation.h +include/llvm/CodeGen/MachineSSAUpdater.h include/llvm/CodeGen/ObjectCodeEmitter.h include/llvm/CodeGen/Passes.h +include/llvm/CodeGen/ProcessImplicitDefs.h include/llvm/CodeGen/PseudoSourceValue.h include/llvm/CodeGen/RegAllocRegistry.h include/llvm/CodeGen/RegisterCoalescer.h @@ -191,6 +192,8 @@ include/llvm/CodeGen/SchedulerRegistry.h include/llvm/CodeGen/SelectionDAG.h include/llvm/CodeGen/SelectionDAGISel.h include/llvm/CodeGen/SelectionDAGNodes.h +include/llvm/CodeGen/SlotIndexes.h +include/llvm/CodeGen/TargetLoweringObjectFileImpl.h include/llvm/CodeGen/ValueTypes.h include/llvm/CodeGen/ValueTypes.td include/llvm/CompilerDriver/Action.h @@ -205,18 +208,12 @@ include/llvm/CompilerDriver/Plugin.h include/llvm/CompilerDriver/Tool.h include/llvm/Config/AsmParsers.def include/llvm/Config/AsmPrinters.def +include/llvm/Config/Disassemblers.def include/llvm/Config/Targets.def -include/llvm/Config/alloca.h include/llvm/Config/config.h include/llvm/Config/config.h.cmake include/llvm/Constant.h include/llvm/Constants.h -include/llvm/Debugger/Debugger.h -include/llvm/Debugger/InferiorProcess.h -include/llvm/Debugger/ProgramInfo.h -include/llvm/Debugger/RuntimeInfo.h -include/llvm/Debugger/SourceFile.h -include/llvm/Debugger/SourceLanguage.h include/llvm/DerivedTypes.h include/llvm/ExecutionEngine/ExecutionEngine.h include/llvm/ExecutionEngine/GenericValue.h @@ -225,6 +222,7 @@ include/llvm/ExecutionEngine/JIT.h include/llvm/ExecutionEngine/JITEventListener.h include/llvm/ExecutionEngine/JITMemoryManager.h include/llvm/Function.h +include/llvm/GVMaterializer.h include/llvm/GlobalAlias.h include/llvm/GlobalValue.h include/llvm/GlobalVariable.h @@ -239,7 +237,6 @@ include/llvm/Intrinsics.h include/llvm/Intrinsics.td include/llvm/IntrinsicsARM.td include/llvm/IntrinsicsAlpha.td -include/llvm/IntrinsicsBlackfin.td include/llvm/IntrinsicsCellSPU.td include/llvm/IntrinsicsPowerPC.td include/llvm/IntrinsicsX86.td @@ -248,11 +245,24 @@ include/llvm/LLVMContext.h include/llvm/LinkAllPasses.h include/llvm/LinkAllVMCore.h include/llvm/Linker.h -include/llvm/MC/MCAsmLexer.h -include/llvm/MC/MCAsmParser.h +include/llvm/MC/MCAsmInfo.h +include/llvm/MC/MCAsmInfoCOFF.h +include/llvm/MC/MCAsmInfoDarwin.h include/llvm/MC/MCAssembler.h +include/llvm/MC/MCCodeEmitter.h include/llvm/MC/MCContext.h +include/llvm/MC/MCDirectives.h +include/llvm/MC/MCDisassembler.h +include/llvm/MC/MCExpr.h +include/llvm/MC/MCFixup.h include/llvm/MC/MCInst.h +include/llvm/MC/MCInstPrinter.h +include/llvm/MC/MCParser/AsmCond.h +include/llvm/MC/MCParser/AsmLexer.h +include/llvm/MC/MCParser/AsmParser.h +include/llvm/MC/MCParser/MCAsmLexer.h +include/llvm/MC/MCParser/MCAsmParser.h +include/llvm/MC/MCParser/MCParsedAsmOperand.h include/llvm/MC/MCSection.h include/llvm/MC/MCSectionELF.h include/llvm/MC/MCSectionMachO.h @@ -262,7 +272,6 @@ include/llvm/MC/MCValue.h include/llvm/MC/SectionKind.h include/llvm/Metadata.h include/llvm/Module.h -include/llvm/ModuleProvider.h include/llvm/OperandTraits.h include/llvm/Operator.h include/llvm/Pass.h @@ -270,7 +279,6 @@ include/llvm/PassAnalysisSupport.h include/llvm/PassManager.h include/llvm/PassManagers.h include/llvm/PassSupport.h -include/llvm/Support/AIXDataTypesFix.h include/llvm/Support/AlignOf.h include/llvm/Support/Allocator.h include/llvm/Support/CFG.h @@ -282,8 +290,6 @@ include/llvm/Support/ConstantFolder.h include/llvm/Support/ConstantRange.h include/llvm/Support/DOTGraphTraits.h include/llvm/Support/DataFlow.h -include/llvm/Support/DataTypes.h -include/llvm/Support/DataTypes.h.cmake include/llvm/Support/Debug.h include/llvm/Support/DebugLoc.h include/llvm/Support/Dwarf.h @@ -296,11 +302,12 @@ include/llvm/Support/FormattedStream.h include/llvm/Support/GetElementPtrTypeIterator.h include/llvm/Support/GraphWriter.h include/llvm/Support/IRBuilder.h +include/llvm/Support/IRReader.h include/llvm/Support/InstIterator.h include/llvm/Support/InstVisitor.h include/llvm/Support/LeakDetector.h +include/llvm/Support/MachO.h include/llvm/Support/ManagedStatic.h -include/llvm/Support/Mangler.h include/llvm/Support/MathExtras.h include/llvm/Support/MemoryBuffer.h include/llvm/Support/MemoryObject.h @@ -315,24 +322,30 @@ include/llvm/Support/PredIteratorCache.h include/llvm/Support/PrettyStackTrace.h include/llvm/Support/Recycler.h include/llvm/Support/RecyclingAllocator.h +include/llvm/Support/Regex.h include/llvm/Support/Registry.h include/llvm/Support/RegistryParser.h +include/llvm/Support/SMLoc.h include/llvm/Support/SlowOperationInformer.h include/llvm/Support/SourceMgr.h include/llvm/Support/StableBasicBlockNumbering.h include/llvm/Support/StandardPasses.h -include/llvm/Support/Streams.h include/llvm/Support/StringPool.h include/llvm/Support/SystemUtils.h include/llvm/Support/TargetFolder.h include/llvm/Support/Timer.h include/llvm/Support/TypeBuilder.h include/llvm/Support/ValueHandle.h +include/llvm/Support/circular_raw_ostream.h +include/llvm/Support/raw_os_ostream.h include/llvm/Support/raw_ostream.h include/llvm/Support/type_traits.h include/llvm/SymbolTableListTraits.h +include/llvm/System/AIXDataTypesFix.h include/llvm/System/Alarm.h include/llvm/System/Atomic.h +include/llvm/System/DataTypes.h +include/llvm/System/DataTypes.h.cmake include/llvm/System/Disassembler.h include/llvm/System/DynamicLibrary.h include/llvm/System/Errno.h @@ -350,11 +363,11 @@ include/llvm/System/Solaris.h include/llvm/System/ThreadLocal.h include/llvm/System/Threading.h include/llvm/System/TimeValue.h -include/llvm/Target/COFFTargetAsmInfo.h -include/llvm/Target/DarwinTargetAsmInfo.h +include/llvm/Target/Mangler.h include/llvm/Target/SubtargetFeature.h include/llvm/Target/Target.td -include/llvm/Target/TargetAsmInfo.h +include/llvm/Target/TargetAsmBackend.h +include/llvm/Target/TargetAsmLexer.h include/llvm/Target/TargetAsmParser.h include/llvm/Target/TargetCallingConv.td include/llvm/Target/TargetData.h @@ -367,8 +380,8 @@ include/llvm/Target/TargetIntrinsicInfo.h include/llvm/Target/TargetJITInfo.h include/llvm/Target/TargetLowering.h include/llvm/Target/TargetLoweringObjectFile.h -include/llvm/Target/TargetMachOWriterInfo.h include/llvm/Target/TargetMachine.h +include/llvm/Target/TargetOpcodes.h include/llvm/Target/TargetOptions.h include/llvm/Target/TargetRegisterInfo.h include/llvm/Target/TargetRegistry.h @@ -384,11 +397,12 @@ include/llvm/Transforms/Scalar.h include/llvm/Transforms/Utils/AddrModeMatcher.h include/llvm/Transforms/Utils/BasicBlockUtils.h include/llvm/Transforms/Utils/BasicInliner.h +include/llvm/Transforms/Utils/BuildLibCalls.h include/llvm/Transforms/Utils/Cloning.h include/llvm/Transforms/Utils/FunctionUtils.h -include/llvm/Transforms/Utils/InlineCost.h include/llvm/Transforms/Utils/Local.h include/llvm/Transforms/Utils/PromoteMemToReg.h +include/llvm/Transforms/Utils/SSAUpdater.h include/llvm/Transforms/Utils/SSI.h include/llvm/Transforms/Utils/UnifyFunctionExitNodes.h include/llvm/Transforms/Utils/UnrollLoop.h @@ -400,6 +414,9 @@ include/llvm/User.h include/llvm/Value.h include/llvm/ValueSymbolTable.h lib/libCompilerDriver.a +lib/libEnhancedDisassembly.a +lib/libEnhancedDisassembly.so +lib/libLLVMARMAsmParser.a lib/libLLVMARMAsmPrinter.a lib/libLLVMARMCodeGen.a lib/libLLVMARMInfo.a @@ -424,14 +441,18 @@ lib/libLLVMCodeGen.a lib/libLLVMCore.a lib/libLLVMCppBackend.a lib/libLLVMCppBackendInfo.a -lib/libLLVMDebugger.a lib/libLLVMExecutionEngine.a lib/libLLVMHello.so +lib/libLLVMInstCombine.a lib/libLLVMInstrumentation.a lib/libLLVMInterpreter.a lib/libLLVMJIT.a lib/libLLVMLinker.a +lib/libLLVMMBlazeAsmPrinter.a +lib/libLLVMMBlazeCodeGen.a +lib/libLLVMMBlazeInfo.a lib/libLLVMMC.a +lib/libLLVMMCParser.a lib/libLLVMMSIL.a lib/libLLVMMSILInfo.a lib/libLLVMMSP430AsmPrinter.a @@ -461,14 +482,17 @@ lib/libLLVMTransformUtils.a lib/libLLVMX86AsmParser.a lib/libLLVMX86AsmPrinter.a lib/libLLVMX86CodeGen.a +lib/libLLVMX86Disassembler.a lib/libLLVMX86Info.a lib/libLLVMXCoreAsmPrinter.a lib/libLLVMXCoreCodeGen.a lib/libLLVMXCoreInfo.a lib/libLLVMipa.a lib/libLLVMipo.a +lib/libLLVMpic16passes.a lib/libLTO.a lib/libLTO.so +lib/libUnitTestMain.a lib/libplugin_llvmc_Base.a lib/libplugin_llvmc_Clang.a lib/libprofile_rt.so @@ -483,13 +507,13 @@ lib/libprofile_rt.so %%PORTDOCS%%%%DOCSDIR%%/html/CommandGuide/FileCheck.html %%PORTDOCS%%%%DOCSDIR%%/html/CommandGuide/bugpoint.html %%PORTDOCS%%%%DOCSDIR%%/html/CommandGuide/index.html +%%PORTDOCS%%%%DOCSDIR%%/html/CommandGuide/lit.html %%PORTDOCS%%%%DOCSDIR%%/html/CommandGuide/llc.html %%PORTDOCS%%%%DOCSDIR%%/html/CommandGuide/lli.html %%PORTDOCS%%%%DOCSDIR%%/html/CommandGuide/llvm-ar.html %%PORTDOCS%%%%DOCSDIR%%/html/CommandGuide/llvm-as.html %%PORTDOCS%%%%DOCSDIR%%/html/CommandGuide/llvm-bcanalyzer.html %%PORTDOCS%%%%DOCSDIR%%/html/CommandGuide/llvm-config.html -%%PORTDOCS%%%%DOCSDIR%%/html/CommandGuide/llvm-db.html %%PORTDOCS%%%%DOCSDIR%%/html/CommandGuide/llvm-dis.html %%PORTDOCS%%%%DOCSDIR%%/html/CommandGuide/llvm-extract.html %%PORTDOCS%%%%DOCSDIR%%/html/CommandGuide/llvm-ld.html @@ -507,6 +531,7 @@ lib/libprofile_rt.so %%PORTDOCS%%%%DOCSDIR%%/html/CompilerDriver.html %%PORTDOCS%%%%DOCSDIR%%/html/CompilerDriverTutorial.html %%PORTDOCS%%%%DOCSDIR%%/html/CompilerWriterInfo.html +%%PORTDOCS%%%%DOCSDIR%%/html/DebuggingJITedCode.html %%PORTDOCS%%%%DOCSDIR%%/html/DeveloperPolicy.html %%PORTDOCS%%%%DOCSDIR%%/html/ExceptionHandling.html %%PORTDOCS%%%%DOCSDIR%%/html/ExtendingLLVM.html @@ -523,10 +548,10 @@ lib/libprofile_rt.so %%PORTDOCS%%%%DOCSDIR%%/html/Lexicon.html %%PORTDOCS%%%%DOCSDIR%%/html/LinkTimeOptimization.html %%PORTDOCS%%%%DOCSDIR%%/html/MakefileGuide.html +%%PORTDOCS%%%%DOCSDIR%%/html/Packaging.html %%PORTDOCS%%%%DOCSDIR%%/html/Passes.html %%PORTDOCS%%%%DOCSDIR%%/html/ProgrammersManual.html %%PORTDOCS%%%%DOCSDIR%%/html/Projects.html -%%PORTDOCS%%%%DOCSDIR%%/html/ReleaseNotes-2.6.html %%PORTDOCS%%%%DOCSDIR%%/html/ReleaseNotes.html %%PORTDOCS%%%%DOCSDIR%%/html/SourceLevelDebugging.html %%PORTDOCS%%%%DOCSDIR%%/html/SystemLibrary.html @@ -543,8 +568,6 @@ lib/libprofile_rt.so %%PORTDOCS%%%%DOCSDIR%%/html/img/venusflytrap.jpg %%PORTDOCS%%%%DOCSDIR%%/html/index.html %%PORTDOCS%%%%DOCSDIR%%/html/llvm.css -%%PORTDOCS%%%%DOCSDIR%%/html/tutorial/JITTutorial1.html -%%PORTDOCS%%%%DOCSDIR%%/html/tutorial/JITTutorial2.html %%PORTDOCS%%%%DOCSDIR%%/html/tutorial/LangImpl1.html %%PORTDOCS%%%%DOCSDIR%%/html/tutorial/LangImpl2.html %%PORTDOCS%%%%DOCSDIR%%/html/tutorial/LangImpl3.html @@ -563,13 +586,13 @@ lib/libprofile_rt.so %%PORTDOCS%%%%DOCSDIR%%/html/tutorial/index.html %%PORTDOCS%%%%DOCSDIR%%/ps/FileCheck.ps %%PORTDOCS%%%%DOCSDIR%%/ps/bugpoint.ps +%%PORTDOCS%%%%DOCSDIR%%/ps/lit.ps %%PORTDOCS%%%%DOCSDIR%%/ps/llc.ps %%PORTDOCS%%%%DOCSDIR%%/ps/lli.ps %%PORTDOCS%%%%DOCSDIR%%/ps/llvm-ar.ps %%PORTDOCS%%%%DOCSDIR%%/ps/llvm-as.ps %%PORTDOCS%%%%DOCSDIR%%/ps/llvm-bcanalyzer.ps %%PORTDOCS%%%%DOCSDIR%%/ps/llvm-config.ps -%%PORTDOCS%%%%DOCSDIR%%/ps/llvm-db.ps %%PORTDOCS%%%%DOCSDIR%%/ps/llvm-dis.ps %%PORTDOCS%%%%DOCSDIR%%/ps/llvm-extract.ps %%PORTDOCS%%%%DOCSDIR%%/ps/llvm-ld.ps @@ -588,9 +611,9 @@ lib/libprofile_rt.so @dirrm include/llvm/Target @dirrm include/llvm/System @dirrm include/llvm/Support +@dirrm include/llvm/MC/MCParser @dirrm include/llvm/MC @dirrm include/llvm/ExecutionEngine -@dirrm include/llvm/Debugger @dirrm include/llvm/Config @dirrm include/llvm/CompilerDriver @dirrm include/llvm/CodeGen diff --git a/devel/llvm29/Makefile b/devel/llvm29/Makefile index 3e8b6cf88648..022404fc31b8 100644 --- a/devel/llvm29/Makefile +++ b/devel/llvm29/Makefile @@ -6,10 +6,10 @@ # PORTNAME= llvm -PORTVERSION= 2.6 -PORTREVISION= 2 +PORTVERSION= 2.7 CATEGORIES= devel lang MASTER_SITES= http://llvm.org/releases/${PORTVERSION}/ +EXTRACT_SUFX= .tgz MAINTAINER= brooks@FreeBSD.org COMMENT= Low Level Virtual Machine @@ -47,8 +47,8 @@ DOCSRCDIR= docs .endif .if !defined(NOPORTDOCS) -MAN1= bugpoint.1 llc.1 lli.1 llvm-ar.1 \ - llvm-as.1 llvm-bcanalyzer.1 llvm-config.1 llvm-db.1 \ +MAN1= bugpoint.1 lit.1 llc.1 lli.1 llvm-ar.1 \ + llvm-as.1 llvm-bcanalyzer.1 llvm-config.1 \ llvm-dis.1 llvm-extract.1 llvm-ld.1 llvm-link.1 llvm-nm.1 \ llvm-prof.1 llvm-ranlib.1 llvmc.1 llvmgcc.1 \ llvmgxx.1 opt.1 tblgen.1 @@ -56,14 +56,20 @@ MAN1= bugpoint.1 llc.1 lli.1 llvm-ar.1 \ .include <bsd.port.pre.mk> -.if ${ARCH} == "sparc64" || ${ARCH} =="ia64" -BROKEN= Does not compile on ${ARCH} +.if ${OSVERSION} < 700000 && ${ARCH} == "amd64" +BROKEN= does not compile +.elif ${ARCH} == "sparc64" +BROKEN= does not compile on sparc64 .endif .if ${ARCH} == "amd64" || ${ARCH} == "ia64" CONFIGURE_ARGS+= --enable-pic --with-pic .endif +.if ${ARCH} == "i386" +CONFIGURE_ARGS+= --with-optimize-option=-O2 +.endif + .ifdef(WITH_NO_ASSERTS) CONFIGURE_ARGS+= --disable-assertions .else @@ -88,16 +94,17 @@ regression-test: ${BUILD_COOKIE} fi PLIST_FILE_LIST= bin/bugpoint \ - bin/gccas \ - bin/gccld \ bin/llc \ bin/lli \ bin/llvm* \ bin/opt \ bin/tblgen \ lib/libCompilerDriver.a \ + lib/libEnhancedDisassembly.so \ + lib/libEnhancedDisassembly.a \ lib/libLTO.* \ lib/libLLVM* \ + lib/libUnitTestMain.a \ lib/libplugin_llvmc* \ lib/libprofile_rt.so PLIST_DIR_LIST= include/llvm-c \ diff --git a/devel/llvm29/distinfo b/devel/llvm29/distinfo index 2ca85665166e..2ed450d69cff 100644 --- a/devel/llvm29/distinfo +++ b/devel/llvm29/distinfo @@ -1,6 +1,6 @@ -MD5 (llvm-2.6.tar.gz) = 34a11e807add0f4555f691944e1a404a -SHA256 (llvm-2.6.tar.gz) = 4cd9257350c5ff8b9b139d19497e2396c0604eef0e5d6504f5c1463b09bf2d84 -SIZE (llvm-2.6.tar.gz) = 7790380 -MD5 (clang-2.6.tar.gz) = 09d696bf23bb4a3cf6af3c7341cdd946 -SHA256 (clang-2.6.tar.gz) = 98e22f4f5877fb3c73abb9ddcb3065ba9c94a21146387da7f905e6fd559d39ea -SIZE (clang-2.6.tar.gz) = 3857138 +MD5 (llvm-2.7.tgz) = ac322661f20e7d6c810b1869f886ad9b +SHA256 (llvm-2.7.tgz) = 99664bdc8503a306038166af33f28eb426d99e297575a59d74a1a0dcbddbbca5 +SIZE (llvm-2.7.tgz) = 8374297 +MD5 (clang-2.7.tgz) = b83260aa8c13494adf8978b5f238bf1b +SHA256 (clang-2.7.tgz) = fb349471947f155c1cda1c8a4a3bbc7fa437b86f6875d9978f86c915dfed623a +SIZE (clang-2.7.tgz) = 4953739 diff --git a/devel/llvm29/files/patch-Makefile b/devel/llvm29/files/patch-Makefile index 59fe73be2c8e..cb94b0f8e06a 100644 --- a/devel/llvm29/files/patch-Makefile +++ b/devel/llvm29/files/patch-Makefile @@ -1,14 +1,11 @@ - -$FreeBSD$ - ---- Makefile.orig -+++ Makefile -@@ -24,7 +24,7 @@ +--- Makefile.orig 2010-02-25 07:34:33.000000000 +0100 ++++ Makefile 2010-04-27 11:16:37.007130964 +0200 +@@ -31,7 +31,7 @@ OPTIONAL_DIRS := else - DIRS := lib/System lib/Support utils lib/VMCore lib tools/llvm-config \ -- tools runtime docs -+ tools runtime %%DOCSRCDIR%% - OPTIONAL_DIRS := examples projects bindings + DIRS := lib/System lib/Support utils lib/VMCore lib tools/llvm-shlib \ +- tools/llvm-config tools runtime docs unittests ++ tools/llvm-config tools runtime %%DOCSRCDIR%% unittests + OPTIONAL_DIRS := projects bindings endif diff --git a/devel/llvm29/pkg-plist b/devel/llvm29/pkg-plist index 42334cc7b087..f65c8f1a8cd4 100644 --- a/devel/llvm29/pkg-plist +++ b/devel/llvm29/pkg-plist @@ -1,13 +1,10 @@ bin/bugpoint -bin/gccas -bin/gccld bin/llc bin/lli bin/llvm-ar bin/llvm-as bin/llvm-bcanalyzer bin/llvm-config -bin/llvm-db bin/llvm-dis bin/llvm-extract bin/llvm-ld @@ -23,6 +20,7 @@ include/llvm-c/Analysis.h include/llvm-c/BitReader.h include/llvm-c/BitWriter.h include/llvm-c/Core.h +include/llvm-c/EnhancedDisassembly.h include/llvm-c/ExecutionEngine.h include/llvm-c/LinkTimeOptimizer.h include/llvm-c/Target.h @@ -33,6 +31,7 @@ include/llvm/ADT/APFloat.h include/llvm/ADT/APInt.h include/llvm/ADT/APSInt.h include/llvm/ADT/BitVector.h +include/llvm/ADT/DeltaAlgorithm.h include/llvm/ADT/DenseMap.h include/llvm/ADT/DenseMapInfo.h include/llvm/ADT/DenseSet.h @@ -40,7 +39,7 @@ include/llvm/ADT/DepthFirstIterator.h include/llvm/ADT/EquivalenceClasses.h include/llvm/ADT/FoldingSet.h include/llvm/ADT/GraphTraits.h -include/llvm/ADT/HashExtras.h +include/llvm/ADT/ImmutableIntervalMap.h include/llvm/ADT/ImmutableList.h include/llvm/ADT/ImmutableMap.h include/llvm/ADT/ImmutableSet.h @@ -56,6 +55,7 @@ include/llvm/ADT/STLExtras.h include/llvm/ADT/ScopedHashTable.h include/llvm/ADT/SetOperations.h include/llvm/ADT/SetVector.h +include/llvm/ADT/SmallBitVector.h include/llvm/ADT/SmallPtrSet.h include/llvm/ADT/SmallSet.h include/llvm/ADT/SmallString.h @@ -66,15 +66,15 @@ include/llvm/ADT/StringExtras.h include/llvm/ADT/StringMap.h include/llvm/ADT/StringRef.h include/llvm/ADT/StringSet.h +include/llvm/ADT/StringSwitch.h include/llvm/ADT/Trie.h include/llvm/ADT/Triple.h include/llvm/ADT/Twine.h include/llvm/ADT/UniqueVector.h +include/llvm/ADT/ValueMap.h include/llvm/ADT/VectorExtras.h include/llvm/ADT/ilist.h include/llvm/ADT/ilist_node.h -include/llvm/ADT/iterator.cmake -include/llvm/ADT/iterator.h include/llvm/AbstractTypeUser.h include/llvm/Analysis/AliasAnalysis.h include/llvm/Analysis/AliasSetTracker.h @@ -83,22 +83,28 @@ include/llvm/Analysis/CallGraph.h include/llvm/Analysis/CaptureTracking.h include/llvm/Analysis/ConstantFolding.h include/llvm/Analysis/ConstantsScanner.h +include/llvm/Analysis/DOTGraphTraitsPass.h include/llvm/Analysis/DebugInfo.h +include/llvm/Analysis/DomPrinter.h include/llvm/Analysis/DominatorInternals.h include/llvm/Analysis/Dominators.h include/llvm/Analysis/FindUsedTypes.h include/llvm/Analysis/IVUsers.h +include/llvm/Analysis/InlineCost.h +include/llvm/Analysis/InstructionSimplify.h include/llvm/Analysis/Interval.h include/llvm/Analysis/IntervalIterator.h include/llvm/Analysis/IntervalPartition.h +include/llvm/Analysis/LazyValueInfo.h include/llvm/Analysis/LibCallAliasAnalysis.h include/llvm/Analysis/LibCallSemantics.h include/llvm/Analysis/LiveValues.h include/llvm/Analysis/LoopDependenceAnalysis.h include/llvm/Analysis/LoopInfo.h include/llvm/Analysis/LoopPass.h -include/llvm/Analysis/LoopVR.h +include/llvm/Analysis/MemoryBuiltins.h include/llvm/Analysis/MemoryDependenceAnalysis.h +include/llvm/Analysis/PHITransAddr.h include/llvm/Analysis/Passes.h include/llvm/Analysis/PointerTracking.h include/llvm/Analysis/PostDominators.h @@ -124,25 +130,18 @@ include/llvm/Bitcode/Archive.h include/llvm/Bitcode/BitCodes.h include/llvm/Bitcode/BitstreamReader.h include/llvm/Bitcode/BitstreamWriter.h -include/llvm/Bitcode/Deserialize.h include/llvm/Bitcode/LLVMBitCodes.h include/llvm/Bitcode/ReaderWriter.h -include/llvm/Bitcode/Serialization.h -include/llvm/Bitcode/SerializationFwd.h -include/llvm/Bitcode/Serialize.h include/llvm/CMakeLists.txt include/llvm/CallGraphSCCPass.h include/llvm/CallingConv.h include/llvm/CodeGen/AsmPrinter.h include/llvm/CodeGen/BinaryObject.h -include/llvm/CodeGen/BreakCriticalMachineEdge.h +include/llvm/CodeGen/CalcSpillWeights.h include/llvm/CodeGen/CallingConvLower.h -include/llvm/CodeGen/DAGISelHeader.h -include/llvm/CodeGen/Dump.h include/llvm/CodeGen/DwarfWriter.h include/llvm/CodeGen/ELFRelocation.h include/llvm/CodeGen/FastISel.h -include/llvm/CodeGen/FileWriters.h include/llvm/CodeGen/GCMetadata.h include/llvm/CodeGen/GCMetadataPrinter.h include/llvm/CodeGen/GCStrategy.h @@ -150,7 +149,6 @@ include/llvm/CodeGen/GCs.h include/llvm/CodeGen/IntrinsicLowering.h include/llvm/CodeGen/JITCodeEmitter.h include/llvm/CodeGen/LatencyPriorityQueue.h -include/llvm/CodeGen/LazyLiveness.h include/llvm/CodeGen/LinkAllAsmWriterComponents.h include/llvm/CodeGen/LinkAllCodegenComponents.h include/llvm/CodeGen/LiveInterval.h @@ -174,12 +172,15 @@ include/llvm/CodeGen/MachineLocation.h include/llvm/CodeGen/MachineLoopInfo.h include/llvm/CodeGen/MachineMemOperand.h include/llvm/CodeGen/MachineModuleInfo.h +include/llvm/CodeGen/MachineModuleInfoImpls.h include/llvm/CodeGen/MachineOperand.h include/llvm/CodeGen/MachinePassRegistry.h include/llvm/CodeGen/MachineRegisterInfo.h include/llvm/CodeGen/MachineRelocation.h +include/llvm/CodeGen/MachineSSAUpdater.h include/llvm/CodeGen/ObjectCodeEmitter.h include/llvm/CodeGen/Passes.h +include/llvm/CodeGen/ProcessImplicitDefs.h include/llvm/CodeGen/PseudoSourceValue.h include/llvm/CodeGen/RegAllocRegistry.h include/llvm/CodeGen/RegisterCoalescer.h @@ -191,6 +192,8 @@ include/llvm/CodeGen/SchedulerRegistry.h include/llvm/CodeGen/SelectionDAG.h include/llvm/CodeGen/SelectionDAGISel.h include/llvm/CodeGen/SelectionDAGNodes.h +include/llvm/CodeGen/SlotIndexes.h +include/llvm/CodeGen/TargetLoweringObjectFileImpl.h include/llvm/CodeGen/ValueTypes.h include/llvm/CodeGen/ValueTypes.td include/llvm/CompilerDriver/Action.h @@ -205,18 +208,12 @@ include/llvm/CompilerDriver/Plugin.h include/llvm/CompilerDriver/Tool.h include/llvm/Config/AsmParsers.def include/llvm/Config/AsmPrinters.def +include/llvm/Config/Disassemblers.def include/llvm/Config/Targets.def -include/llvm/Config/alloca.h include/llvm/Config/config.h include/llvm/Config/config.h.cmake include/llvm/Constant.h include/llvm/Constants.h -include/llvm/Debugger/Debugger.h -include/llvm/Debugger/InferiorProcess.h -include/llvm/Debugger/ProgramInfo.h -include/llvm/Debugger/RuntimeInfo.h -include/llvm/Debugger/SourceFile.h -include/llvm/Debugger/SourceLanguage.h include/llvm/DerivedTypes.h include/llvm/ExecutionEngine/ExecutionEngine.h include/llvm/ExecutionEngine/GenericValue.h @@ -225,6 +222,7 @@ include/llvm/ExecutionEngine/JIT.h include/llvm/ExecutionEngine/JITEventListener.h include/llvm/ExecutionEngine/JITMemoryManager.h include/llvm/Function.h +include/llvm/GVMaterializer.h include/llvm/GlobalAlias.h include/llvm/GlobalValue.h include/llvm/GlobalVariable.h @@ -239,7 +237,6 @@ include/llvm/Intrinsics.h include/llvm/Intrinsics.td include/llvm/IntrinsicsARM.td include/llvm/IntrinsicsAlpha.td -include/llvm/IntrinsicsBlackfin.td include/llvm/IntrinsicsCellSPU.td include/llvm/IntrinsicsPowerPC.td include/llvm/IntrinsicsX86.td @@ -248,11 +245,24 @@ include/llvm/LLVMContext.h include/llvm/LinkAllPasses.h include/llvm/LinkAllVMCore.h include/llvm/Linker.h -include/llvm/MC/MCAsmLexer.h -include/llvm/MC/MCAsmParser.h +include/llvm/MC/MCAsmInfo.h +include/llvm/MC/MCAsmInfoCOFF.h +include/llvm/MC/MCAsmInfoDarwin.h include/llvm/MC/MCAssembler.h +include/llvm/MC/MCCodeEmitter.h include/llvm/MC/MCContext.h +include/llvm/MC/MCDirectives.h +include/llvm/MC/MCDisassembler.h +include/llvm/MC/MCExpr.h +include/llvm/MC/MCFixup.h include/llvm/MC/MCInst.h +include/llvm/MC/MCInstPrinter.h +include/llvm/MC/MCParser/AsmCond.h +include/llvm/MC/MCParser/AsmLexer.h +include/llvm/MC/MCParser/AsmParser.h +include/llvm/MC/MCParser/MCAsmLexer.h +include/llvm/MC/MCParser/MCAsmParser.h +include/llvm/MC/MCParser/MCParsedAsmOperand.h include/llvm/MC/MCSection.h include/llvm/MC/MCSectionELF.h include/llvm/MC/MCSectionMachO.h @@ -262,7 +272,6 @@ include/llvm/MC/MCValue.h include/llvm/MC/SectionKind.h include/llvm/Metadata.h include/llvm/Module.h -include/llvm/ModuleProvider.h include/llvm/OperandTraits.h include/llvm/Operator.h include/llvm/Pass.h @@ -270,7 +279,6 @@ include/llvm/PassAnalysisSupport.h include/llvm/PassManager.h include/llvm/PassManagers.h include/llvm/PassSupport.h -include/llvm/Support/AIXDataTypesFix.h include/llvm/Support/AlignOf.h include/llvm/Support/Allocator.h include/llvm/Support/CFG.h @@ -282,8 +290,6 @@ include/llvm/Support/ConstantFolder.h include/llvm/Support/ConstantRange.h include/llvm/Support/DOTGraphTraits.h include/llvm/Support/DataFlow.h -include/llvm/Support/DataTypes.h -include/llvm/Support/DataTypes.h.cmake include/llvm/Support/Debug.h include/llvm/Support/DebugLoc.h include/llvm/Support/Dwarf.h @@ -296,11 +302,12 @@ include/llvm/Support/FormattedStream.h include/llvm/Support/GetElementPtrTypeIterator.h include/llvm/Support/GraphWriter.h include/llvm/Support/IRBuilder.h +include/llvm/Support/IRReader.h include/llvm/Support/InstIterator.h include/llvm/Support/InstVisitor.h include/llvm/Support/LeakDetector.h +include/llvm/Support/MachO.h include/llvm/Support/ManagedStatic.h -include/llvm/Support/Mangler.h include/llvm/Support/MathExtras.h include/llvm/Support/MemoryBuffer.h include/llvm/Support/MemoryObject.h @@ -315,24 +322,30 @@ include/llvm/Support/PredIteratorCache.h include/llvm/Support/PrettyStackTrace.h include/llvm/Support/Recycler.h include/llvm/Support/RecyclingAllocator.h +include/llvm/Support/Regex.h include/llvm/Support/Registry.h include/llvm/Support/RegistryParser.h +include/llvm/Support/SMLoc.h include/llvm/Support/SlowOperationInformer.h include/llvm/Support/SourceMgr.h include/llvm/Support/StableBasicBlockNumbering.h include/llvm/Support/StandardPasses.h -include/llvm/Support/Streams.h include/llvm/Support/StringPool.h include/llvm/Support/SystemUtils.h include/llvm/Support/TargetFolder.h include/llvm/Support/Timer.h include/llvm/Support/TypeBuilder.h include/llvm/Support/ValueHandle.h +include/llvm/Support/circular_raw_ostream.h +include/llvm/Support/raw_os_ostream.h include/llvm/Support/raw_ostream.h include/llvm/Support/type_traits.h include/llvm/SymbolTableListTraits.h +include/llvm/System/AIXDataTypesFix.h include/llvm/System/Alarm.h include/llvm/System/Atomic.h +include/llvm/System/DataTypes.h +include/llvm/System/DataTypes.h.cmake include/llvm/System/Disassembler.h include/llvm/System/DynamicLibrary.h include/llvm/System/Errno.h @@ -350,11 +363,11 @@ include/llvm/System/Solaris.h include/llvm/System/ThreadLocal.h include/llvm/System/Threading.h include/llvm/System/TimeValue.h -include/llvm/Target/COFFTargetAsmInfo.h -include/llvm/Target/DarwinTargetAsmInfo.h +include/llvm/Target/Mangler.h include/llvm/Target/SubtargetFeature.h include/llvm/Target/Target.td -include/llvm/Target/TargetAsmInfo.h +include/llvm/Target/TargetAsmBackend.h +include/llvm/Target/TargetAsmLexer.h include/llvm/Target/TargetAsmParser.h include/llvm/Target/TargetCallingConv.td include/llvm/Target/TargetData.h @@ -367,8 +380,8 @@ include/llvm/Target/TargetIntrinsicInfo.h include/llvm/Target/TargetJITInfo.h include/llvm/Target/TargetLowering.h include/llvm/Target/TargetLoweringObjectFile.h -include/llvm/Target/TargetMachOWriterInfo.h include/llvm/Target/TargetMachine.h +include/llvm/Target/TargetOpcodes.h include/llvm/Target/TargetOptions.h include/llvm/Target/TargetRegisterInfo.h include/llvm/Target/TargetRegistry.h @@ -384,11 +397,12 @@ include/llvm/Transforms/Scalar.h include/llvm/Transforms/Utils/AddrModeMatcher.h include/llvm/Transforms/Utils/BasicBlockUtils.h include/llvm/Transforms/Utils/BasicInliner.h +include/llvm/Transforms/Utils/BuildLibCalls.h include/llvm/Transforms/Utils/Cloning.h include/llvm/Transforms/Utils/FunctionUtils.h -include/llvm/Transforms/Utils/InlineCost.h include/llvm/Transforms/Utils/Local.h include/llvm/Transforms/Utils/PromoteMemToReg.h +include/llvm/Transforms/Utils/SSAUpdater.h include/llvm/Transforms/Utils/SSI.h include/llvm/Transforms/Utils/UnifyFunctionExitNodes.h include/llvm/Transforms/Utils/UnrollLoop.h @@ -400,6 +414,9 @@ include/llvm/User.h include/llvm/Value.h include/llvm/ValueSymbolTable.h lib/libCompilerDriver.a +lib/libEnhancedDisassembly.a +lib/libEnhancedDisassembly.so +lib/libLLVMARMAsmParser.a lib/libLLVMARMAsmPrinter.a lib/libLLVMARMCodeGen.a lib/libLLVMARMInfo.a @@ -424,14 +441,18 @@ lib/libLLVMCodeGen.a lib/libLLVMCore.a lib/libLLVMCppBackend.a lib/libLLVMCppBackendInfo.a -lib/libLLVMDebugger.a lib/libLLVMExecutionEngine.a lib/libLLVMHello.so +lib/libLLVMInstCombine.a lib/libLLVMInstrumentation.a lib/libLLVMInterpreter.a lib/libLLVMJIT.a lib/libLLVMLinker.a +lib/libLLVMMBlazeAsmPrinter.a +lib/libLLVMMBlazeCodeGen.a +lib/libLLVMMBlazeInfo.a lib/libLLVMMC.a +lib/libLLVMMCParser.a lib/libLLVMMSIL.a lib/libLLVMMSILInfo.a lib/libLLVMMSP430AsmPrinter.a @@ -461,14 +482,17 @@ lib/libLLVMTransformUtils.a lib/libLLVMX86AsmParser.a lib/libLLVMX86AsmPrinter.a lib/libLLVMX86CodeGen.a +lib/libLLVMX86Disassembler.a lib/libLLVMX86Info.a lib/libLLVMXCoreAsmPrinter.a lib/libLLVMXCoreCodeGen.a lib/libLLVMXCoreInfo.a lib/libLLVMipa.a lib/libLLVMipo.a +lib/libLLVMpic16passes.a lib/libLTO.a lib/libLTO.so +lib/libUnitTestMain.a lib/libplugin_llvmc_Base.a lib/libplugin_llvmc_Clang.a lib/libprofile_rt.so @@ -483,13 +507,13 @@ lib/libprofile_rt.so %%PORTDOCS%%%%DOCSDIR%%/html/CommandGuide/FileCheck.html %%PORTDOCS%%%%DOCSDIR%%/html/CommandGuide/bugpoint.html %%PORTDOCS%%%%DOCSDIR%%/html/CommandGuide/index.html +%%PORTDOCS%%%%DOCSDIR%%/html/CommandGuide/lit.html %%PORTDOCS%%%%DOCSDIR%%/html/CommandGuide/llc.html %%PORTDOCS%%%%DOCSDIR%%/html/CommandGuide/lli.html %%PORTDOCS%%%%DOCSDIR%%/html/CommandGuide/llvm-ar.html %%PORTDOCS%%%%DOCSDIR%%/html/CommandGuide/llvm-as.html %%PORTDOCS%%%%DOCSDIR%%/html/CommandGuide/llvm-bcanalyzer.html %%PORTDOCS%%%%DOCSDIR%%/html/CommandGuide/llvm-config.html -%%PORTDOCS%%%%DOCSDIR%%/html/CommandGuide/llvm-db.html %%PORTDOCS%%%%DOCSDIR%%/html/CommandGuide/llvm-dis.html %%PORTDOCS%%%%DOCSDIR%%/html/CommandGuide/llvm-extract.html %%PORTDOCS%%%%DOCSDIR%%/html/CommandGuide/llvm-ld.html @@ -507,6 +531,7 @@ lib/libprofile_rt.so %%PORTDOCS%%%%DOCSDIR%%/html/CompilerDriver.html %%PORTDOCS%%%%DOCSDIR%%/html/CompilerDriverTutorial.html %%PORTDOCS%%%%DOCSDIR%%/html/CompilerWriterInfo.html +%%PORTDOCS%%%%DOCSDIR%%/html/DebuggingJITedCode.html %%PORTDOCS%%%%DOCSDIR%%/html/DeveloperPolicy.html %%PORTDOCS%%%%DOCSDIR%%/html/ExceptionHandling.html %%PORTDOCS%%%%DOCSDIR%%/html/ExtendingLLVM.html @@ -523,10 +548,10 @@ lib/libprofile_rt.so %%PORTDOCS%%%%DOCSDIR%%/html/Lexicon.html %%PORTDOCS%%%%DOCSDIR%%/html/LinkTimeOptimization.html %%PORTDOCS%%%%DOCSDIR%%/html/MakefileGuide.html +%%PORTDOCS%%%%DOCSDIR%%/html/Packaging.html %%PORTDOCS%%%%DOCSDIR%%/html/Passes.html %%PORTDOCS%%%%DOCSDIR%%/html/ProgrammersManual.html %%PORTDOCS%%%%DOCSDIR%%/html/Projects.html -%%PORTDOCS%%%%DOCSDIR%%/html/ReleaseNotes-2.6.html %%PORTDOCS%%%%DOCSDIR%%/html/ReleaseNotes.html %%PORTDOCS%%%%DOCSDIR%%/html/SourceLevelDebugging.html %%PORTDOCS%%%%DOCSDIR%%/html/SystemLibrary.html @@ -543,8 +568,6 @@ lib/libprofile_rt.so %%PORTDOCS%%%%DOCSDIR%%/html/img/venusflytrap.jpg %%PORTDOCS%%%%DOCSDIR%%/html/index.html %%PORTDOCS%%%%DOCSDIR%%/html/llvm.css -%%PORTDOCS%%%%DOCSDIR%%/html/tutorial/JITTutorial1.html -%%PORTDOCS%%%%DOCSDIR%%/html/tutorial/JITTutorial2.html %%PORTDOCS%%%%DOCSDIR%%/html/tutorial/LangImpl1.html %%PORTDOCS%%%%DOCSDIR%%/html/tutorial/LangImpl2.html %%PORTDOCS%%%%DOCSDIR%%/html/tutorial/LangImpl3.html @@ -563,13 +586,13 @@ lib/libprofile_rt.so %%PORTDOCS%%%%DOCSDIR%%/html/tutorial/index.html %%PORTDOCS%%%%DOCSDIR%%/ps/FileCheck.ps %%PORTDOCS%%%%DOCSDIR%%/ps/bugpoint.ps +%%PORTDOCS%%%%DOCSDIR%%/ps/lit.ps %%PORTDOCS%%%%DOCSDIR%%/ps/llc.ps %%PORTDOCS%%%%DOCSDIR%%/ps/lli.ps %%PORTDOCS%%%%DOCSDIR%%/ps/llvm-ar.ps %%PORTDOCS%%%%DOCSDIR%%/ps/llvm-as.ps %%PORTDOCS%%%%DOCSDIR%%/ps/llvm-bcanalyzer.ps %%PORTDOCS%%%%DOCSDIR%%/ps/llvm-config.ps -%%PORTDOCS%%%%DOCSDIR%%/ps/llvm-db.ps %%PORTDOCS%%%%DOCSDIR%%/ps/llvm-dis.ps %%PORTDOCS%%%%DOCSDIR%%/ps/llvm-extract.ps %%PORTDOCS%%%%DOCSDIR%%/ps/llvm-ld.ps @@ -588,9 +611,9 @@ lib/libprofile_rt.so @dirrm include/llvm/Target @dirrm include/llvm/System @dirrm include/llvm/Support +@dirrm include/llvm/MC/MCParser @dirrm include/llvm/MC @dirrm include/llvm/ExecutionEngine -@dirrm include/llvm/Debugger @dirrm include/llvm/Config @dirrm include/llvm/CompilerDriver @dirrm include/llvm/CodeGen diff --git a/lang/clang-devel/Makefile b/lang/clang-devel/Makefile index a07989493ba3..106825fff8b5 100644 --- a/lang/clang-devel/Makefile +++ b/lang/clang-devel/Makefile @@ -6,16 +6,16 @@ # PORTNAME= clang -PORTVERSION= 2.6 -PORTREVISION= 3 +PORTVERSION= 2.7 CATEGORIES= devel lang MASTER_SITES= http://llvm.org/releases/${PORTVERSION}/ DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \ ${LLVM_SOURCE} EXTRACT_ONLY= ${LLVM_SOURCE} +EXTRACT_SUFX= .tgz MAINTAINER= brooks@FreeBSD.org -COMMENT= C, Objective-C, and (soon) C++ compiler +COMMENT= C, Objective-C, and (alpha-quality) C++ compiler CONFLICTS= clang-devel-2.[0-9]* llvm-devel-2.[0-9]* @@ -75,17 +75,17 @@ post-patch: ${REINPLACE_CMD} -e 's|%%DOCSRCDIR%%|${DOCSRCDIR}|' \ ${WRKSRC}/Makefile ${REINPLACE_CMD} -e 's|/usr/bin/env perl|${PERL}|' \ - ${WRKSRC}/tools/clang/utils/ccc-analyzer \ - ${WRKSRC}/tools/clang/utils/scan-build + ${WRKSRC}/tools/clang/tools/scan-build/ccc-analyzer \ + ${WRKSRC}/tools/clang/tools/scan-build/scan-build post-install: - @${INSTALL_SCRIPT} ${WRKSRC}/tools/clang/utils/ccc-analyzer \ + @${INSTALL_SCRIPT} ${WRKSRC}/tools/clang/tools/scan-build/ccc-analyzer \ ${PREFIX}/bin - @${INSTALL_SCRIPT} ${WRKSRC}/tools/clang/utils/scan-build \ + @${INSTALL_SCRIPT} ${WRKSRC}/tools/clang/tools/scan-build/scan-build \ ${PREFIX}/bin @${MKDIR} ${DATADIR} - @${INSTALL_DATA} ${WRKSRC}/tools/clang/utils/scanview.css ${DATADIR} - @${INSTALL_DATA} ${WRKSRC}/tools/clang/utils/sorttable.js ${DATADIR} + @${INSTALL_DATA} ${WRKSRC}/tools/clang/tools/scan-build/scanview.css ${DATADIR} + @${INSTALL_DATA} ${WRKSRC}/tools/clang/tools/scan-build/sorttable.js ${DATADIR} TEST_CMD= '(cd ${WRKSRC}/test; ${SETENV} ${MAKE_ENV} ${GMAKE} check)' regression-test: ${BUILD_COOKIE} @@ -98,9 +98,14 @@ regression-test: ${BUILD_COOKIE} PLIST_FILE_LIST= bin/ccc-analyzer \ bin/clang \ + bin/clang++ \ bin/scan-build \ - libexec/clang-cc -PLIST_DIR_LIST= lib/clang + lib/libCIndex.* \ + lib/libclang* +PLIST_DIR_LIST= include/clang \ + include/clang-c \ + lib/clang + build-plist: ${RM} -f ${PLIST} cd ${PREFIX} && \ diff --git a/lang/clang-devel/distinfo b/lang/clang-devel/distinfo index 2ca85665166e..d48949c9279d 100644 --- a/lang/clang-devel/distinfo +++ b/lang/clang-devel/distinfo @@ -1,6 +1,6 @@ -MD5 (llvm-2.6.tar.gz) = 34a11e807add0f4555f691944e1a404a -SHA256 (llvm-2.6.tar.gz) = 4cd9257350c5ff8b9b139d19497e2396c0604eef0e5d6504f5c1463b09bf2d84 -SIZE (llvm-2.6.tar.gz) = 7790380 -MD5 (clang-2.6.tar.gz) = 09d696bf23bb4a3cf6af3c7341cdd946 -SHA256 (clang-2.6.tar.gz) = 98e22f4f5877fb3c73abb9ddcb3065ba9c94a21146387da7f905e6fd559d39ea -SIZE (clang-2.6.tar.gz) = 3857138 +MD5 (clang-2.7.tgz) = b83260aa8c13494adf8978b5f238bf1b +SHA256 (clang-2.7.tgz) = fb349471947f155c1cda1c8a4a3bbc7fa437b86f6875d9978f86c915dfed623a +SIZE (clang-2.7.tgz) = 4953739 +MD5 (llvm-2.7.tgz) = ac322661f20e7d6c810b1869f886ad9b +SHA256 (llvm-2.7.tgz) = 99664bdc8503a306038166af33f28eb426d99e297575a59d74a1a0dcbddbbca5 +SIZE (llvm-2.7.tgz) = 8374297 diff --git a/lang/clang-devel/files/patch-Makefile b/lang/clang-devel/files/patch-Makefile index 59fe73be2c8e..2c887b01275d 100644 --- a/lang/clang-devel/files/patch-Makefile +++ b/lang/clang-devel/files/patch-Makefile @@ -3,12 +3,12 @@ $FreeBSD$ --- Makefile.orig +++ Makefile -@@ -24,7 +24,7 @@ +@@ -31,7 +31,7 @@ OPTIONAL_DIRS := else - DIRS := lib/System lib/Support utils lib/VMCore lib tools/llvm-config \ -- tools runtime docs -+ tools runtime %%DOCSRCDIR%% - OPTIONAL_DIRS := examples projects bindings + DIRS := lib/System lib/Support utils lib/VMCore lib tools/llvm-shlib \ +- tools/llvm-config tools runtime docs unittests ++ tools/llvm-config tools runtime %%DOCSRCDIR%% unittests + OPTIONAL_DIRS := projects bindings endif diff --git a/lang/clang-devel/pkg-plist b/lang/clang-devel/pkg-plist index 20a7a0d350e2..993b51329aa5 100644 --- a/lang/clang-devel/pkg-plist +++ b/lang/clang-devel/pkg-plist @@ -1,13 +1,287 @@ bin/ccc-analyzer bin/clang +bin/clang++ bin/scan-build -lib/clang/1.0/include/emmintrin.h -lib/clang/1.0/include/mm_malloc.h -lib/clang/1.0/include/mmintrin.h -lib/clang/1.0/include/pmmintrin.h -lib/clang/1.0/include/tmmintrin.h -lib/clang/1.0/include/xmmintrin.h -libexec/clang-cc +include/clang-c/Index.h +include/clang/AST/APValue.h +include/clang/AST/AST.h +include/clang/AST/ASTConsumer.h +include/clang/AST/ASTContext.h +include/clang/AST/ASTDiagnostic.h +include/clang/AST/ASTImporter.h +include/clang/AST/Attr.h +include/clang/AST/CXXInheritance.h +include/clang/AST/CanonicalType.h +include/clang/AST/CharUnits.h +include/clang/AST/Decl.h +include/clang/AST/DeclBase.h +include/clang/AST/DeclCXX.h +include/clang/AST/DeclContextInternals.h +include/clang/AST/DeclGroup.h +include/clang/AST/DeclNodes.def +include/clang/AST/DeclObjC.h +include/clang/AST/DeclTemplate.h +include/clang/AST/DeclVisitor.h +include/clang/AST/DeclarationName.h +include/clang/AST/Expr.h +include/clang/AST/ExprCXX.h +include/clang/AST/ExprObjC.h +include/clang/AST/ExternalASTSource.h +include/clang/AST/FullExpr.h +include/clang/AST/NestedNameSpecifier.h +include/clang/AST/ParentMap.h +include/clang/AST/PrettyPrinter.h +include/clang/AST/RecordLayout.h +include/clang/AST/Redeclarable.h +include/clang/AST/Stmt.h +include/clang/AST/StmtCXX.h +include/clang/AST/StmtGraphTraits.h +include/clang/AST/StmtIterator.h +include/clang/AST/StmtNodes.def +include/clang/AST/StmtObjC.h +include/clang/AST/StmtVisitor.h +include/clang/AST/TemplateBase.h +include/clang/AST/TemplateName.h +include/clang/AST/Type.h +include/clang/AST/TypeLoc.h +include/clang/AST/TypeLocBuilder.h +include/clang/AST/TypeLocNodes.def +include/clang/AST/TypeLocVisitor.h +include/clang/AST/TypeNodes.def +include/clang/AST/TypeOrdering.h +include/clang/AST/TypeVisitor.h +include/clang/AST/UnresolvedSet.h +include/clang/Analysis/Analyses/LiveVariables.h +include/clang/Analysis/Analyses/PrintfFormatString.h +include/clang/Analysis/Analyses/ReachableCode.h +include/clang/Analysis/Analyses/UninitializedValues.h +include/clang/Analysis/AnalysisContext.h +include/clang/Analysis/AnalysisDiagnostic.h +include/clang/Analysis/CFG.h +include/clang/Analysis/FlowSensitive/DataflowSolver.h +include/clang/Analysis/FlowSensitive/DataflowValues.h +include/clang/Analysis/ProgramPoint.h +include/clang/Analysis/Support/BlkExprDeclBitVector.h +include/clang/Analysis/Support/BumpVector.h +include/clang/Analysis/Support/Optional.h +include/clang/Analysis/Support/SaveAndRestore.h +include/clang/Analysis/Visitors/CFGRecStmtDeclVisitor.h +include/clang/Analysis/Visitors/CFGRecStmtVisitor.h +include/clang/Analysis/Visitors/CFGStmtVisitor.h +include/clang/Basic/Builtins.def +include/clang/Basic/Builtins.h +include/clang/Basic/BuiltinsARM.def +include/clang/Basic/BuiltinsPPC.def +include/clang/Basic/BuiltinsX86.def +include/clang/Basic/ConvertUTF.h +include/clang/Basic/Diagnostic.h +include/clang/Basic/DiagnosticASTKinds.inc +include/clang/Basic/DiagnosticAnalysisKinds.inc +include/clang/Basic/DiagnosticCommonKinds.inc +include/clang/Basic/DiagnosticDriverKinds.inc +include/clang/Basic/DiagnosticFrontendKinds.inc +include/clang/Basic/DiagnosticGroups.inc +include/clang/Basic/DiagnosticLexKinds.inc +include/clang/Basic/DiagnosticParseKinds.inc +include/clang/Basic/DiagnosticSemaKinds.inc +include/clang/Basic/FileManager.h +include/clang/Basic/IdentifierTable.h +include/clang/Basic/LangOptions.h +include/clang/Basic/Linkage.h +include/clang/Basic/MacroBuilder.h +include/clang/Basic/OnDiskHashTable.h +include/clang/Basic/OperatorKinds.def +include/clang/Basic/OperatorKinds.h +include/clang/Basic/PartialDiagnostic.h +include/clang/Basic/PrettyStackTrace.h +include/clang/Basic/Release/DiagnosticASTKinds.inc.tmp +include/clang/Basic/Release/DiagnosticAnalysisKinds.inc.tmp +include/clang/Basic/Release/DiagnosticCommonKinds.inc.tmp +include/clang/Basic/Release/DiagnosticDriverKinds.inc.tmp +include/clang/Basic/Release/DiagnosticFrontendKinds.inc.tmp +include/clang/Basic/Release/DiagnosticGroups.inc.tmp +include/clang/Basic/Release/DiagnosticLexKinds.inc.tmp +include/clang/Basic/Release/DiagnosticParseKinds.inc.tmp +include/clang/Basic/Release/DiagnosticSemaKinds.inc.tmp +include/clang/Basic/SourceLocation.h +include/clang/Basic/SourceManager.h +include/clang/Basic/SourceManagerInternals.h +include/clang/Basic/Specifiers.h +include/clang/Basic/TargetBuiltins.h +include/clang/Basic/TargetInfo.h +include/clang/Basic/TargetOptions.h +include/clang/Basic/TemplateKinds.h +include/clang/Basic/TokenKinds.def +include/clang/Basic/TokenKinds.h +include/clang/Basic/TypeTraits.h +include/clang/Basic/Version.h +include/clang/Checker/BugReporter/BugReporter.h +include/clang/Checker/BugReporter/BugType.h +include/clang/Checker/BugReporter/PathDiagnostic.h +include/clang/Checker/Checkers/DereferenceChecker.h +include/clang/Checker/Checkers/LocalCheckers.h +include/clang/Checker/DomainSpecific/CocoaConventions.h +include/clang/Checker/ManagerRegistry.h +include/clang/Checker/PathSensitive/AnalysisManager.h +include/clang/Checker/PathSensitive/BasicValueFactory.h +include/clang/Checker/PathSensitive/Checker.h +include/clang/Checker/PathSensitive/CheckerVisitor.def +include/clang/Checker/PathSensitive/CheckerVisitor.h +include/clang/Checker/PathSensitive/ConstraintManager.h +include/clang/Checker/PathSensitive/Environment.h +include/clang/Checker/PathSensitive/ExplodedGraph.h +include/clang/Checker/PathSensitive/GRAuditor.h +include/clang/Checker/PathSensitive/GRBlockCounter.h +include/clang/Checker/PathSensitive/GRCoreEngine.h +include/clang/Checker/PathSensitive/GRExprEngine.h +include/clang/Checker/PathSensitive/GRExprEngineBuilders.h +include/clang/Checker/PathSensitive/GRSimpleAPICheck.h +include/clang/Checker/PathSensitive/GRState.h +include/clang/Checker/PathSensitive/GRStateTrait.h +include/clang/Checker/PathSensitive/GRSubEngine.h +include/clang/Checker/PathSensitive/GRTransferFuncs.h +include/clang/Checker/PathSensitive/GRWorkList.h +include/clang/Checker/PathSensitive/MemRegion.h +include/clang/Checker/PathSensitive/SVals.h +include/clang/Checker/PathSensitive/SValuator.h +include/clang/Checker/PathSensitive/Store.h +include/clang/Checker/PathSensitive/SummaryManager.h +include/clang/Checker/PathSensitive/SymbolManager.h +include/clang/Checker/PathSensitive/ValueManager.h +include/clang/CodeGen/CodeGenOptions.h +include/clang/CodeGen/ModuleBuilder.h +include/clang/Driver/Action.h +include/clang/Driver/Arg.h +include/clang/Driver/ArgList.h +include/clang/Driver/CC1Options.h +include/clang/Driver/CC1Options.inc +include/clang/Driver/Compilation.h +include/clang/Driver/Driver.h +include/clang/Driver/DriverDiagnostic.h +include/clang/Driver/HostInfo.h +include/clang/Driver/Job.h +include/clang/Driver/OptSpecifier.h +include/clang/Driver/OptTable.h +include/clang/Driver/Option.h +include/clang/Driver/Options.h +include/clang/Driver/Options.inc +include/clang/Driver/Phases.h +include/clang/Driver/Release/CC1Options.inc.tmp +include/clang/Driver/Release/Options.inc.tmp +include/clang/Driver/Tool.h +include/clang/Driver/ToolChain.h +include/clang/Driver/Types.def +include/clang/Driver/Types.h +include/clang/Driver/Util.h +include/clang/Frontend/ASTConsumers.h +include/clang/Frontend/ASTUnit.h +include/clang/Frontend/Analyses.def +include/clang/Frontend/AnalysisConsumer.h +include/clang/Frontend/ChainedDiagnosticClient.h +include/clang/Frontend/CodeGenAction.h +include/clang/Frontend/CommandLineSourceLoc.h +include/clang/Frontend/CompilerInstance.h +include/clang/Frontend/CompilerInvocation.h +include/clang/Frontend/DeclContextXML.def +include/clang/Frontend/DeclXML.def +include/clang/Frontend/DependencyOutputOptions.h +include/clang/Frontend/DiagnosticOptions.h +include/clang/Frontend/DocumentXML.def +include/clang/Frontend/DocumentXML.h +include/clang/Frontend/FixItRewriter.h +include/clang/Frontend/FrontendAction.h +include/clang/Frontend/FrontendActions.h +include/clang/Frontend/FrontendDiagnostic.h +include/clang/Frontend/FrontendOptions.h +include/clang/Frontend/FrontendPluginRegistry.h +include/clang/Frontend/HeaderSearchOptions.h +include/clang/Frontend/LangStandard.h +include/clang/Frontend/LangStandards.def +include/clang/Frontend/PCHBitCodes.h +include/clang/Frontend/PCHReader.h +include/clang/Frontend/PCHWriter.h +include/clang/Frontend/PathDiagnosticClients.h +include/clang/Frontend/PreprocessorOptions.h +include/clang/Frontend/PreprocessorOutputOptions.h +include/clang/Frontend/StmtXML.def +include/clang/Frontend/TextDiagnosticBuffer.h +include/clang/Frontend/TextDiagnosticPrinter.h +include/clang/Frontend/TypeXML.def +include/clang/Frontend/Utils.h +include/clang/Frontend/VerifyDiagnosticsClient.h +include/clang/Index/ASTLocation.h +include/clang/Index/Analyzer.h +include/clang/Index/CallGraph.h +include/clang/Index/DeclReferenceMap.h +include/clang/Index/Entity.h +include/clang/Index/GlobalSelector.h +include/clang/Index/Handlers.h +include/clang/Index/IndexProvider.h +include/clang/Index/Indexer.h +include/clang/Index/Program.h +include/clang/Index/STLExtras.h +include/clang/Index/SelectorMap.h +include/clang/Index/TranslationUnit.h +include/clang/Index/Utils.h +include/clang/Lex/DirectoryLookup.h +include/clang/Lex/ExternalPreprocessorSource.h +include/clang/Lex/HeaderMap.h +include/clang/Lex/HeaderSearch.h +include/clang/Lex/LexDiagnostic.h +include/clang/Lex/Lexer.h +include/clang/Lex/LiteralSupport.h +include/clang/Lex/MacroInfo.h +include/clang/Lex/MultipleIncludeOpt.h +include/clang/Lex/PPCallbacks.h +include/clang/Lex/PTHLexer.h +include/clang/Lex/PTHManager.h +include/clang/Lex/Pragma.h +include/clang/Lex/Preprocessor.h +include/clang/Lex/PreprocessorLexer.h +include/clang/Lex/ScratchBuffer.h +include/clang/Lex/Token.h +include/clang/Lex/TokenConcatenation.h +include/clang/Lex/TokenLexer.h +include/clang/Parse/Action.h +include/clang/Parse/AttributeList.h +include/clang/Parse/DeclSpec.h +include/clang/Parse/Designator.h +include/clang/Parse/Ownership.h +include/clang/Parse/ParseDiagnostic.h +include/clang/Parse/Parser.h +include/clang/Parse/Scope.h +include/clang/Parse/Template.h +include/clang/Rewrite/DeltaTree.h +include/clang/Rewrite/HTMLRewrite.h +include/clang/Rewrite/RewriteRope.h +include/clang/Rewrite/Rewriter.h +include/clang/Rewrite/TokenRewriter.h +include/clang/Sema/CodeCompleteConsumer.h +include/clang/Sema/ExternalSemaSource.h +include/clang/Sema/ParseAST.h +include/clang/Sema/SemaConsumer.h +include/clang/Sema/SemaDiagnostic.h +lib/clang/1.1/include/emmintrin.h +lib/clang/1.1/include/mm_malloc.h +lib/clang/1.1/include/mmintrin.h +lib/clang/1.1/include/pmmintrin.h +lib/clang/1.1/include/smmintrin.h +lib/clang/1.1/include/tmmintrin.h +lib/clang/1.1/include/xmmintrin.h +lib/libCIndex.a +lib/libCIndex.so +lib/libclangAST.a +lib/libclangAnalysis.a +lib/libclangBasic.a +lib/libclangChecker.a +lib/libclangCodeGen.a +lib/libclangDriver.a +lib/libclangFrontend.a +lib/libclangIndex.a +lib/libclangLex.a +lib/libclangParse.a +lib/libclangRewrite.a +lib/libclangSema.a %%DATADIR%%/scanview.css %%DATADIR%%/sorttable.js %%PORTDOCS%%%%DOCSDIR%%/html.tar.gz @@ -24,9 +298,33 @@ libexec/clang-cc %%PORTDOCS%%%%DOCSDIR%%/html/index.html %%PORTDOCS%%%%DOCSDIR%%/html/libIndex.html %%PORTDOCS%%%%DOCSDIR%%/ps/clang.ps -@dirrm lib/clang/1.0/include -@dirrm lib/clang/1.0 +@dirrm lib/clang/1.1/include +@dirrm lib/clang/1.1 @dirrm lib/clang +@dirrm include/clang/Sema +@dirrm include/clang/Rewrite +@dirrm include/clang/Parse +@dirrm include/clang/Lex +@dirrm include/clang/Index +@dirrm include/clang/Frontend +@dirrm include/clang/Driver/Release +@dirrm include/clang/Driver +@dirrm include/clang/CodeGen +@dirrm include/clang/Checker/PathSensitive +@dirrm include/clang/Checker/DomainSpecific +@dirrm include/clang/Checker/Checkers +@dirrm include/clang/Checker/BugReporter +@dirrm include/clang/Checker +@dirrm include/clang/Basic/Release +@dirrm include/clang/Basic +@dirrm include/clang/Analysis/Visitors +@dirrm include/clang/Analysis/Support +@dirrm include/clang/Analysis/FlowSensitive +@dirrm include/clang/Analysis/Analyses +@dirrm include/clang/Analysis +@dirrm include/clang/AST +@dirrm include/clang-c +@dirrm include/clang %%PORTDOCS%%@dirrm %%DOCSDIR%%/ps %%PORTDOCS%%@dirrm %%DOCSDIR%%/html/img %%PORTDOCS%%@dirrm %%DOCSDIR%%/html/clang diff --git a/lang/clang/Makefile b/lang/clang/Makefile index a07989493ba3..106825fff8b5 100644 --- a/lang/clang/Makefile +++ b/lang/clang/Makefile @@ -6,16 +6,16 @@ # PORTNAME= clang -PORTVERSION= 2.6 -PORTREVISION= 3 +PORTVERSION= 2.7 CATEGORIES= devel lang MASTER_SITES= http://llvm.org/releases/${PORTVERSION}/ DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \ ${LLVM_SOURCE} EXTRACT_ONLY= ${LLVM_SOURCE} +EXTRACT_SUFX= .tgz MAINTAINER= brooks@FreeBSD.org -COMMENT= C, Objective-C, and (soon) C++ compiler +COMMENT= C, Objective-C, and (alpha-quality) C++ compiler CONFLICTS= clang-devel-2.[0-9]* llvm-devel-2.[0-9]* @@ -75,17 +75,17 @@ post-patch: ${REINPLACE_CMD} -e 's|%%DOCSRCDIR%%|${DOCSRCDIR}|' \ ${WRKSRC}/Makefile ${REINPLACE_CMD} -e 's|/usr/bin/env perl|${PERL}|' \ - ${WRKSRC}/tools/clang/utils/ccc-analyzer \ - ${WRKSRC}/tools/clang/utils/scan-build + ${WRKSRC}/tools/clang/tools/scan-build/ccc-analyzer \ + ${WRKSRC}/tools/clang/tools/scan-build/scan-build post-install: - @${INSTALL_SCRIPT} ${WRKSRC}/tools/clang/utils/ccc-analyzer \ + @${INSTALL_SCRIPT} ${WRKSRC}/tools/clang/tools/scan-build/ccc-analyzer \ ${PREFIX}/bin - @${INSTALL_SCRIPT} ${WRKSRC}/tools/clang/utils/scan-build \ + @${INSTALL_SCRIPT} ${WRKSRC}/tools/clang/tools/scan-build/scan-build \ ${PREFIX}/bin @${MKDIR} ${DATADIR} - @${INSTALL_DATA} ${WRKSRC}/tools/clang/utils/scanview.css ${DATADIR} - @${INSTALL_DATA} ${WRKSRC}/tools/clang/utils/sorttable.js ${DATADIR} + @${INSTALL_DATA} ${WRKSRC}/tools/clang/tools/scan-build/scanview.css ${DATADIR} + @${INSTALL_DATA} ${WRKSRC}/tools/clang/tools/scan-build/sorttable.js ${DATADIR} TEST_CMD= '(cd ${WRKSRC}/test; ${SETENV} ${MAKE_ENV} ${GMAKE} check)' regression-test: ${BUILD_COOKIE} @@ -98,9 +98,14 @@ regression-test: ${BUILD_COOKIE} PLIST_FILE_LIST= bin/ccc-analyzer \ bin/clang \ + bin/clang++ \ bin/scan-build \ - libexec/clang-cc -PLIST_DIR_LIST= lib/clang + lib/libCIndex.* \ + lib/libclang* +PLIST_DIR_LIST= include/clang \ + include/clang-c \ + lib/clang + build-plist: ${RM} -f ${PLIST} cd ${PREFIX} && \ diff --git a/lang/clang/distinfo b/lang/clang/distinfo index 2ca85665166e..d48949c9279d 100644 --- a/lang/clang/distinfo +++ b/lang/clang/distinfo @@ -1,6 +1,6 @@ -MD5 (llvm-2.6.tar.gz) = 34a11e807add0f4555f691944e1a404a -SHA256 (llvm-2.6.tar.gz) = 4cd9257350c5ff8b9b139d19497e2396c0604eef0e5d6504f5c1463b09bf2d84 -SIZE (llvm-2.6.tar.gz) = 7790380 -MD5 (clang-2.6.tar.gz) = 09d696bf23bb4a3cf6af3c7341cdd946 -SHA256 (clang-2.6.tar.gz) = 98e22f4f5877fb3c73abb9ddcb3065ba9c94a21146387da7f905e6fd559d39ea -SIZE (clang-2.6.tar.gz) = 3857138 +MD5 (clang-2.7.tgz) = b83260aa8c13494adf8978b5f238bf1b +SHA256 (clang-2.7.tgz) = fb349471947f155c1cda1c8a4a3bbc7fa437b86f6875d9978f86c915dfed623a +SIZE (clang-2.7.tgz) = 4953739 +MD5 (llvm-2.7.tgz) = ac322661f20e7d6c810b1869f886ad9b +SHA256 (llvm-2.7.tgz) = 99664bdc8503a306038166af33f28eb426d99e297575a59d74a1a0dcbddbbca5 +SIZE (llvm-2.7.tgz) = 8374297 diff --git a/lang/clang/files/patch-Makefile b/lang/clang/files/patch-Makefile index 59fe73be2c8e..2c887b01275d 100644 --- a/lang/clang/files/patch-Makefile +++ b/lang/clang/files/patch-Makefile @@ -3,12 +3,12 @@ $FreeBSD$ --- Makefile.orig +++ Makefile -@@ -24,7 +24,7 @@ +@@ -31,7 +31,7 @@ OPTIONAL_DIRS := else - DIRS := lib/System lib/Support utils lib/VMCore lib tools/llvm-config \ -- tools runtime docs -+ tools runtime %%DOCSRCDIR%% - OPTIONAL_DIRS := examples projects bindings + DIRS := lib/System lib/Support utils lib/VMCore lib tools/llvm-shlib \ +- tools/llvm-config tools runtime docs unittests ++ tools/llvm-config tools runtime %%DOCSRCDIR%% unittests + OPTIONAL_DIRS := projects bindings endif diff --git a/lang/clang/pkg-plist b/lang/clang/pkg-plist index 20a7a0d350e2..993b51329aa5 100644 --- a/lang/clang/pkg-plist +++ b/lang/clang/pkg-plist @@ -1,13 +1,287 @@ bin/ccc-analyzer bin/clang +bin/clang++ bin/scan-build -lib/clang/1.0/include/emmintrin.h -lib/clang/1.0/include/mm_malloc.h -lib/clang/1.0/include/mmintrin.h -lib/clang/1.0/include/pmmintrin.h -lib/clang/1.0/include/tmmintrin.h -lib/clang/1.0/include/xmmintrin.h -libexec/clang-cc +include/clang-c/Index.h +include/clang/AST/APValue.h +include/clang/AST/AST.h +include/clang/AST/ASTConsumer.h +include/clang/AST/ASTContext.h +include/clang/AST/ASTDiagnostic.h +include/clang/AST/ASTImporter.h +include/clang/AST/Attr.h +include/clang/AST/CXXInheritance.h +include/clang/AST/CanonicalType.h +include/clang/AST/CharUnits.h +include/clang/AST/Decl.h +include/clang/AST/DeclBase.h +include/clang/AST/DeclCXX.h +include/clang/AST/DeclContextInternals.h +include/clang/AST/DeclGroup.h +include/clang/AST/DeclNodes.def +include/clang/AST/DeclObjC.h +include/clang/AST/DeclTemplate.h +include/clang/AST/DeclVisitor.h +include/clang/AST/DeclarationName.h +include/clang/AST/Expr.h +include/clang/AST/ExprCXX.h +include/clang/AST/ExprObjC.h +include/clang/AST/ExternalASTSource.h +include/clang/AST/FullExpr.h +include/clang/AST/NestedNameSpecifier.h +include/clang/AST/ParentMap.h +include/clang/AST/PrettyPrinter.h +include/clang/AST/RecordLayout.h +include/clang/AST/Redeclarable.h +include/clang/AST/Stmt.h +include/clang/AST/StmtCXX.h +include/clang/AST/StmtGraphTraits.h +include/clang/AST/StmtIterator.h +include/clang/AST/StmtNodes.def +include/clang/AST/StmtObjC.h +include/clang/AST/StmtVisitor.h +include/clang/AST/TemplateBase.h +include/clang/AST/TemplateName.h +include/clang/AST/Type.h +include/clang/AST/TypeLoc.h +include/clang/AST/TypeLocBuilder.h +include/clang/AST/TypeLocNodes.def +include/clang/AST/TypeLocVisitor.h +include/clang/AST/TypeNodes.def +include/clang/AST/TypeOrdering.h +include/clang/AST/TypeVisitor.h +include/clang/AST/UnresolvedSet.h +include/clang/Analysis/Analyses/LiveVariables.h +include/clang/Analysis/Analyses/PrintfFormatString.h +include/clang/Analysis/Analyses/ReachableCode.h +include/clang/Analysis/Analyses/UninitializedValues.h +include/clang/Analysis/AnalysisContext.h +include/clang/Analysis/AnalysisDiagnostic.h +include/clang/Analysis/CFG.h +include/clang/Analysis/FlowSensitive/DataflowSolver.h +include/clang/Analysis/FlowSensitive/DataflowValues.h +include/clang/Analysis/ProgramPoint.h +include/clang/Analysis/Support/BlkExprDeclBitVector.h +include/clang/Analysis/Support/BumpVector.h +include/clang/Analysis/Support/Optional.h +include/clang/Analysis/Support/SaveAndRestore.h +include/clang/Analysis/Visitors/CFGRecStmtDeclVisitor.h +include/clang/Analysis/Visitors/CFGRecStmtVisitor.h +include/clang/Analysis/Visitors/CFGStmtVisitor.h +include/clang/Basic/Builtins.def +include/clang/Basic/Builtins.h +include/clang/Basic/BuiltinsARM.def +include/clang/Basic/BuiltinsPPC.def +include/clang/Basic/BuiltinsX86.def +include/clang/Basic/ConvertUTF.h +include/clang/Basic/Diagnostic.h +include/clang/Basic/DiagnosticASTKinds.inc +include/clang/Basic/DiagnosticAnalysisKinds.inc +include/clang/Basic/DiagnosticCommonKinds.inc +include/clang/Basic/DiagnosticDriverKinds.inc +include/clang/Basic/DiagnosticFrontendKinds.inc +include/clang/Basic/DiagnosticGroups.inc +include/clang/Basic/DiagnosticLexKinds.inc +include/clang/Basic/DiagnosticParseKinds.inc +include/clang/Basic/DiagnosticSemaKinds.inc +include/clang/Basic/FileManager.h +include/clang/Basic/IdentifierTable.h +include/clang/Basic/LangOptions.h +include/clang/Basic/Linkage.h +include/clang/Basic/MacroBuilder.h +include/clang/Basic/OnDiskHashTable.h +include/clang/Basic/OperatorKinds.def +include/clang/Basic/OperatorKinds.h +include/clang/Basic/PartialDiagnostic.h +include/clang/Basic/PrettyStackTrace.h +include/clang/Basic/Release/DiagnosticASTKinds.inc.tmp +include/clang/Basic/Release/DiagnosticAnalysisKinds.inc.tmp +include/clang/Basic/Release/DiagnosticCommonKinds.inc.tmp +include/clang/Basic/Release/DiagnosticDriverKinds.inc.tmp +include/clang/Basic/Release/DiagnosticFrontendKinds.inc.tmp +include/clang/Basic/Release/DiagnosticGroups.inc.tmp +include/clang/Basic/Release/DiagnosticLexKinds.inc.tmp +include/clang/Basic/Release/DiagnosticParseKinds.inc.tmp +include/clang/Basic/Release/DiagnosticSemaKinds.inc.tmp +include/clang/Basic/SourceLocation.h +include/clang/Basic/SourceManager.h +include/clang/Basic/SourceManagerInternals.h +include/clang/Basic/Specifiers.h +include/clang/Basic/TargetBuiltins.h +include/clang/Basic/TargetInfo.h +include/clang/Basic/TargetOptions.h +include/clang/Basic/TemplateKinds.h +include/clang/Basic/TokenKinds.def +include/clang/Basic/TokenKinds.h +include/clang/Basic/TypeTraits.h +include/clang/Basic/Version.h +include/clang/Checker/BugReporter/BugReporter.h +include/clang/Checker/BugReporter/BugType.h +include/clang/Checker/BugReporter/PathDiagnostic.h +include/clang/Checker/Checkers/DereferenceChecker.h +include/clang/Checker/Checkers/LocalCheckers.h +include/clang/Checker/DomainSpecific/CocoaConventions.h +include/clang/Checker/ManagerRegistry.h +include/clang/Checker/PathSensitive/AnalysisManager.h +include/clang/Checker/PathSensitive/BasicValueFactory.h +include/clang/Checker/PathSensitive/Checker.h +include/clang/Checker/PathSensitive/CheckerVisitor.def +include/clang/Checker/PathSensitive/CheckerVisitor.h +include/clang/Checker/PathSensitive/ConstraintManager.h +include/clang/Checker/PathSensitive/Environment.h +include/clang/Checker/PathSensitive/ExplodedGraph.h +include/clang/Checker/PathSensitive/GRAuditor.h +include/clang/Checker/PathSensitive/GRBlockCounter.h +include/clang/Checker/PathSensitive/GRCoreEngine.h +include/clang/Checker/PathSensitive/GRExprEngine.h +include/clang/Checker/PathSensitive/GRExprEngineBuilders.h +include/clang/Checker/PathSensitive/GRSimpleAPICheck.h +include/clang/Checker/PathSensitive/GRState.h +include/clang/Checker/PathSensitive/GRStateTrait.h +include/clang/Checker/PathSensitive/GRSubEngine.h +include/clang/Checker/PathSensitive/GRTransferFuncs.h +include/clang/Checker/PathSensitive/GRWorkList.h +include/clang/Checker/PathSensitive/MemRegion.h +include/clang/Checker/PathSensitive/SVals.h +include/clang/Checker/PathSensitive/SValuator.h +include/clang/Checker/PathSensitive/Store.h +include/clang/Checker/PathSensitive/SummaryManager.h +include/clang/Checker/PathSensitive/SymbolManager.h +include/clang/Checker/PathSensitive/ValueManager.h +include/clang/CodeGen/CodeGenOptions.h +include/clang/CodeGen/ModuleBuilder.h +include/clang/Driver/Action.h +include/clang/Driver/Arg.h +include/clang/Driver/ArgList.h +include/clang/Driver/CC1Options.h +include/clang/Driver/CC1Options.inc +include/clang/Driver/Compilation.h +include/clang/Driver/Driver.h +include/clang/Driver/DriverDiagnostic.h +include/clang/Driver/HostInfo.h +include/clang/Driver/Job.h +include/clang/Driver/OptSpecifier.h +include/clang/Driver/OptTable.h +include/clang/Driver/Option.h +include/clang/Driver/Options.h +include/clang/Driver/Options.inc +include/clang/Driver/Phases.h +include/clang/Driver/Release/CC1Options.inc.tmp +include/clang/Driver/Release/Options.inc.tmp +include/clang/Driver/Tool.h +include/clang/Driver/ToolChain.h +include/clang/Driver/Types.def +include/clang/Driver/Types.h +include/clang/Driver/Util.h +include/clang/Frontend/ASTConsumers.h +include/clang/Frontend/ASTUnit.h +include/clang/Frontend/Analyses.def +include/clang/Frontend/AnalysisConsumer.h +include/clang/Frontend/ChainedDiagnosticClient.h +include/clang/Frontend/CodeGenAction.h +include/clang/Frontend/CommandLineSourceLoc.h +include/clang/Frontend/CompilerInstance.h +include/clang/Frontend/CompilerInvocation.h +include/clang/Frontend/DeclContextXML.def +include/clang/Frontend/DeclXML.def +include/clang/Frontend/DependencyOutputOptions.h +include/clang/Frontend/DiagnosticOptions.h +include/clang/Frontend/DocumentXML.def +include/clang/Frontend/DocumentXML.h +include/clang/Frontend/FixItRewriter.h +include/clang/Frontend/FrontendAction.h +include/clang/Frontend/FrontendActions.h +include/clang/Frontend/FrontendDiagnostic.h +include/clang/Frontend/FrontendOptions.h +include/clang/Frontend/FrontendPluginRegistry.h +include/clang/Frontend/HeaderSearchOptions.h +include/clang/Frontend/LangStandard.h +include/clang/Frontend/LangStandards.def +include/clang/Frontend/PCHBitCodes.h +include/clang/Frontend/PCHReader.h +include/clang/Frontend/PCHWriter.h +include/clang/Frontend/PathDiagnosticClients.h +include/clang/Frontend/PreprocessorOptions.h +include/clang/Frontend/PreprocessorOutputOptions.h +include/clang/Frontend/StmtXML.def +include/clang/Frontend/TextDiagnosticBuffer.h +include/clang/Frontend/TextDiagnosticPrinter.h +include/clang/Frontend/TypeXML.def +include/clang/Frontend/Utils.h +include/clang/Frontend/VerifyDiagnosticsClient.h +include/clang/Index/ASTLocation.h +include/clang/Index/Analyzer.h +include/clang/Index/CallGraph.h +include/clang/Index/DeclReferenceMap.h +include/clang/Index/Entity.h +include/clang/Index/GlobalSelector.h +include/clang/Index/Handlers.h +include/clang/Index/IndexProvider.h +include/clang/Index/Indexer.h +include/clang/Index/Program.h +include/clang/Index/STLExtras.h +include/clang/Index/SelectorMap.h +include/clang/Index/TranslationUnit.h +include/clang/Index/Utils.h +include/clang/Lex/DirectoryLookup.h +include/clang/Lex/ExternalPreprocessorSource.h +include/clang/Lex/HeaderMap.h +include/clang/Lex/HeaderSearch.h +include/clang/Lex/LexDiagnostic.h +include/clang/Lex/Lexer.h +include/clang/Lex/LiteralSupport.h +include/clang/Lex/MacroInfo.h +include/clang/Lex/MultipleIncludeOpt.h +include/clang/Lex/PPCallbacks.h +include/clang/Lex/PTHLexer.h +include/clang/Lex/PTHManager.h +include/clang/Lex/Pragma.h +include/clang/Lex/Preprocessor.h +include/clang/Lex/PreprocessorLexer.h +include/clang/Lex/ScratchBuffer.h +include/clang/Lex/Token.h +include/clang/Lex/TokenConcatenation.h +include/clang/Lex/TokenLexer.h +include/clang/Parse/Action.h +include/clang/Parse/AttributeList.h +include/clang/Parse/DeclSpec.h +include/clang/Parse/Designator.h +include/clang/Parse/Ownership.h +include/clang/Parse/ParseDiagnostic.h +include/clang/Parse/Parser.h +include/clang/Parse/Scope.h +include/clang/Parse/Template.h +include/clang/Rewrite/DeltaTree.h +include/clang/Rewrite/HTMLRewrite.h +include/clang/Rewrite/RewriteRope.h +include/clang/Rewrite/Rewriter.h +include/clang/Rewrite/TokenRewriter.h +include/clang/Sema/CodeCompleteConsumer.h +include/clang/Sema/ExternalSemaSource.h +include/clang/Sema/ParseAST.h +include/clang/Sema/SemaConsumer.h +include/clang/Sema/SemaDiagnostic.h +lib/clang/1.1/include/emmintrin.h +lib/clang/1.1/include/mm_malloc.h +lib/clang/1.1/include/mmintrin.h +lib/clang/1.1/include/pmmintrin.h +lib/clang/1.1/include/smmintrin.h +lib/clang/1.1/include/tmmintrin.h +lib/clang/1.1/include/xmmintrin.h +lib/libCIndex.a +lib/libCIndex.so +lib/libclangAST.a +lib/libclangAnalysis.a +lib/libclangBasic.a +lib/libclangChecker.a +lib/libclangCodeGen.a +lib/libclangDriver.a +lib/libclangFrontend.a +lib/libclangIndex.a +lib/libclangLex.a +lib/libclangParse.a +lib/libclangRewrite.a +lib/libclangSema.a %%DATADIR%%/scanview.css %%DATADIR%%/sorttable.js %%PORTDOCS%%%%DOCSDIR%%/html.tar.gz @@ -24,9 +298,33 @@ libexec/clang-cc %%PORTDOCS%%%%DOCSDIR%%/html/index.html %%PORTDOCS%%%%DOCSDIR%%/html/libIndex.html %%PORTDOCS%%%%DOCSDIR%%/ps/clang.ps -@dirrm lib/clang/1.0/include -@dirrm lib/clang/1.0 +@dirrm lib/clang/1.1/include +@dirrm lib/clang/1.1 @dirrm lib/clang +@dirrm include/clang/Sema +@dirrm include/clang/Rewrite +@dirrm include/clang/Parse +@dirrm include/clang/Lex +@dirrm include/clang/Index +@dirrm include/clang/Frontend +@dirrm include/clang/Driver/Release +@dirrm include/clang/Driver +@dirrm include/clang/CodeGen +@dirrm include/clang/Checker/PathSensitive +@dirrm include/clang/Checker/DomainSpecific +@dirrm include/clang/Checker/Checkers +@dirrm include/clang/Checker/BugReporter +@dirrm include/clang/Checker +@dirrm include/clang/Basic/Release +@dirrm include/clang/Basic +@dirrm include/clang/Analysis/Visitors +@dirrm include/clang/Analysis/Support +@dirrm include/clang/Analysis/FlowSensitive +@dirrm include/clang/Analysis/Analyses +@dirrm include/clang/Analysis +@dirrm include/clang/AST +@dirrm include/clang-c +@dirrm include/clang %%PORTDOCS%%@dirrm %%DOCSDIR%%/ps %%PORTDOCS%%@dirrm %%DOCSDIR%%/html/img %%PORTDOCS%%@dirrm %%DOCSDIR%%/html/clang diff --git a/lang/llvm-gcc4/Makefile b/lang/llvm-gcc4/Makefile index 1509ba139aaf..758fc4d77119 100644 --- a/lang/llvm-gcc4/Makefile +++ b/lang/llvm-gcc4/Makefile @@ -6,11 +6,12 @@ # PORTNAME= gcc4 -PORTVERSION= 2.6 +PORTVERSION= 2.7 CATEGORIES= lang devel MASTER_SITES= http://llvm.org/releases/${PORTVERSION}/ PKGNAMEPREFIX= llvm- DISTNAME= ${PKGNAMEPREFIX}gcc-4.2-${PORTVERSION}.source +EXTRACT_SUFX= .tgz MAINTAINER= brooks@FreeBSD.org COMMENT= A gcc4 frontend for LLVM @@ -29,7 +30,7 @@ USE_ICONV= yes USE_PERL5_BUILD=yes GCC_VER= 4.2.1 -WRKSRC= ${WRKDIR}/${DISTNAME:S/gcc-/gcc/}/obj +WRKSRC= ${WRKDIR}/${DISTNAME}/obj TARGLIB= ${PREFIX}/lib/llvm-gcc-${PORTVERSION} CONFIGURE_SCRIPT= ../configure CONFIGURE_ARGS= --enable-llvm=${LOCALBASE} \ diff --git a/lang/llvm-gcc4/distinfo b/lang/llvm-gcc4/distinfo index 35d4cc9a9d14..3d56507be55b 100644 --- a/lang/llvm-gcc4/distinfo +++ b/lang/llvm-gcc4/distinfo @@ -1,3 +1,3 @@ -MD5 (llvm-gcc-4.2-2.6.source.tar.gz) = 4e8c5a1035701c231dbfc7e2af2d7571 -SHA256 (llvm-gcc-4.2-2.6.source.tar.gz) = 5be01f0ed0787c33239ab27b93884e48b544a1be97b944c7a5d29e85fbab495d -SIZE (llvm-gcc-4.2-2.6.source.tar.gz) = 48364917 +MD5 (llvm-gcc-4.2-2.7.source.tgz) = c5033005ceac1988b7cdc908445090f0 +SHA256 (llvm-gcc-4.2-2.7.source.tgz) = 1ccbcef5fe6613392e24f21fd23a9ed2692827c13f8d85c26b3bdcd1b3b5047a +SIZE (llvm-gcc-4.2-2.7.source.tgz) = 55699337 |