Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Feb 2013 19:02:00 +0000 (UTC)
From:      Brooks Davis <brooks@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r312075 - in head: devel/llvm-devel lang/clang-devel lang/dragonegg-devel46
Message-ID:  <201302111902.r1BJ204S009430@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: brooks
Date: Mon Feb 11 19:02:00 2013
New Revision: 312075
URL: http://svnweb.freebsd.org/changeset/ports/312075

Log:
  Upgrade llvm-devel and related ports to 3.3.r174891.
  
  Install .cmake files for devel/llvm-devel so projects that use cmake can
  build against the installed copy.

Modified:
  head/devel/llvm-devel/Makefile
  head/devel/llvm-devel/Makefile.svn_rev
  head/devel/llvm-devel/distinfo
  head/devel/llvm-devel/pkg-plist
  head/lang/clang-devel/distinfo
  head/lang/clang-devel/pkg-plist
  head/lang/dragonegg-devel46/distinfo

Modified: head/devel/llvm-devel/Makefile
==============================================================================
--- head/devel/llvm-devel/Makefile	Mon Feb 11 19:00:17 2013	(r312074)
+++ head/devel/llvm-devel/Makefile	Mon Feb 11 19:02:00 2013	(r312075)
@@ -15,6 +15,7 @@ PKGNAMESUFFIX=	-devel
 MAINTAINER=	brooks@FreeBSD.org
 COMMENT=	Low Level Virtual Machine
 
+BUILD_DEPENDS+=	cmake:${PORSTDIR}/devel/cmake
 BUILD_DEPENDS+=	sphinx-build:${PORTSDIR}/textproc/py-sphinx
 .if defined(PACKAGE_BUILDING) || defined(MAINTAINER_MODE)
 BUILD_DEPENDS+=	bash:${PORTSDIR}/shells/bash
@@ -63,18 +64,18 @@ CONFIGURE_ARGS+=	--with-f2c=${LOCALBASE}
 CONFIGURE_ARGS+=	--enable-optimized
 .endif
 
-.if ${PORT_OPTIONS:MDOCS}
-CONFIGURE_ARGS+=	--enable-docs
-.else
-CONFIGURE_ARGS+=	--disable-docs
-.endif
-
 .if ${PORT_OPTIONS:MASSERTS}
 CONFIGURE_ARGS+=	--enable-assertions
 .else
 CONFIGURE_ARGS+=	--disable-assertions
 .endif
 
+.if ${PORT_OPTIONS:MDOCS}
+CONFIGURE_ARGS+=	--enable-docs
+.else
+CONFIGURE_ARGS+=	--disable-docs
+.endif
+
 .if ${PORT_OPTIONS:MLTOPLUGIN}
 BUILD_DEPENDS+=		ld.gold:${PORTSDIR}/devel/binutils
 RUN_DEPENDS+=		ld.gold:${PORTSDIR}/devel/binutils
@@ -126,6 +127,10 @@ post-patch:
 	${REINPLACE_CMD} -e 's|\(PROJ_mandir.*:=\).*$$|\1${MANPREFIX}/man|g' \
 	    ${WRKSRC}/Makefile.config.in
 
+pre-configure:
+	${MKDIR} ${WRKDIR}/cmake
+	cd ${WRKDIR}/cmake && cmake -G Ninja ${WRKSRC}
+
 post-build:
 	@cd ${WRKSRC}/docs && ${GMAKE} -f Makefile.sphinx man
 .if ${PORT_OPTIONS:MDOCS}
@@ -135,6 +140,10 @@ post-build:
 post-install:
 	${MV} ${PREFIX}/lib/${LIBNAME} ${PREFIX}/lib/${LIBNAME}.0
 	${LN} -s ${LIBNAME}.0 ${PREFIX}/lib/${LIBNAME}
+	${MKDIR} ${DATADIR}/cmake
+	${INSTALL_DATA} ${WRKSRC}/cmake/modules/*.cmake ${DATADIR}/cmake/
+	${INSTALL_DATA} ${WRKDIR}/cmake/share/llvm/cmake/*.cmake \
+	    ${DATADIR}/cmake/
 .if ${PORT_OPTIONS:MDOCS}
 	${MKDIR} ${DOCSDIR}/html
 	find ${WRKSRC}/docs/_build/html -type f | \
@@ -167,7 +176,8 @@ PLIST_FILE_LIST=	bin/bugpoint \
 			lib/libprofile_rt.a \
 			lib/libprofile_rt.so
 PLIST_DIR_LIST=		include/llvm-c \
-			include/llvm
+			include/llvm \
+			${DATADIR_REL}
 build-plist:
 	${RM} -f ${PLIST}
 	cd ${PREFIX} && \

Modified: head/devel/llvm-devel/Makefile.svn_rev
==============================================================================
--- head/devel/llvm-devel/Makefile.svn_rev	Mon Feb 11 19:00:17 2013	(r312074)
+++ head/devel/llvm-devel/Makefile.svn_rev	Mon Feb 11 19:02:00 2013	(r312075)
@@ -1 +1 @@
-SVN_REV=	172076
+SVN_REV=	174891

Modified: head/devel/llvm-devel/distinfo
==============================================================================
--- head/devel/llvm-devel/distinfo	Mon Feb 11 19:00:17 2013	(r312074)
+++ head/devel/llvm-devel/distinfo	Mon Feb 11 19:02:00 2013	(r312075)
@@ -1,2 +1,2 @@
-SHA256 (llvm-3.3.r172076.tar.bz2) = e6af04f790c94124c5b1abf93f3a24a07d6490bcfa4821e4e4425aa1e87085a2
-SIZE (llvm-3.3.r172076.tar.bz2) = 9587232
+SHA256 (llvm-3.3.r174891.tar.bz2) = 7d0f782d04e6c18885ce02d6e345fe3bd8d63fec8304e68e0086971a65171887
+SIZE (llvm-3.3.r174891.tar.bz2) = 9961214

Modified: head/devel/llvm-devel/pkg-plist
==============================================================================
--- head/devel/llvm-devel/pkg-plist	Mon Feb 11 19:00:17 2013	(r312074)
+++ head/devel/llvm-devel/pkg-plist	Mon Feb 11 19:02:00 2013	(r312075)
@@ -86,6 +86,7 @@ include/llvm/ADT/SmallSet.h
 include/llvm/ADT/SmallString.h
 include/llvm/ADT/SmallVector.h
 include/llvm/ADT/SparseBitVector.h
+include/llvm/ADT/SparseMultiSet.h
 include/llvm/ADT/SparseSet.h
 include/llvm/ADT/Statistic.h
 include/llvm/ADT/StringExtras.h
@@ -110,6 +111,7 @@ include/llvm/Analysis/BranchProbabilityI
 include/llvm/Analysis/CFGPrinter.h
 include/llvm/Analysis/CallGraph.h
 include/llvm/Analysis/CallGraphSCCPass.h
+include/llvm/Analysis/CallPrinter.h
 include/llvm/Analysis/CaptureTracking.h
 include/llvm/Analysis/CodeMetrics.h
 include/llvm/Analysis/ConstantFolding.h
@@ -166,7 +168,6 @@ include/llvm/Assembly/AssemblyAnnotation
 include/llvm/Assembly/Parser.h
 include/llvm/Assembly/PrintModulePass.h
 include/llvm/Assembly/Writer.h
-include/llvm/Attributes.h
 include/llvm/AutoUpgrade.h
 include/llvm/Bitcode/Archive.h
 include/llvm/Bitcode/BitCodes.h
@@ -229,6 +230,7 @@ include/llvm/CodeGen/MachineRegisterInfo
 include/llvm/CodeGen/MachineRelocation.h
 include/llvm/CodeGen/MachineSSAUpdater.h
 include/llvm/CodeGen/MachineScheduler.h
+include/llvm/CodeGen/MachineTraceMetrics.h
 include/llvm/CodeGen/PBQP/Graph.h
 include/llvm/CodeGen/PBQP/HeuristicBase.h
 include/llvm/CodeGen/PBQP/HeuristicSolver.h
@@ -327,8 +329,8 @@ include/llvm/IR/Value.h
 include/llvm/IR/ValueSymbolTable.h
 include/llvm/InitializePasses.h
 include/llvm/InstVisitor.h
+include/llvm/LinkAllIR.h
 include/llvm/LinkAllPasses.h
-include/llvm/LinkAllVMCore.h
 include/llvm/Linker.h
 include/llvm/MC/MCAsmBackend.h
 include/llvm/MC/MCAsmInfo.h
@@ -426,6 +428,7 @@ include/llvm/Support/CommandLine.h
 include/llvm/Support/Compiler.h
 include/llvm/Support/ConstantFolder.h
 include/llvm/Support/ConstantRange.h
+include/llvm/Support/ConvertUTF.h
 include/llvm/Support/CrashRecoveryContext.h
 include/llvm/Support/DOTGraphTraits.h
 include/llvm/Support/DataExtractor.h
@@ -441,6 +444,7 @@ include/llvm/Support/ELF.h
 include/llvm/Support/Endian.h
 include/llvm/Support/Errno.h
 include/llvm/Support/ErrorHandling.h
+include/llvm/Support/ErrorOr.h
 include/llvm/Support/FEnv.h
 include/llvm/Support/FileOutputBuffer.h
 include/llvm/Support/FileSystem.h
@@ -520,6 +524,7 @@ include/llvm/TableGen/Main.h
 include/llvm/TableGen/Record.h
 include/llvm/TableGen/StringMatcher.h
 include/llvm/TableGen/TableGenBackend.h
+include/llvm/Target/CostTable.h
 include/llvm/Target/Mangler.h
 include/llvm/Target/Target.td
 include/llvm/Target/TargetCallingConv.h
@@ -544,8 +549,10 @@ include/llvm/Transforms/IPO.h
 include/llvm/Transforms/IPO/InlinerPass.h
 include/llvm/Transforms/IPO/PassManagerBuilder.h
 include/llvm/Transforms/Instrumentation.h
+include/llvm/Transforms/ObjCARC.h
 include/llvm/Transforms/Scalar.h
 include/llvm/Transforms/Utils/BasicBlockUtils.h
+include/llvm/Transforms/Utils/BlackList.h
 include/llvm/Transforms/Utils/BuildLibCalls.h
 include/llvm/Transforms/Utils/BypassSlowDivision.h
 include/llvm/Transforms/Utils/Cloning.h
@@ -567,6 +574,13 @@ lib/BugpointPasses.so
 lib/LLVMHello.so
 lib/libLLVM-%%LLVM_RELEASE%%svn.so
 lib/libLLVM-%%LLVM_RELEASE%%svn.so.0
+lib/libLLVMAArch64AsmParser.a
+lib/libLLVMAArch64AsmPrinter.a
+lib/libLLVMAArch64CodeGen.a
+lib/libLLVMAArch64Desc.a
+lib/libLLVMAArch64Disassembler.a
+lib/libLLVMAArch64Info.a
+lib/libLLVMAArch64Utils.a
 lib/libLLVMARMAsmParser.a
 lib/libLLVMARMAsmPrinter.a
 lib/libLLVMARMCodeGen.a
@@ -618,6 +632,7 @@ lib/libLLVMNVPTXAsmPrinter.a
 lib/libLLVMNVPTXCodeGen.a
 lib/libLLVMNVPTXDesc.a
 lib/libLLVMNVPTXInfo.a
+lib/libLLVMObjCARCOpts.a
 lib/libLLVMObject.a
 lib/libLLVMOption.a
 lib/libLLVMPowerPCAsmPrinter.a
@@ -653,6 +668,19 @@ lib/libLTO.a
 lib/libLTO.so
 lib/libprofile_rt.a
 lib/libprofile_rt.so
+share/llvm/cmake/AddLLVM.cmake
+share/llvm/cmake/AddLLVMDefinitions.cmake
+share/llvm/cmake/CheckAtomic.cmake
+share/llvm/cmake/ChooseMSVCCRT.cmake
+share/llvm/cmake/GetHostTriple.cmake
+share/llvm/cmake/HandleLLVMOptions.cmake
+share/llvm/cmake/LLVM-Config.cmake
+share/llvm/cmake/LLVMConfig.cmake
+share/llvm/cmake/LLVMConfigVersion.cmake
+share/llvm/cmake/LLVMParseArguments.cmake
+share/llvm/cmake/LLVMProcessSources.cmake
+share/llvm/cmake/TableGen.cmake
+share/llvm/cmake/VersionFromVCS.cmake
 %%PORTDOCS%%%%DOCSDIR%%/html.tar.gz
 %%PORTDOCS%%%%DOCSDIR%%/html/.buildinfo
 %%PORTDOCS%%%%DOCSDIR%%/html/AliasAnalysis.html
@@ -797,10 +825,6 @@ lib/libprofile_rt.so
 %%PORTDOCS%%%%DOCSDIR%%/html/comment-close.png
 %%PORTDOCS%%%%DOCSDIR%%/html/comment.png
 %%PORTDOCS%%%%DOCSDIR%%/html/contents.png
-%%PORTDOCS%%%%DOCSDIR%%/html/design_and_overview.html
-%%PORTDOCS%%%%DOCSDIR%%/html/design_and_overview.txt
-%%PORTDOCS%%%%DOCSDIR%%/html/development_process.html
-%%PORTDOCS%%%%DOCSDIR%%/html/development_process.txt
 %%PORTDOCS%%%%DOCSDIR%%/html/doctools.js
 %%PORTDOCS%%%%DOCSDIR%%/html/down-pressed.png
 %%PORTDOCS%%%%DOCSDIR%%/html/down.png
@@ -850,32 +874,26 @@ lib/libprofile_rt.so
 %%PORTDOCS%%%%DOCSDIR%%/html/llvm-theme.css
 %%PORTDOCS%%%%DOCSDIR%%/html/llvm.css
 %%PORTDOCS%%%%DOCSDIR%%/html/logo.png
-%%PORTDOCS%%%%DOCSDIR%%/html/mailing_lists.html
-%%PORTDOCS%%%%DOCSDIR%%/html/mailing_lists.txt
 %%PORTDOCS%%%%DOCSDIR%%/html/minus.png
 %%PORTDOCS%%%%DOCSDIR%%/html/navigation.png
 %%PORTDOCS%%%%DOCSDIR%%/html/objects.inv
 %%PORTDOCS%%%%DOCSDIR%%/html/opt.html
 %%PORTDOCS%%%%DOCSDIR%%/html/opt.txt
 %%PORTDOCS%%%%DOCSDIR%%/html/plus.png
-%%PORTDOCS%%%%DOCSDIR%%/html/programming.html
-%%PORTDOCS%%%%DOCSDIR%%/html/programming.txt
 %%PORTDOCS%%%%DOCSDIR%%/html/pygments.css
 %%PORTDOCS%%%%DOCSDIR%%/html/search.html
 %%PORTDOCS%%%%DOCSDIR%%/html/searchindex.js
 %%PORTDOCS%%%%DOCSDIR%%/html/searchtools.js
-%%PORTDOCS%%%%DOCSDIR%%/html/subsystems.html
-%%PORTDOCS%%%%DOCSDIR%%/html/subsystems.txt
 %%PORTDOCS%%%%DOCSDIR%%/html/tblgen.html
 %%PORTDOCS%%%%DOCSDIR%%/html/tblgen.txt
 %%PORTDOCS%%%%DOCSDIR%%/html/underscore.js
 %%PORTDOCS%%%%DOCSDIR%%/html/up-pressed.png
 %%PORTDOCS%%%%DOCSDIR%%/html/up.png
-%%PORTDOCS%%%%DOCSDIR%%/html/userguides.html
-%%PORTDOCS%%%%DOCSDIR%%/html/userguides.txt
 %%PORTDOCS%%%%DOCSDIR%%/html/websupport.js
 %%PORTDOCS%%%%DOCSDIR%%/html/yaml2obj.html
 %%PORTDOCS%%%%DOCSDIR%%/html/yaml2obj.txt
+@dirrm share/llvm/cmake
+@dirrm share/llvm
 @dirrm include/llvm/Transforms/Utils
 @dirrm include/llvm/Transforms/IPO
 @dirrm include/llvm/Transforms

Modified: head/lang/clang-devel/distinfo
==============================================================================
--- head/lang/clang-devel/distinfo	Mon Feb 11 19:00:17 2013	(r312074)
+++ head/lang/clang-devel/distinfo	Mon Feb 11 19:02:00 2013	(r312075)
@@ -1,4 +1,4 @@
-SHA256 (clang-3.3.r172076.tar.bz2) = 599fa9ebab5ed995caf0449126c07d96ad8689c0b3366bc5ee934657deb8e470
-SIZE (clang-3.3.r172076.tar.bz2) = 7142820
-SHA256 (llvm-3.3.r172076.tar.bz2) = e6af04f790c94124c5b1abf93f3a24a07d6490bcfa4821e4e4425aa1e87085a2
-SIZE (llvm-3.3.r172076.tar.bz2) = 9587232
+SHA256 (clang-3.3.r174891.tar.bz2) = cb4c5a4ef765f877a17f11c611306f906f93ef30b456b9b7ea3cfa8d3ebde8a2
+SIZE (clang-3.3.r174891.tar.bz2) = 7254343
+SHA256 (llvm-3.3.r174891.tar.bz2) = 7d0f782d04e6c18885ce02d6e345fe3bd8d63fec8304e68e0086971a65171887
+SIZE (llvm-3.3.r174891.tar.bz2) = 9961214

Modified: head/lang/clang-devel/pkg-plist
==============================================================================
--- head/lang/clang-devel/pkg-plist	Mon Feb 11 19:00:17 2013	(r312074)
+++ head/lang/clang-devel/pkg-plist	Mon Feb 11 19:02:00 2013	(r312075)
@@ -36,8 +36,10 @@ include/clang/AST/CharUnits.h
 include/clang/AST/Comment.h
 include/clang/AST/CommentBriefParser.h
 include/clang/AST/CommentCommandInfo.inc
+include/clang/AST/CommentCommandList.inc
 include/clang/AST/CommentCommandTraits.h
 include/clang/AST/CommentDiagnostic.h
+include/clang/AST/CommentHTMLNamedCharacterReferences.inc
 include/clang/AST/CommentHTMLTags.inc
 include/clang/AST/CommentHTMLTagsProperties.inc
 include/clang/AST/CommentLexer.h
@@ -138,7 +140,7 @@ include/clang/Basic/BuiltinsMips.def
 include/clang/Basic/BuiltinsNVPTX.def
 include/clang/Basic/BuiltinsPPC.def
 include/clang/Basic/BuiltinsX86.def
-include/clang/Basic/ConvertUTF.h
+include/clang/Basic/CharInfo.h
 include/clang/Basic/Diagnostic.h
 include/clang/Basic/DiagnosticASTKinds.inc
 include/clang/Basic/DiagnosticAnalysisKinds.inc
@@ -184,6 +186,7 @@ include/clang/Basic/SourceManager.h
 include/clang/Basic/SourceManagerInternals.h
 include/clang/Basic/Specifiers.h
 include/clang/Basic/TargetBuiltins.h
+include/clang/Basic/TargetCXXABI.h
 include/clang/Basic/TargetInfo.h
 include/clang/Basic/TargetOptions.h
 include/clang/Basic/TemplateKinds.h
@@ -300,6 +303,7 @@ include/clang/Rewrite/Frontend/Rewriters
 include/clang/Sema/AnalysisBasedWarnings.h
 include/clang/Sema/AttrParsedAttrKinds.inc
 include/clang/Sema/AttrParsedAttrList.inc
+include/clang/Sema/AttrSpellingListIndex.inc
 include/clang/Sema/AttrTemplateInstantiate.inc
 include/clang/Sema/AttributeList.h
 include/clang/Sema/CXXFieldCollector.h
@@ -337,6 +341,7 @@ include/clang/Serialization/ASTWriter.h
 include/clang/Serialization/AttrPCHRead.inc
 include/clang/Serialization/AttrPCHWrite.inc
 include/clang/Serialization/ContinuousRangeMap.h
+include/clang/Serialization/GlobalModuleIndex.h
 include/clang/Serialization/Module.h
 include/clang/Serialization/ModuleManager.h
 include/clang/Serialization/SerializationDiagnostic.h

Modified: head/lang/dragonegg-devel46/distinfo
==============================================================================
--- head/lang/dragonegg-devel46/distinfo	Mon Feb 11 19:00:17 2013	(r312074)
+++ head/lang/dragonegg-devel46/distinfo	Mon Feb 11 19:02:00 2013	(r312075)
@@ -1,2 +1,2 @@
-SHA256 (dragonegg-3.3.r172076.tar.bz2) = 2919cb27b8c8ce8980023548eb1271726f09fc1ba9062e93452f2edd84bc1416
-SIZE (dragonegg-3.3.r172076.tar.bz2) = 581481
+SHA256 (dragonegg-3.3.r174891.tar.bz2) = f693339df8b2c42f1a65904ed98bc6c9235253d44eb09151d2052183819fc438
+SIZE (dragonegg-3.3.r174891.tar.bz2) = 579740



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201302111902.r1BJ204S009430>