diff --git a/devel/llvm/Makefile b/devel/llvm/Makefile index e0b0ff3f3d1c..c30e8bc10297 100644 --- a/devel/llvm/Makefile +++ b/devel/llvm/Makefile @@ -1,136 +1,132 @@ # New ports collection makefile for: llvm # Date created: 20 Nov 2005 # Whom: Hye-Shik Chang # # $FreeBSD$ # PORTNAME= llvm -PORTVERSION= 2.8 -PORTREVISION= 3 +PORTVERSION= 2.9 CATEGORIES= devel lang MASTER_SITES= http://llvm.org/releases/${PORTVERSION}/ EXTRACT_SUFX= .tgz MAINTAINER= brooks@FreeBSD.org COMMENT= Low Level Virtual Machine .if defined(PACKAGE_BUILDING) || defined(MAINTAINER_MODE) USE_PYTHON_BUILD= yes BUILD_DEPENDS= bash:${PORTSDIR}/shells/bash .endif .if defined(MAINTAINER_MODE) BUILD_DEPENDS+= f2c:${PORTSDIR}/lang/f2c .endif CONFLICTS= llvm-devel-2.[0-9]* llvm-etoile-2.[0-9]* GNU_CONFIGURE= yes USE_GCC= 4.2+ USE_GMAKE= yes USE_LDCONFIG= yes USE_PERL5= yes MAKE_JOBS_SAFE= yes .if defined(MAINTAINER_MODE) CONFIGURE_ARGS+= --with-f2c=${LOCALBASE} .else CONFIGURE_ARGS+= --enable-optimized .endif CONFIGURE_ARGS+= --enable-bindings=none OPTIONS= ASSERTS "Enable assertions (thread unsafe)" off .if defined(NOPORTDOCS) -DOCSRCDIR= -.else -DOCSRCDIR= docs +CONFIGURE_ARGS+= --disable-docs .endif MAN1= bugpoint.1 lit.1 llc.1 lli.1 llvm-ar.1 \ llvm-as.1 llvm-bcanalyzer.1 llvm-config.1 llvm-diff.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 .include .if ${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_ASSERTS) CONFIGURE_ARGS+= --enable-assertions .else CONFIGURE_ARGS+= --disable-assertions .endif post-patch: ${REINPLACE_CMD} -e 's|\(PROJ_docsdir.*:=\).*$$|\1${DOCSDIR}|g' \ ${WRKSRC}/Makefile.config.in ${REINPLACE_CMD} -e 's|\(PROJ_mandir.*:=\).*$$|\1${MANPREFIX}/man|g' \ ${WRKSRC}/Makefile.config.in - ${REINPLACE_CMD} -e 's|%%DOCSRCDIR%%|${DOCSRCDIR}|' \ - ${WRKSRC}/Makefile .if defined(NOPORTDOCS) post-build: @cd ${WRKSRC}/docs/CommandGuide && ${GMAKE} ${MAN1} post-install: .for man in ${MAN1} @${INSTALL_MAN} ${WRKSRC}/docs/CommandGuide/${man} \ ${MANPREFIX}/man/man1/ .endfor .endif TEST_CMD= '(cd ${WRKSRC}/test; ${SETENV} ${MAKE_ENV} ${GMAKE} check-local-lit)' regression-test: ${BUILD_COOKIE} if [ `${ID} -u` = 0 ]; then \ ${CHOWN} -R nobody ${WRKSRC}/test; \ su -m nobody -c ${TEST_CMD}; \ else \ ${SH} -c ${TEST_CMD}; \ fi PLIST_FILE_LIST= bin/bugpoint \ bin/llc \ bin/lli \ bin/llvm* \ + bin/macho-dump \ bin/opt \ bin/tblgen \ - lib/libBugpointPasses.so \ + lib/BugpointPasses.so \ lib/libCompilerDriver.a \ lib/libEnhancedDisassembly.so \ lib/libEnhancedDisassembly.a \ + lib/LLVMHello.so \ lib/libLTO.* \ lib/libLLVM* \ - lib/libUnitTestMain.a \ - lib/libprofile_rt.so + lib/profile_rt.so PLIST_DIR_LIST= include/llvm-c \ include/llvm build-plist: ${RM} -f ${PLIST} cd ${PREFIX} && \ (ls ${PLIST_FILE_LIST}; ${FIND} ${PLIST_DIR_LIST} -type f) | \ ${SORT} >> ${PLIST} ${FIND} ${DOCSDIR} -type f | \ ${SED} -e 's|${DOCSDIR}|%%PORTDOCS%%%%DOCSDIR%%|' | \ ${SORT} >> ${PLIST} cd ${PREFIX} && \ ${FIND} ${PLIST_DIR_LIST} -type d | \ ${SORT} -r | ${SED} -e 's|^|@dirrm |' >> ${PLIST} ${FIND} ${DOCSDIR} -type d | ${SORT} -r | \ ${SED} -e 's|${DOCSDIR}|%%DOCSDIR%%|' \ -e 's|^|%%PORTDOCS%%@dirrm |' >> ${PLIST} .include diff --git a/devel/llvm/distinfo b/devel/llvm/distinfo index 4d8a8661e393..324c661a74d9 100644 --- a/devel/llvm/distinfo +++ b/devel/llvm/distinfo @@ -1,2 +1,2 @@ -SHA256 (llvm-2.8.tgz) = 25addb742f1c6cc12877ed0ee924dda962d848368ee095be8e48342ae613d43b -SIZE (llvm-2.8.tgz) = 9112527 +SHA256 (llvm-2.9.tgz) = 661236cfa17428b48cfa9cbb9909f7569c64b8ecd219fd91dbc00e3b557b3779 +SIZE (llvm-2.9.tgz) = 9574781 diff --git a/devel/llvm/files/patch-Makefile b/devel/llvm/files/patch-Makefile deleted file mode 100644 index cb94b0f8e06a..000000000000 --- a/devel/llvm/files/patch-Makefile +++ /dev/null @@ -1,11 +0,0 @@ ---- 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-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/files/patch-lib_Target_X86_X86ISelLowering.cpp b/devel/llvm/files/patch-lib_Target_X86_X86ISelLowering.cpp deleted file mode 100644 index 1b18d8007d66..000000000000 --- a/devel/llvm/files/patch-lib_Target_X86_X86ISelLowering.cpp +++ /dev/null @@ -1,27 +0,0 @@ - -$FreeBSD$ - ---- lib/Target/X86/X86ISelLowering.cpp.orig -+++ lib/Target/X86/X86ISelLowering.cpp -@@ -5414,11 +5414,19 @@ - return getMOVL(DAG, dl, VT, V2, V1); - } - -- if (X86::isUNPCKL_v_undef_Mask(SVOp) || X86::isUNPCKLMask(SVOp)) -+ if (X86::isUNPCKL_v_undef_Mask(SVOp)) -+ return (isMMX) ? -+ Op : getTargetShuffleNode(getUNPCKLOpcode(VT), dl, VT, V1, V1, DAG); -+ -+ if (X86::isUNPCKLMask(SVOp)) - return (isMMX) ? - Op : getTargetShuffleNode(getUNPCKLOpcode(VT), dl, VT, V1, V2, DAG); - -- if (X86::isUNPCKH_v_undef_Mask(SVOp) || X86::isUNPCKHMask(SVOp)) -+ if (X86::isUNPCKH_v_undef_Mask(SVOp)) -+ return (isMMX) ? -+ Op : getTargetShuffleNode(getUNPCKHOpcode(VT), dl, VT, V1, V1, DAG); -+ -+ if (X86::isUNPCKHMask(SVOp)) - return (isMMX) ? - Op : getTargetShuffleNode(getUNPCKHOpcode(VT), dl, VT, V1, V2, DAG); - diff --git a/devel/llvm/pkg-plist b/devel/llvm/pkg-plist index 8e7c232f3bd2..fa8d3c179435 100644 --- a/devel/llvm/pkg-plist +++ b/devel/llvm/pkg-plist @@ -1,664 +1,689 @@ bin/bugpoint bin/llc bin/lli bin/llvm-ar bin/llvm-as bin/llvm-bcanalyzer bin/llvm-config bin/llvm-diff bin/llvm-dis bin/llvm-extract bin/llvm-ld bin/llvm-link bin/llvm-mc bin/llvm-nm +bin/llvm-objdump bin/llvm-prof bin/llvm-ranlib bin/llvm-stub bin/llvmc +bin/macho-dump bin/opt bin/tblgen 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/Initialization.h include/llvm-c/LinkTimeOptimizer.h include/llvm-c/Target.h include/llvm-c/Transforms/IPO.h include/llvm-c/Transforms/Scalar.h include/llvm-c/lto.h include/llvm/ADT/APFloat.h include/llvm/ADT/APInt.h include/llvm/ADT/APSInt.h +include/llvm/ADT/ArrayRef.h include/llvm/ADT/BitVector.h include/llvm/ADT/DAGDeltaAlgorithm.h include/llvm/ADT/DeltaAlgorithm.h include/llvm/ADT/DenseMap.h include/llvm/ADT/DenseMapInfo.h include/llvm/ADT/DenseSet.h include/llvm/ADT/DepthFirstIterator.h include/llvm/ADT/EquivalenceClasses.h include/llvm/ADT/FoldingSet.h include/llvm/ADT/GraphTraits.h include/llvm/ADT/ImmutableIntervalMap.h include/llvm/ADT/ImmutableList.h include/llvm/ADT/ImmutableMap.h include/llvm/ADT/ImmutableSet.h +include/llvm/ADT/InMemoryStruct.h include/llvm/ADT/IndexedMap.h +include/llvm/ADT/IntEqClasses.h +include/llvm/ADT/IntervalMap.h include/llvm/ADT/IntrusiveRefCntPtr.h include/llvm/ADT/NullablePtr.h include/llvm/ADT/Optional.h include/llvm/ADT/OwningPtr.h include/llvm/ADT/PointerIntPair.h include/llvm/ADT/PointerUnion.h include/llvm/ADT/PostOrderIterator.h include/llvm/ADT/PriorityQueue.h include/llvm/ADT/SCCIterator.h 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 include/llvm/ADT/SmallVector.h include/llvm/ADT/SparseBitVector.h include/llvm/ADT/Statistic.h 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/AbstractTypeUser.h include/llvm/Analysis/AliasAnalysis.h include/llvm/Analysis/AliasSetTracker.h include/llvm/Analysis/CFGPrinter.h include/llvm/Analysis/CallGraph.h include/llvm/Analysis/CaptureTracking.h include/llvm/Analysis/CodeMetrics.h include/llvm/Analysis/ConstantFolding.h include/llvm/Analysis/ConstantsScanner.h +include/llvm/Analysis/DIBuilder.h include/llvm/Analysis/DOTGraphTraitsPass.h include/llvm/Analysis/DebugInfo.h include/llvm/Analysis/DomPrinter.h +include/llvm/Analysis/DominanceFrontier.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/Lint.h -include/llvm/Analysis/LiveValues.h include/llvm/Analysis/Loads.h include/llvm/Analysis/LoopDependenceAnalysis.h include/llvm/Analysis/LoopInfo.h include/llvm/Analysis/LoopPass.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/PathNumbering.h +include/llvm/Analysis/PathProfileInfo.h include/llvm/Analysis/PostDominators.h include/llvm/Analysis/ProfileInfo.h include/llvm/Analysis/ProfileInfoLoader.h include/llvm/Analysis/ProfileInfoTypes.h include/llvm/Analysis/RegionInfo.h include/llvm/Analysis/RegionIterator.h +include/llvm/Analysis/RegionPass.h include/llvm/Analysis/RegionPrinter.h include/llvm/Analysis/ScalarEvolution.h include/llvm/Analysis/ScalarEvolutionExpander.h include/llvm/Analysis/ScalarEvolutionExpressions.h include/llvm/Analysis/ScalarEvolutionNormalization.h include/llvm/Analysis/SparsePropagation.h include/llvm/Analysis/Trace.h include/llvm/Analysis/ValueTracking.h include/llvm/Analysis/Verifier.h include/llvm/Argument.h include/llvm/Assembly/AssemblyAnnotationWriter.h 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/BasicBlock.h include/llvm/Bitcode/Archive.h include/llvm/Bitcode/BitCodes.h include/llvm/Bitcode/BitstreamReader.h include/llvm/Bitcode/BitstreamWriter.h include/llvm/Bitcode/LLVMBitCodes.h include/llvm/Bitcode/ReaderWriter.h -include/llvm/CMakeLists.txt include/llvm/CallGraphSCCPass.h include/llvm/CallingConv.h include/llvm/CodeGen/Analysis.h include/llvm/CodeGen/AsmPrinter.h include/llvm/CodeGen/BinaryObject.h include/llvm/CodeGen/CalcSpillWeights.h include/llvm/CodeGen/CallingConvLower.h +include/llvm/CodeGen/EdgeBundles.h include/llvm/CodeGen/FastISel.h include/llvm/CodeGen/FunctionLoweringInfo.h include/llvm/CodeGen/GCMetadata.h include/llvm/CodeGen/GCMetadataPrinter.h include/llvm/CodeGen/GCStrategy.h include/llvm/CodeGen/GCs.h include/llvm/CodeGen/ISDOpcodes.h include/llvm/CodeGen/IntrinsicLowering.h include/llvm/CodeGen/JITCodeEmitter.h include/llvm/CodeGen/LatencyPriorityQueue.h include/llvm/CodeGen/LinkAllAsmWriterComponents.h include/llvm/CodeGen/LinkAllCodegenComponents.h include/llvm/CodeGen/LiveInterval.h include/llvm/CodeGen/LiveIntervalAnalysis.h include/llvm/CodeGen/LiveStackAnalysis.h include/llvm/CodeGen/LiveVariables.h include/llvm/CodeGen/MachORelocation.h include/llvm/CodeGen/MachineBasicBlock.h include/llvm/CodeGen/MachineCodeEmitter.h include/llvm/CodeGen/MachineCodeInfo.h include/llvm/CodeGen/MachineConstantPool.h include/llvm/CodeGen/MachineDominators.h include/llvm/CodeGen/MachineFrameInfo.h include/llvm/CodeGen/MachineFunction.h include/llvm/CodeGen/MachineFunctionAnalysis.h include/llvm/CodeGen/MachineFunctionPass.h include/llvm/CodeGen/MachineInstr.h include/llvm/CodeGen/MachineInstrBuilder.h include/llvm/CodeGen/MachineJumpTableInfo.h include/llvm/CodeGen/MachineLocation.h include/llvm/CodeGen/MachineLoopInfo.h +include/llvm/CodeGen/MachineLoopRanges.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/PBQP/Graph.h +include/llvm/CodeGen/PBQP/HeuristicBase.h +include/llvm/CodeGen/PBQP/HeuristicSolver.h +include/llvm/CodeGen/PBQP/Heuristics/Briggs.h +include/llvm/CodeGen/PBQP/Math.h +include/llvm/CodeGen/PBQP/Solution.h include/llvm/CodeGen/Passes.h -include/llvm/CodeGen/PostRAHazardRecognizer.h include/llvm/CodeGen/ProcessImplicitDefs.h include/llvm/CodeGen/PseudoSourceValue.h +include/llvm/CodeGen/RegAllocPBQP.h include/llvm/CodeGen/RegAllocRegistry.h include/llvm/CodeGen/RegisterCoalescer.h include/llvm/CodeGen/RegisterScavenging.h include/llvm/CodeGen/RuntimeLibcalls.h include/llvm/CodeGen/ScheduleDAG.h include/llvm/CodeGen/ScheduleHazardRecognizer.h include/llvm/CodeGen/SchedulerRegistry.h +include/llvm/CodeGen/ScoreboardHazardRecognizer.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 include/llvm/CompilerDriver/AutoGenerated.h include/llvm/CompilerDriver/BuiltinOptions.h include/llvm/CompilerDriver/Common.td include/llvm/CompilerDriver/CompilationGraph.h include/llvm/CompilerDriver/Error.h include/llvm/CompilerDriver/Main.h include/llvm/CompilerDriver/Main.inc 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/config.h -include/llvm/Config/config.h.cmake include/llvm/Config/llvm-config.h -include/llvm/Config/llvm-config.h.cmake include/llvm/Constant.h include/llvm/Constants.h include/llvm/DerivedTypes.h include/llvm/ExecutionEngine/ExecutionEngine.h include/llvm/ExecutionEngine/GenericValue.h include/llvm/ExecutionEngine/Interpreter.h include/llvm/ExecutionEngine/JIT.h include/llvm/ExecutionEngine/JITEventListener.h include/llvm/ExecutionEngine/JITMemoryManager.h +include/llvm/ExecutionEngine/MCJIT.h include/llvm/Function.h include/llvm/GVMaterializer.h include/llvm/GlobalAlias.h include/llvm/GlobalValue.h include/llvm/GlobalVariable.h +include/llvm/InitializePasses.h include/llvm/InlineAsm.h include/llvm/InstrTypes.h include/llvm/Instruction.def include/llvm/Instruction.h include/llvm/Instructions.h include/llvm/IntrinsicInst.h include/llvm/Intrinsics.gen include/llvm/Intrinsics.h include/llvm/Intrinsics.td include/llvm/IntrinsicsARM.td include/llvm/IntrinsicsAlpha.td include/llvm/IntrinsicsCellSPU.td +include/llvm/IntrinsicsPTX.td include/llvm/IntrinsicsPowerPC.td include/llvm/IntrinsicsX86.td include/llvm/IntrinsicsXCore.td include/llvm/LLVMContext.h include/llvm/LinkAllPasses.h include/llvm/LinkAllVMCore.h include/llvm/Linker.h include/llvm/MC/EDInstInfo.h -include/llvm/MC/ELFObjectWriter.h include/llvm/MC/MCAsmInfo.h include/llvm/MC/MCAsmInfoCOFF.h include/llvm/MC/MCAsmInfoDarwin.h include/llvm/MC/MCAsmLayout.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/MCDwarf.h +include/llvm/MC/MCELFObjectWriter.h include/llvm/MC/MCELFSymbolFlags.h include/llvm/MC/MCExpr.h include/llvm/MC/MCFixup.h +include/llvm/MC/MCFixupKindInfo.h include/llvm/MC/MCInst.h include/llvm/MC/MCInstPrinter.h include/llvm/MC/MCLabel.h include/llvm/MC/MCMachOSymbolFlags.h +include/llvm/MC/MCMachObjectWriter.h include/llvm/MC/MCObjectStreamer.h include/llvm/MC/MCObjectWriter.h include/llvm/MC/MCParser/AsmCond.h include/llvm/MC/MCParser/AsmLexer.h include/llvm/MC/MCParser/MCAsmLexer.h include/llvm/MC/MCParser/MCAsmParser.h include/llvm/MC/MCParser/MCAsmParserExtension.h include/llvm/MC/MCParser/MCParsedAsmOperand.h include/llvm/MC/MCSection.h include/llvm/MC/MCSectionCOFF.h include/llvm/MC/MCSectionELF.h include/llvm/MC/MCSectionMachO.h include/llvm/MC/MCStreamer.h include/llvm/MC/MCSymbol.h include/llvm/MC/MCValue.h -include/llvm/MC/MachObjectWriter.h include/llvm/MC/SectionKind.h include/llvm/Metadata.h include/llvm/Module.h +include/llvm/Object/MachOFormat.h +include/llvm/Object/MachOObject.h +include/llvm/Object/ObjectFile.h include/llvm/OperandTraits.h include/llvm/Operator.h include/llvm/Pass.h include/llvm/PassAnalysisSupport.h include/llvm/PassManager.h include/llvm/PassManagers.h include/llvm/PassRegistry.h include/llvm/PassSupport.h +include/llvm/Support/AIXDataTypesFix.h include/llvm/Support/AlignOf.h include/llvm/Support/Allocator.h +include/llvm/Support/Atomic.h include/llvm/Support/CFG.h include/llvm/Support/COFF.h include/llvm/Support/CallSite.h include/llvm/Support/Casting.h include/llvm/Support/CommandLine.h include/llvm/Support/Compiler.h include/llvm/Support/ConstantFolder.h include/llvm/Support/ConstantRange.h include/llvm/Support/CrashRecoveryContext.h include/llvm/Support/DOTGraphTraits.h include/llvm/Support/DataFlow.h +include/llvm/Support/DataTypes.h include/llvm/Support/Debug.h include/llvm/Support/DebugLoc.h +include/llvm/Support/Disassembler.h include/llvm/Support/Dwarf.h -include/llvm/Support/DynamicLinker.h +include/llvm/Support/DynamicLibrary.h include/llvm/Support/ELF.h +include/llvm/Support/Endian.h +include/llvm/Support/Errno.h include/llvm/Support/ErrorHandling.h +include/llvm/Support/FEnv.h +include/llvm/Support/FileSystem.h include/llvm/Support/FileUtilities.h include/llvm/Support/Format.h include/llvm/Support/FormattedStream.h include/llvm/Support/GetElementPtrTypeIterator.h include/llvm/Support/GraphWriter.h +include/llvm/Support/Host.h include/llvm/Support/IRBuilder.h include/llvm/Support/IRReader.h +include/llvm/Support/IncludeFile.h include/llvm/Support/InstIterator.h include/llvm/Support/InstVisitor.h +include/llvm/Support/LICENSE.TXT include/llvm/Support/LeakDetector.h include/llvm/Support/MachO.h include/llvm/Support/ManagedStatic.h include/llvm/Support/MathExtras.h +include/llvm/Support/Memory.h include/llvm/Support/MemoryBuffer.h include/llvm/Support/MemoryObject.h +include/llvm/Support/Mutex.h include/llvm/Support/MutexGuard.h include/llvm/Support/NoFolder.h include/llvm/Support/OutputBuffer.h include/llvm/Support/PassNameParser.h +include/llvm/Support/Path.h +include/llvm/Support/PathV1.h +include/llvm/Support/PathV2.h include/llvm/Support/PatternMatch.h include/llvm/Support/PluginLoader.h include/llvm/Support/PointerLikeTypeTraits.h include/llvm/Support/PredIteratorCache.h include/llvm/Support/PrettyStackTrace.h +include/llvm/Support/Process.h +include/llvm/Support/Program.h +include/llvm/Support/RWMutex.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/Signals.h +include/llvm/Support/Solaris.h include/llvm/Support/SourceMgr.h -include/llvm/Support/StableBasicBlockNumbering.h include/llvm/Support/StandardPasses.h include/llvm/Support/StringPool.h +include/llvm/Support/SwapByteOrder.h include/llvm/Support/SystemUtils.h include/llvm/Support/TargetFolder.h +include/llvm/Support/ThreadLocal.h +include/llvm/Support/Threading.h +include/llvm/Support/TimeValue.h include/llvm/Support/Timer.h +include/llvm/Support/ToolOutputFile.h include/llvm/Support/TypeBuilder.h +include/llvm/Support/Valgrind.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/system_error.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 -include/llvm/System/Host.h -include/llvm/System/IncludeFile.h -include/llvm/System/LICENSE.TXT -include/llvm/System/Memory.h -include/llvm/System/Mutex.h -include/llvm/System/Path.h -include/llvm/System/Process.h -include/llvm/System/Program.h -include/llvm/System/RWMutex.h -include/llvm/System/Signals.h -include/llvm/System/Solaris.h -include/llvm/System/ThreadLocal.h -include/llvm/System/Threading.h -include/llvm/System/TimeValue.h -include/llvm/System/Valgrind.h include/llvm/Target/Mangler.h include/llvm/Target/SubtargetFeature.h include/llvm/Target/Target.td include/llvm/Target/TargetAsmBackend.h +include/llvm/Target/TargetAsmInfo.h include/llvm/Target/TargetAsmLexer.h include/llvm/Target/TargetAsmParser.h include/llvm/Target/TargetCallingConv.h include/llvm/Target/TargetCallingConv.td include/llvm/Target/TargetData.h include/llvm/Target/TargetELFWriterInfo.h -include/llvm/Target/TargetFrameInfo.h +include/llvm/Target/TargetFrameLowering.h include/llvm/Target/TargetInstrDesc.h include/llvm/Target/TargetInstrInfo.h include/llvm/Target/TargetInstrItineraries.h include/llvm/Target/TargetIntrinsicInfo.h include/llvm/Target/TargetJITInfo.h +include/llvm/Target/TargetLibraryInfo.h include/llvm/Target/TargetLowering.h include/llvm/Target/TargetLoweringObjectFile.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 include/llvm/Target/TargetSchedule.td include/llvm/Target/TargetSelect.h include/llvm/Target/TargetSelectionDAG.td include/llvm/Target/TargetSelectionDAGInfo.h include/llvm/Target/TargetSubtarget.h include/llvm/Transforms/IPO.h include/llvm/Transforms/IPO/InlinerPass.h include/llvm/Transforms/Instrumentation.h -include/llvm/Transforms/RSProfiling.h 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/Local.h include/llvm/Transforms/Utils/PromoteMemToReg.h include/llvm/Transforms/Utils/SSAUpdater.h include/llvm/Transforms/Utils/SSAUpdaterImpl.h include/llvm/Transforms/Utils/UnifyFunctionExitNodes.h include/llvm/Transforms/Utils/UnrollLoop.h include/llvm/Transforms/Utils/ValueMapper.h include/llvm/Type.h include/llvm/TypeSymbolTable.h include/llvm/Use.h include/llvm/User.h include/llvm/Value.h include/llvm/ValueSymbolTable.h -lib/libBugpointPasses.so +lib/BugpointPasses.so +lib/LLVMHello.so lib/libCompilerDriver.a lib/libEnhancedDisassembly.a lib/libEnhancedDisassembly.so lib/libLLVMARMAsmParser.a lib/libLLVMARMAsmPrinter.a lib/libLLVMARMCodeGen.a lib/libLLVMARMDisassembler.a lib/libLLVMARMInfo.a -lib/libLLVMAlphaAsmPrinter.a lib/libLLVMAlphaCodeGen.a lib/libLLVMAlphaInfo.a lib/libLLVMAnalysis.a lib/libLLVMArchive.a lib/libLLVMAsmParser.a lib/libLLVMAsmPrinter.a lib/libLLVMBitReader.a lib/libLLVMBitWriter.a -lib/libLLVMBlackfinAsmPrinter.a lib/libLLVMBlackfinCodeGen.a lib/libLLVMBlackfinInfo.a lib/libLLVMCBackend.a lib/libLLVMCBackendInfo.a -lib/libLLVMCellSPUAsmPrinter.a lib/libLLVMCellSPUCodeGen.a lib/libLLVMCellSPUInfo.a lib/libLLVMCodeGen.a lib/libLLVMCore.a lib/libLLVMCppBackend.a lib/libLLVMCppBackendInfo.a lib/libLLVMExecutionEngine.a -lib/libLLVMHello.so lib/libLLVMInstCombine.a lib/libLLVMInstrumentation.a lib/libLLVMInterpreter.a lib/libLLVMJIT.a lib/libLLVMLinker.a +lib/libLLVMMBlazeAsmParser.a lib/libLLVMMBlazeAsmPrinter.a lib/libLLVMMBlazeCodeGen.a +lib/libLLVMMBlazeDisassembler.a lib/libLLVMMBlazeInfo.a lib/libLLVMMC.a lib/libLLVMMCDisassembler.a +lib/libLLVMMCJIT.a lib/libLLVMMCParser.a lib/libLLVMMSP430AsmPrinter.a lib/libLLVMMSP430CodeGen.a lib/libLLVMMSP430Info.a -lib/libLLVMMipsAsmPrinter.a lib/libLLVMMipsCodeGen.a lib/libLLVMMipsInfo.a -lib/libLLVMPIC16AsmPrinter.a -lib/libLLVMPIC16CodeGen.a -lib/libLLVMPIC16Info.a +lib/libLLVMObject.a +lib/libLLVMPTXCodeGen.a +lib/libLLVMPTXInfo.a lib/libLLVMPowerPCAsmPrinter.a lib/libLLVMPowerPCCodeGen.a lib/libLLVMPowerPCInfo.a lib/libLLVMScalarOpts.a lib/libLLVMSelectionDAG.a -lib/libLLVMSparcAsmPrinter.a lib/libLLVMSparcCodeGen.a lib/libLLVMSparcInfo.a lib/libLLVMSupport.a -lib/libLLVMSystem.a -lib/libLLVMSystemZAsmPrinter.a lib/libLLVMSystemZCodeGen.a lib/libLLVMSystemZInfo.a lib/libLLVMTarget.a lib/libLLVMTransformUtils.a lib/libLLVMX86AsmParser.a lib/libLLVMX86AsmPrinter.a lib/libLLVMX86CodeGen.a lib/libLLVMX86Disassembler.a lib/libLLVMX86Info.a -lib/libLLVMXCoreAsmPrinter.a +lib/libLLVMX86Utils.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/libprofile_rt.so +lib/profile_rt.so %%PORTDOCS%%%%DOCSDIR%%/html.tar.gz %%PORTDOCS%%%%DOCSDIR%%/html/AliasAnalysis.html %%PORTDOCS%%%%DOCSDIR%%/html/BitCodeFormat.html %%PORTDOCS%%%%DOCSDIR%%/html/Bugpoint.html %%PORTDOCS%%%%DOCSDIR%%/html/CFEBuildInstrs.html %%PORTDOCS%%%%DOCSDIR%%/html/CMake.html %%PORTDOCS%%%%DOCSDIR%%/html/CodeGenerator.html %%PORTDOCS%%%%DOCSDIR%%/html/CodingStandards.html %%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-diff.html %%PORTDOCS%%%%DOCSDIR%%/html/CommandGuide/llvm-dis.html %%PORTDOCS%%%%DOCSDIR%%/html/CommandGuide/llvm-extract.html %%PORTDOCS%%%%DOCSDIR%%/html/CommandGuide/llvm-ld.html %%PORTDOCS%%%%DOCSDIR%%/html/CommandGuide/llvm-link.html %%PORTDOCS%%%%DOCSDIR%%/html/CommandGuide/llvm-nm.html %%PORTDOCS%%%%DOCSDIR%%/html/CommandGuide/llvm-prof.html %%PORTDOCS%%%%DOCSDIR%%/html/CommandGuide/llvm-ranlib.html %%PORTDOCS%%%%DOCSDIR%%/html/CommandGuide/llvmc.html %%PORTDOCS%%%%DOCSDIR%%/html/CommandGuide/llvmgcc.html %%PORTDOCS%%%%DOCSDIR%%/html/CommandGuide/llvmgxx.html %%PORTDOCS%%%%DOCSDIR%%/html/CommandGuide/manpage.css %%PORTDOCS%%%%DOCSDIR%%/html/CommandGuide/opt.html %%PORTDOCS%%%%DOCSDIR%%/html/CommandGuide/tblgen.html %%PORTDOCS%%%%DOCSDIR%%/html/CommandLine.html %%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 %%PORTDOCS%%%%DOCSDIR%%/html/FAQ.html %%PORTDOCS%%%%DOCSDIR%%/html/GCCFEBuildInstrs.html %%PORTDOCS%%%%DOCSDIR%%/html/GarbageCollection.html %%PORTDOCS%%%%DOCSDIR%%/html/GetElementPtr.html %%PORTDOCS%%%%DOCSDIR%%/html/GettingStarted.html %%PORTDOCS%%%%DOCSDIR%%/html/GettingStartedVS.html %%PORTDOCS%%%%DOCSDIR%%/html/GoldPlugin.html %%PORTDOCS%%%%DOCSDIR%%/html/HowToReleaseLLVM.html %%PORTDOCS%%%%DOCSDIR%%/html/HowToSubmitABug.html %%PORTDOCS%%%%DOCSDIR%%/html/LangRef.html %%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.html %%PORTDOCS%%%%DOCSDIR%%/html/SourceLevelDebugging.html %%PORTDOCS%%%%DOCSDIR%%/html/SystemLibrary.html %%PORTDOCS%%%%DOCSDIR%%/html/TableGenFundamentals.html %%PORTDOCS%%%%DOCSDIR%%/html/TestingGuide.html %%PORTDOCS%%%%DOCSDIR%%/html/UsingLibraries.html %%PORTDOCS%%%%DOCSDIR%%/html/WritingAnLLVMBackend.html %%PORTDOCS%%%%DOCSDIR%%/html/WritingAnLLVMPass.html %%PORTDOCS%%%%DOCSDIR%%/html/doxygen.css %%PORTDOCS%%%%DOCSDIR%%/html/img/Debugging.gif %%PORTDOCS%%%%DOCSDIR%%/html/img/libdeps.gif %%PORTDOCS%%%%DOCSDIR%%/html/img/lines.gif %%PORTDOCS%%%%DOCSDIR%%/html/img/objdeps.gif %%PORTDOCS%%%%DOCSDIR%%/html/img/venusflytrap.jpg %%PORTDOCS%%%%DOCSDIR%%/html/index.html %%PORTDOCS%%%%DOCSDIR%%/html/llvm.css %%PORTDOCS%%%%DOCSDIR%%/html/tutorial/LangImpl1.html %%PORTDOCS%%%%DOCSDIR%%/html/tutorial/LangImpl2.html %%PORTDOCS%%%%DOCSDIR%%/html/tutorial/LangImpl3.html %%PORTDOCS%%%%DOCSDIR%%/html/tutorial/LangImpl4.html %%PORTDOCS%%%%DOCSDIR%%/html/tutorial/LangImpl5.html %%PORTDOCS%%%%DOCSDIR%%/html/tutorial/LangImpl6.html %%PORTDOCS%%%%DOCSDIR%%/html/tutorial/LangImpl7.html %%PORTDOCS%%%%DOCSDIR%%/html/tutorial/LangImpl8.html %%PORTDOCS%%%%DOCSDIR%%/html/tutorial/OCamlLangImpl1.html %%PORTDOCS%%%%DOCSDIR%%/html/tutorial/OCamlLangImpl2.html %%PORTDOCS%%%%DOCSDIR%%/html/tutorial/OCamlLangImpl3.html %%PORTDOCS%%%%DOCSDIR%%/html/tutorial/OCamlLangImpl4.html %%PORTDOCS%%%%DOCSDIR%%/html/tutorial/OCamlLangImpl5.html %%PORTDOCS%%%%DOCSDIR%%/html/tutorial/OCamlLangImpl6.html %%PORTDOCS%%%%DOCSDIR%%/html/tutorial/OCamlLangImpl7.html +%%PORTDOCS%%%%DOCSDIR%%/html/tutorial/OCamlLangImpl8.html %%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-diff.ps %%PORTDOCS%%%%DOCSDIR%%/ps/llvm-dis.ps %%PORTDOCS%%%%DOCSDIR%%/ps/llvm-extract.ps %%PORTDOCS%%%%DOCSDIR%%/ps/llvm-ld.ps %%PORTDOCS%%%%DOCSDIR%%/ps/llvm-link.ps %%PORTDOCS%%%%DOCSDIR%%/ps/llvm-nm.ps %%PORTDOCS%%%%DOCSDIR%%/ps/llvm-prof.ps %%PORTDOCS%%%%DOCSDIR%%/ps/llvm-ranlib.ps %%PORTDOCS%%%%DOCSDIR%%/ps/llvmc.ps %%PORTDOCS%%%%DOCSDIR%%/ps/llvmgcc.ps %%PORTDOCS%%%%DOCSDIR%%/ps/llvmgxx.ps %%PORTDOCS%%%%DOCSDIR%%/ps/opt.ps %%PORTDOCS%%%%DOCSDIR%%/ps/tblgen.ps @dirrm include/llvm/Transforms/Utils @dirrm include/llvm/Transforms/IPO @dirrm include/llvm/Transforms @dirrm include/llvm/Target -@dirrm include/llvm/System @dirrm include/llvm/Support +@dirrm include/llvm/Object @dirrm include/llvm/MC/MCParser @dirrm include/llvm/MC @dirrm include/llvm/ExecutionEngine @dirrm include/llvm/Config @dirrm include/llvm/CompilerDriver +@dirrm include/llvm/CodeGen/PBQP/Heuristics +@dirrm include/llvm/CodeGen/PBQP @dirrm include/llvm/CodeGen @dirrm include/llvm/Bitcode @dirrm include/llvm/Assembly @dirrm include/llvm/Analysis @dirrm include/llvm/ADT @dirrm include/llvm-c/Transforms @dirrm include/llvm-c @dirrm include/llvm %%PORTDOCS%%@dirrm %%DOCSDIR%%/ps %%PORTDOCS%%@dirrm %%DOCSDIR%%/html/tutorial %%PORTDOCS%%@dirrm %%DOCSDIR%%/html/img %%PORTDOCS%%@dirrm %%DOCSDIR%%/html/CommandGuide %%PORTDOCS%%@dirrm %%DOCSDIR%%/html %%PORTDOCS%%@dirrm %%DOCSDIR%% diff --git a/devel/llvm29/Makefile b/devel/llvm29/Makefile index e0b0ff3f3d1c..c30e8bc10297 100644 --- a/devel/llvm29/Makefile +++ b/devel/llvm29/Makefile @@ -1,136 +1,132 @@ # New ports collection makefile for: llvm # Date created: 20 Nov 2005 # Whom: Hye-Shik Chang # # $FreeBSD$ # PORTNAME= llvm -PORTVERSION= 2.8 -PORTREVISION= 3 +PORTVERSION= 2.9 CATEGORIES= devel lang MASTER_SITES= http://llvm.org/releases/${PORTVERSION}/ EXTRACT_SUFX= .tgz MAINTAINER= brooks@FreeBSD.org COMMENT= Low Level Virtual Machine .if defined(PACKAGE_BUILDING) || defined(MAINTAINER_MODE) USE_PYTHON_BUILD= yes BUILD_DEPENDS= bash:${PORTSDIR}/shells/bash .endif .if defined(MAINTAINER_MODE) BUILD_DEPENDS+= f2c:${PORTSDIR}/lang/f2c .endif CONFLICTS= llvm-devel-2.[0-9]* llvm-etoile-2.[0-9]* GNU_CONFIGURE= yes USE_GCC= 4.2+ USE_GMAKE= yes USE_LDCONFIG= yes USE_PERL5= yes MAKE_JOBS_SAFE= yes .if defined(MAINTAINER_MODE) CONFIGURE_ARGS+= --with-f2c=${LOCALBASE} .else CONFIGURE_ARGS+= --enable-optimized .endif CONFIGURE_ARGS+= --enable-bindings=none OPTIONS= ASSERTS "Enable assertions (thread unsafe)" off .if defined(NOPORTDOCS) -DOCSRCDIR= -.else -DOCSRCDIR= docs +CONFIGURE_ARGS+= --disable-docs .endif MAN1= bugpoint.1 lit.1 llc.1 lli.1 llvm-ar.1 \ llvm-as.1 llvm-bcanalyzer.1 llvm-config.1 llvm-diff.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 .include .if ${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_ASSERTS) CONFIGURE_ARGS+= --enable-assertions .else CONFIGURE_ARGS+= --disable-assertions .endif post-patch: ${REINPLACE_CMD} -e 's|\(PROJ_docsdir.*:=\).*$$|\1${DOCSDIR}|g' \ ${WRKSRC}/Makefile.config.in ${REINPLACE_CMD} -e 's|\(PROJ_mandir.*:=\).*$$|\1${MANPREFIX}/man|g' \ ${WRKSRC}/Makefile.config.in - ${REINPLACE_CMD} -e 's|%%DOCSRCDIR%%|${DOCSRCDIR}|' \ - ${WRKSRC}/Makefile .if defined(NOPORTDOCS) post-build: @cd ${WRKSRC}/docs/CommandGuide && ${GMAKE} ${MAN1} post-install: .for man in ${MAN1} @${INSTALL_MAN} ${WRKSRC}/docs/CommandGuide/${man} \ ${MANPREFIX}/man/man1/ .endfor .endif TEST_CMD= '(cd ${WRKSRC}/test; ${SETENV} ${MAKE_ENV} ${GMAKE} check-local-lit)' regression-test: ${BUILD_COOKIE} if [ `${ID} -u` = 0 ]; then \ ${CHOWN} -R nobody ${WRKSRC}/test; \ su -m nobody -c ${TEST_CMD}; \ else \ ${SH} -c ${TEST_CMD}; \ fi PLIST_FILE_LIST= bin/bugpoint \ bin/llc \ bin/lli \ bin/llvm* \ + bin/macho-dump \ bin/opt \ bin/tblgen \ - lib/libBugpointPasses.so \ + lib/BugpointPasses.so \ lib/libCompilerDriver.a \ lib/libEnhancedDisassembly.so \ lib/libEnhancedDisassembly.a \ + lib/LLVMHello.so \ lib/libLTO.* \ lib/libLLVM* \ - lib/libUnitTestMain.a \ - lib/libprofile_rt.so + lib/profile_rt.so PLIST_DIR_LIST= include/llvm-c \ include/llvm build-plist: ${RM} -f ${PLIST} cd ${PREFIX} && \ (ls ${PLIST_FILE_LIST}; ${FIND} ${PLIST_DIR_LIST} -type f) | \ ${SORT} >> ${PLIST} ${FIND} ${DOCSDIR} -type f | \ ${SED} -e 's|${DOCSDIR}|%%PORTDOCS%%%%DOCSDIR%%|' | \ ${SORT} >> ${PLIST} cd ${PREFIX} && \ ${FIND} ${PLIST_DIR_LIST} -type d | \ ${SORT} -r | ${SED} -e 's|^|@dirrm |' >> ${PLIST} ${FIND} ${DOCSDIR} -type d | ${SORT} -r | \ ${SED} -e 's|${DOCSDIR}|%%DOCSDIR%%|' \ -e 's|^|%%PORTDOCS%%@dirrm |' >> ${PLIST} .include diff --git a/devel/llvm29/distinfo b/devel/llvm29/distinfo index 4d8a8661e393..324c661a74d9 100644 --- a/devel/llvm29/distinfo +++ b/devel/llvm29/distinfo @@ -1,2 +1,2 @@ -SHA256 (llvm-2.8.tgz) = 25addb742f1c6cc12877ed0ee924dda962d848368ee095be8e48342ae613d43b -SIZE (llvm-2.8.tgz) = 9112527 +SHA256 (llvm-2.9.tgz) = 661236cfa17428b48cfa9cbb9909f7569c64b8ecd219fd91dbc00e3b557b3779 +SIZE (llvm-2.9.tgz) = 9574781 diff --git a/devel/llvm29/files/patch-Makefile b/devel/llvm29/files/patch-Makefile deleted file mode 100644 index cb94b0f8e06a..000000000000 --- a/devel/llvm29/files/patch-Makefile +++ /dev/null @@ -1,11 +0,0 @@ ---- 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-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/files/patch-lib_Target_X86_X86ISelLowering.cpp b/devel/llvm29/files/patch-lib_Target_X86_X86ISelLowering.cpp deleted file mode 100644 index 1b18d8007d66..000000000000 --- a/devel/llvm29/files/patch-lib_Target_X86_X86ISelLowering.cpp +++ /dev/null @@ -1,27 +0,0 @@ - -$FreeBSD$ - ---- lib/Target/X86/X86ISelLowering.cpp.orig -+++ lib/Target/X86/X86ISelLowering.cpp -@@ -5414,11 +5414,19 @@ - return getMOVL(DAG, dl, VT, V2, V1); - } - -- if (X86::isUNPCKL_v_undef_Mask(SVOp) || X86::isUNPCKLMask(SVOp)) -+ if (X86::isUNPCKL_v_undef_Mask(SVOp)) -+ return (isMMX) ? -+ Op : getTargetShuffleNode(getUNPCKLOpcode(VT), dl, VT, V1, V1, DAG); -+ -+ if (X86::isUNPCKLMask(SVOp)) - return (isMMX) ? - Op : getTargetShuffleNode(getUNPCKLOpcode(VT), dl, VT, V1, V2, DAG); - -- if (X86::isUNPCKH_v_undef_Mask(SVOp) || X86::isUNPCKHMask(SVOp)) -+ if (X86::isUNPCKH_v_undef_Mask(SVOp)) -+ return (isMMX) ? -+ Op : getTargetShuffleNode(getUNPCKHOpcode(VT), dl, VT, V1, V1, DAG); -+ -+ if (X86::isUNPCKHMask(SVOp)) - return (isMMX) ? - Op : getTargetShuffleNode(getUNPCKHOpcode(VT), dl, VT, V1, V2, DAG); - diff --git a/devel/llvm29/pkg-plist b/devel/llvm29/pkg-plist index 8e7c232f3bd2..fa8d3c179435 100644 --- a/devel/llvm29/pkg-plist +++ b/devel/llvm29/pkg-plist @@ -1,664 +1,689 @@ bin/bugpoint bin/llc bin/lli bin/llvm-ar bin/llvm-as bin/llvm-bcanalyzer bin/llvm-config bin/llvm-diff bin/llvm-dis bin/llvm-extract bin/llvm-ld bin/llvm-link bin/llvm-mc bin/llvm-nm +bin/llvm-objdump bin/llvm-prof bin/llvm-ranlib bin/llvm-stub bin/llvmc +bin/macho-dump bin/opt bin/tblgen 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/Initialization.h include/llvm-c/LinkTimeOptimizer.h include/llvm-c/Target.h include/llvm-c/Transforms/IPO.h include/llvm-c/Transforms/Scalar.h include/llvm-c/lto.h include/llvm/ADT/APFloat.h include/llvm/ADT/APInt.h include/llvm/ADT/APSInt.h +include/llvm/ADT/ArrayRef.h include/llvm/ADT/BitVector.h include/llvm/ADT/DAGDeltaAlgorithm.h include/llvm/ADT/DeltaAlgorithm.h include/llvm/ADT/DenseMap.h include/llvm/ADT/DenseMapInfo.h include/llvm/ADT/DenseSet.h include/llvm/ADT/DepthFirstIterator.h include/llvm/ADT/EquivalenceClasses.h include/llvm/ADT/FoldingSet.h include/llvm/ADT/GraphTraits.h include/llvm/ADT/ImmutableIntervalMap.h include/llvm/ADT/ImmutableList.h include/llvm/ADT/ImmutableMap.h include/llvm/ADT/ImmutableSet.h +include/llvm/ADT/InMemoryStruct.h include/llvm/ADT/IndexedMap.h +include/llvm/ADT/IntEqClasses.h +include/llvm/ADT/IntervalMap.h include/llvm/ADT/IntrusiveRefCntPtr.h include/llvm/ADT/NullablePtr.h include/llvm/ADT/Optional.h include/llvm/ADT/OwningPtr.h include/llvm/ADT/PointerIntPair.h include/llvm/ADT/PointerUnion.h include/llvm/ADT/PostOrderIterator.h include/llvm/ADT/PriorityQueue.h include/llvm/ADT/SCCIterator.h 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 include/llvm/ADT/SmallVector.h include/llvm/ADT/SparseBitVector.h include/llvm/ADT/Statistic.h 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/AbstractTypeUser.h include/llvm/Analysis/AliasAnalysis.h include/llvm/Analysis/AliasSetTracker.h include/llvm/Analysis/CFGPrinter.h include/llvm/Analysis/CallGraph.h include/llvm/Analysis/CaptureTracking.h include/llvm/Analysis/CodeMetrics.h include/llvm/Analysis/ConstantFolding.h include/llvm/Analysis/ConstantsScanner.h +include/llvm/Analysis/DIBuilder.h include/llvm/Analysis/DOTGraphTraitsPass.h include/llvm/Analysis/DebugInfo.h include/llvm/Analysis/DomPrinter.h +include/llvm/Analysis/DominanceFrontier.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/Lint.h -include/llvm/Analysis/LiveValues.h include/llvm/Analysis/Loads.h include/llvm/Analysis/LoopDependenceAnalysis.h include/llvm/Analysis/LoopInfo.h include/llvm/Analysis/LoopPass.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/PathNumbering.h +include/llvm/Analysis/PathProfileInfo.h include/llvm/Analysis/PostDominators.h include/llvm/Analysis/ProfileInfo.h include/llvm/Analysis/ProfileInfoLoader.h include/llvm/Analysis/ProfileInfoTypes.h include/llvm/Analysis/RegionInfo.h include/llvm/Analysis/RegionIterator.h +include/llvm/Analysis/RegionPass.h include/llvm/Analysis/RegionPrinter.h include/llvm/Analysis/ScalarEvolution.h include/llvm/Analysis/ScalarEvolutionExpander.h include/llvm/Analysis/ScalarEvolutionExpressions.h include/llvm/Analysis/ScalarEvolutionNormalization.h include/llvm/Analysis/SparsePropagation.h include/llvm/Analysis/Trace.h include/llvm/Analysis/ValueTracking.h include/llvm/Analysis/Verifier.h include/llvm/Argument.h include/llvm/Assembly/AssemblyAnnotationWriter.h 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/BasicBlock.h include/llvm/Bitcode/Archive.h include/llvm/Bitcode/BitCodes.h include/llvm/Bitcode/BitstreamReader.h include/llvm/Bitcode/BitstreamWriter.h include/llvm/Bitcode/LLVMBitCodes.h include/llvm/Bitcode/ReaderWriter.h -include/llvm/CMakeLists.txt include/llvm/CallGraphSCCPass.h include/llvm/CallingConv.h include/llvm/CodeGen/Analysis.h include/llvm/CodeGen/AsmPrinter.h include/llvm/CodeGen/BinaryObject.h include/llvm/CodeGen/CalcSpillWeights.h include/llvm/CodeGen/CallingConvLower.h +include/llvm/CodeGen/EdgeBundles.h include/llvm/CodeGen/FastISel.h include/llvm/CodeGen/FunctionLoweringInfo.h include/llvm/CodeGen/GCMetadata.h include/llvm/CodeGen/GCMetadataPrinter.h include/llvm/CodeGen/GCStrategy.h include/llvm/CodeGen/GCs.h include/llvm/CodeGen/ISDOpcodes.h include/llvm/CodeGen/IntrinsicLowering.h include/llvm/CodeGen/JITCodeEmitter.h include/llvm/CodeGen/LatencyPriorityQueue.h include/llvm/CodeGen/LinkAllAsmWriterComponents.h include/llvm/CodeGen/LinkAllCodegenComponents.h include/llvm/CodeGen/LiveInterval.h include/llvm/CodeGen/LiveIntervalAnalysis.h include/llvm/CodeGen/LiveStackAnalysis.h include/llvm/CodeGen/LiveVariables.h include/llvm/CodeGen/MachORelocation.h include/llvm/CodeGen/MachineBasicBlock.h include/llvm/CodeGen/MachineCodeEmitter.h include/llvm/CodeGen/MachineCodeInfo.h include/llvm/CodeGen/MachineConstantPool.h include/llvm/CodeGen/MachineDominators.h include/llvm/CodeGen/MachineFrameInfo.h include/llvm/CodeGen/MachineFunction.h include/llvm/CodeGen/MachineFunctionAnalysis.h include/llvm/CodeGen/MachineFunctionPass.h include/llvm/CodeGen/MachineInstr.h include/llvm/CodeGen/MachineInstrBuilder.h include/llvm/CodeGen/MachineJumpTableInfo.h include/llvm/CodeGen/MachineLocation.h include/llvm/CodeGen/MachineLoopInfo.h +include/llvm/CodeGen/MachineLoopRanges.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/PBQP/Graph.h +include/llvm/CodeGen/PBQP/HeuristicBase.h +include/llvm/CodeGen/PBQP/HeuristicSolver.h +include/llvm/CodeGen/PBQP/Heuristics/Briggs.h +include/llvm/CodeGen/PBQP/Math.h +include/llvm/CodeGen/PBQP/Solution.h include/llvm/CodeGen/Passes.h -include/llvm/CodeGen/PostRAHazardRecognizer.h include/llvm/CodeGen/ProcessImplicitDefs.h include/llvm/CodeGen/PseudoSourceValue.h +include/llvm/CodeGen/RegAllocPBQP.h include/llvm/CodeGen/RegAllocRegistry.h include/llvm/CodeGen/RegisterCoalescer.h include/llvm/CodeGen/RegisterScavenging.h include/llvm/CodeGen/RuntimeLibcalls.h include/llvm/CodeGen/ScheduleDAG.h include/llvm/CodeGen/ScheduleHazardRecognizer.h include/llvm/CodeGen/SchedulerRegistry.h +include/llvm/CodeGen/ScoreboardHazardRecognizer.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 include/llvm/CompilerDriver/AutoGenerated.h include/llvm/CompilerDriver/BuiltinOptions.h include/llvm/CompilerDriver/Common.td include/llvm/CompilerDriver/CompilationGraph.h include/llvm/CompilerDriver/Error.h include/llvm/CompilerDriver/Main.h include/llvm/CompilerDriver/Main.inc 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/config.h -include/llvm/Config/config.h.cmake include/llvm/Config/llvm-config.h -include/llvm/Config/llvm-config.h.cmake include/llvm/Constant.h include/llvm/Constants.h include/llvm/DerivedTypes.h include/llvm/ExecutionEngine/ExecutionEngine.h include/llvm/ExecutionEngine/GenericValue.h include/llvm/ExecutionEngine/Interpreter.h include/llvm/ExecutionEngine/JIT.h include/llvm/ExecutionEngine/JITEventListener.h include/llvm/ExecutionEngine/JITMemoryManager.h +include/llvm/ExecutionEngine/MCJIT.h include/llvm/Function.h include/llvm/GVMaterializer.h include/llvm/GlobalAlias.h include/llvm/GlobalValue.h include/llvm/GlobalVariable.h +include/llvm/InitializePasses.h include/llvm/InlineAsm.h include/llvm/InstrTypes.h include/llvm/Instruction.def include/llvm/Instruction.h include/llvm/Instructions.h include/llvm/IntrinsicInst.h include/llvm/Intrinsics.gen include/llvm/Intrinsics.h include/llvm/Intrinsics.td include/llvm/IntrinsicsARM.td include/llvm/IntrinsicsAlpha.td include/llvm/IntrinsicsCellSPU.td +include/llvm/IntrinsicsPTX.td include/llvm/IntrinsicsPowerPC.td include/llvm/IntrinsicsX86.td include/llvm/IntrinsicsXCore.td include/llvm/LLVMContext.h include/llvm/LinkAllPasses.h include/llvm/LinkAllVMCore.h include/llvm/Linker.h include/llvm/MC/EDInstInfo.h -include/llvm/MC/ELFObjectWriter.h include/llvm/MC/MCAsmInfo.h include/llvm/MC/MCAsmInfoCOFF.h include/llvm/MC/MCAsmInfoDarwin.h include/llvm/MC/MCAsmLayout.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/MCDwarf.h +include/llvm/MC/MCELFObjectWriter.h include/llvm/MC/MCELFSymbolFlags.h include/llvm/MC/MCExpr.h include/llvm/MC/MCFixup.h +include/llvm/MC/MCFixupKindInfo.h include/llvm/MC/MCInst.h include/llvm/MC/MCInstPrinter.h include/llvm/MC/MCLabel.h include/llvm/MC/MCMachOSymbolFlags.h +include/llvm/MC/MCMachObjectWriter.h include/llvm/MC/MCObjectStreamer.h include/llvm/MC/MCObjectWriter.h include/llvm/MC/MCParser/AsmCond.h include/llvm/MC/MCParser/AsmLexer.h include/llvm/MC/MCParser/MCAsmLexer.h include/llvm/MC/MCParser/MCAsmParser.h include/llvm/MC/MCParser/MCAsmParserExtension.h include/llvm/MC/MCParser/MCParsedAsmOperand.h include/llvm/MC/MCSection.h include/llvm/MC/MCSectionCOFF.h include/llvm/MC/MCSectionELF.h include/llvm/MC/MCSectionMachO.h include/llvm/MC/MCStreamer.h include/llvm/MC/MCSymbol.h include/llvm/MC/MCValue.h -include/llvm/MC/MachObjectWriter.h include/llvm/MC/SectionKind.h include/llvm/Metadata.h include/llvm/Module.h +include/llvm/Object/MachOFormat.h +include/llvm/Object/MachOObject.h +include/llvm/Object/ObjectFile.h include/llvm/OperandTraits.h include/llvm/Operator.h include/llvm/Pass.h include/llvm/PassAnalysisSupport.h include/llvm/PassManager.h include/llvm/PassManagers.h include/llvm/PassRegistry.h include/llvm/PassSupport.h +include/llvm/Support/AIXDataTypesFix.h include/llvm/Support/AlignOf.h include/llvm/Support/Allocator.h +include/llvm/Support/Atomic.h include/llvm/Support/CFG.h include/llvm/Support/COFF.h include/llvm/Support/CallSite.h include/llvm/Support/Casting.h include/llvm/Support/CommandLine.h include/llvm/Support/Compiler.h include/llvm/Support/ConstantFolder.h include/llvm/Support/ConstantRange.h include/llvm/Support/CrashRecoveryContext.h include/llvm/Support/DOTGraphTraits.h include/llvm/Support/DataFlow.h +include/llvm/Support/DataTypes.h include/llvm/Support/Debug.h include/llvm/Support/DebugLoc.h +include/llvm/Support/Disassembler.h include/llvm/Support/Dwarf.h -include/llvm/Support/DynamicLinker.h +include/llvm/Support/DynamicLibrary.h include/llvm/Support/ELF.h +include/llvm/Support/Endian.h +include/llvm/Support/Errno.h include/llvm/Support/ErrorHandling.h +include/llvm/Support/FEnv.h +include/llvm/Support/FileSystem.h include/llvm/Support/FileUtilities.h include/llvm/Support/Format.h include/llvm/Support/FormattedStream.h include/llvm/Support/GetElementPtrTypeIterator.h include/llvm/Support/GraphWriter.h +include/llvm/Support/Host.h include/llvm/Support/IRBuilder.h include/llvm/Support/IRReader.h +include/llvm/Support/IncludeFile.h include/llvm/Support/InstIterator.h include/llvm/Support/InstVisitor.h +include/llvm/Support/LICENSE.TXT include/llvm/Support/LeakDetector.h include/llvm/Support/MachO.h include/llvm/Support/ManagedStatic.h include/llvm/Support/MathExtras.h +include/llvm/Support/Memory.h include/llvm/Support/MemoryBuffer.h include/llvm/Support/MemoryObject.h +include/llvm/Support/Mutex.h include/llvm/Support/MutexGuard.h include/llvm/Support/NoFolder.h include/llvm/Support/OutputBuffer.h include/llvm/Support/PassNameParser.h +include/llvm/Support/Path.h +include/llvm/Support/PathV1.h +include/llvm/Support/PathV2.h include/llvm/Support/PatternMatch.h include/llvm/Support/PluginLoader.h include/llvm/Support/PointerLikeTypeTraits.h include/llvm/Support/PredIteratorCache.h include/llvm/Support/PrettyStackTrace.h +include/llvm/Support/Process.h +include/llvm/Support/Program.h +include/llvm/Support/RWMutex.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/Signals.h +include/llvm/Support/Solaris.h include/llvm/Support/SourceMgr.h -include/llvm/Support/StableBasicBlockNumbering.h include/llvm/Support/StandardPasses.h include/llvm/Support/StringPool.h +include/llvm/Support/SwapByteOrder.h include/llvm/Support/SystemUtils.h include/llvm/Support/TargetFolder.h +include/llvm/Support/ThreadLocal.h +include/llvm/Support/Threading.h +include/llvm/Support/TimeValue.h include/llvm/Support/Timer.h +include/llvm/Support/ToolOutputFile.h include/llvm/Support/TypeBuilder.h +include/llvm/Support/Valgrind.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/system_error.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 -include/llvm/System/Host.h -include/llvm/System/IncludeFile.h -include/llvm/System/LICENSE.TXT -include/llvm/System/Memory.h -include/llvm/System/Mutex.h -include/llvm/System/Path.h -include/llvm/System/Process.h -include/llvm/System/Program.h -include/llvm/System/RWMutex.h -include/llvm/System/Signals.h -include/llvm/System/Solaris.h -include/llvm/System/ThreadLocal.h -include/llvm/System/Threading.h -include/llvm/System/TimeValue.h -include/llvm/System/Valgrind.h include/llvm/Target/Mangler.h include/llvm/Target/SubtargetFeature.h include/llvm/Target/Target.td include/llvm/Target/TargetAsmBackend.h +include/llvm/Target/TargetAsmInfo.h include/llvm/Target/TargetAsmLexer.h include/llvm/Target/TargetAsmParser.h include/llvm/Target/TargetCallingConv.h include/llvm/Target/TargetCallingConv.td include/llvm/Target/TargetData.h include/llvm/Target/TargetELFWriterInfo.h -include/llvm/Target/TargetFrameInfo.h +include/llvm/Target/TargetFrameLowering.h include/llvm/Target/TargetInstrDesc.h include/llvm/Target/TargetInstrInfo.h include/llvm/Target/TargetInstrItineraries.h include/llvm/Target/TargetIntrinsicInfo.h include/llvm/Target/TargetJITInfo.h +include/llvm/Target/TargetLibraryInfo.h include/llvm/Target/TargetLowering.h include/llvm/Target/TargetLoweringObjectFile.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 include/llvm/Target/TargetSchedule.td include/llvm/Target/TargetSelect.h include/llvm/Target/TargetSelectionDAG.td include/llvm/Target/TargetSelectionDAGInfo.h include/llvm/Target/TargetSubtarget.h include/llvm/Transforms/IPO.h include/llvm/Transforms/IPO/InlinerPass.h include/llvm/Transforms/Instrumentation.h -include/llvm/Transforms/RSProfiling.h 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/Local.h include/llvm/Transforms/Utils/PromoteMemToReg.h include/llvm/Transforms/Utils/SSAUpdater.h include/llvm/Transforms/Utils/SSAUpdaterImpl.h include/llvm/Transforms/Utils/UnifyFunctionExitNodes.h include/llvm/Transforms/Utils/UnrollLoop.h include/llvm/Transforms/Utils/ValueMapper.h include/llvm/Type.h include/llvm/TypeSymbolTable.h include/llvm/Use.h include/llvm/User.h include/llvm/Value.h include/llvm/ValueSymbolTable.h -lib/libBugpointPasses.so +lib/BugpointPasses.so +lib/LLVMHello.so lib/libCompilerDriver.a lib/libEnhancedDisassembly.a lib/libEnhancedDisassembly.so lib/libLLVMARMAsmParser.a lib/libLLVMARMAsmPrinter.a lib/libLLVMARMCodeGen.a lib/libLLVMARMDisassembler.a lib/libLLVMARMInfo.a -lib/libLLVMAlphaAsmPrinter.a lib/libLLVMAlphaCodeGen.a lib/libLLVMAlphaInfo.a lib/libLLVMAnalysis.a lib/libLLVMArchive.a lib/libLLVMAsmParser.a lib/libLLVMAsmPrinter.a lib/libLLVMBitReader.a lib/libLLVMBitWriter.a -lib/libLLVMBlackfinAsmPrinter.a lib/libLLVMBlackfinCodeGen.a lib/libLLVMBlackfinInfo.a lib/libLLVMCBackend.a lib/libLLVMCBackendInfo.a -lib/libLLVMCellSPUAsmPrinter.a lib/libLLVMCellSPUCodeGen.a lib/libLLVMCellSPUInfo.a lib/libLLVMCodeGen.a lib/libLLVMCore.a lib/libLLVMCppBackend.a lib/libLLVMCppBackendInfo.a lib/libLLVMExecutionEngine.a -lib/libLLVMHello.so lib/libLLVMInstCombine.a lib/libLLVMInstrumentation.a lib/libLLVMInterpreter.a lib/libLLVMJIT.a lib/libLLVMLinker.a +lib/libLLVMMBlazeAsmParser.a lib/libLLVMMBlazeAsmPrinter.a lib/libLLVMMBlazeCodeGen.a +lib/libLLVMMBlazeDisassembler.a lib/libLLVMMBlazeInfo.a lib/libLLVMMC.a lib/libLLVMMCDisassembler.a +lib/libLLVMMCJIT.a lib/libLLVMMCParser.a lib/libLLVMMSP430AsmPrinter.a lib/libLLVMMSP430CodeGen.a lib/libLLVMMSP430Info.a -lib/libLLVMMipsAsmPrinter.a lib/libLLVMMipsCodeGen.a lib/libLLVMMipsInfo.a -lib/libLLVMPIC16AsmPrinter.a -lib/libLLVMPIC16CodeGen.a -lib/libLLVMPIC16Info.a +lib/libLLVMObject.a +lib/libLLVMPTXCodeGen.a +lib/libLLVMPTXInfo.a lib/libLLVMPowerPCAsmPrinter.a lib/libLLVMPowerPCCodeGen.a lib/libLLVMPowerPCInfo.a lib/libLLVMScalarOpts.a lib/libLLVMSelectionDAG.a -lib/libLLVMSparcAsmPrinter.a lib/libLLVMSparcCodeGen.a lib/libLLVMSparcInfo.a lib/libLLVMSupport.a -lib/libLLVMSystem.a -lib/libLLVMSystemZAsmPrinter.a lib/libLLVMSystemZCodeGen.a lib/libLLVMSystemZInfo.a lib/libLLVMTarget.a lib/libLLVMTransformUtils.a lib/libLLVMX86AsmParser.a lib/libLLVMX86AsmPrinter.a lib/libLLVMX86CodeGen.a lib/libLLVMX86Disassembler.a lib/libLLVMX86Info.a -lib/libLLVMXCoreAsmPrinter.a +lib/libLLVMX86Utils.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/libprofile_rt.so +lib/profile_rt.so %%PORTDOCS%%%%DOCSDIR%%/html.tar.gz %%PORTDOCS%%%%DOCSDIR%%/html/AliasAnalysis.html %%PORTDOCS%%%%DOCSDIR%%/html/BitCodeFormat.html %%PORTDOCS%%%%DOCSDIR%%/html/Bugpoint.html %%PORTDOCS%%%%DOCSDIR%%/html/CFEBuildInstrs.html %%PORTDOCS%%%%DOCSDIR%%/html/CMake.html %%PORTDOCS%%%%DOCSDIR%%/html/CodeGenerator.html %%PORTDOCS%%%%DOCSDIR%%/html/CodingStandards.html %%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-diff.html %%PORTDOCS%%%%DOCSDIR%%/html/CommandGuide/llvm-dis.html %%PORTDOCS%%%%DOCSDIR%%/html/CommandGuide/llvm-extract.html %%PORTDOCS%%%%DOCSDIR%%/html/CommandGuide/llvm-ld.html %%PORTDOCS%%%%DOCSDIR%%/html/CommandGuide/llvm-link.html %%PORTDOCS%%%%DOCSDIR%%/html/CommandGuide/llvm-nm.html %%PORTDOCS%%%%DOCSDIR%%/html/CommandGuide/llvm-prof.html %%PORTDOCS%%%%DOCSDIR%%/html/CommandGuide/llvm-ranlib.html %%PORTDOCS%%%%DOCSDIR%%/html/CommandGuide/llvmc.html %%PORTDOCS%%%%DOCSDIR%%/html/CommandGuide/llvmgcc.html %%PORTDOCS%%%%DOCSDIR%%/html/CommandGuide/llvmgxx.html %%PORTDOCS%%%%DOCSDIR%%/html/CommandGuide/manpage.css %%PORTDOCS%%%%DOCSDIR%%/html/CommandGuide/opt.html %%PORTDOCS%%%%DOCSDIR%%/html/CommandGuide/tblgen.html %%PORTDOCS%%%%DOCSDIR%%/html/CommandLine.html %%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 %%PORTDOCS%%%%DOCSDIR%%/html/FAQ.html %%PORTDOCS%%%%DOCSDIR%%/html/GCCFEBuildInstrs.html %%PORTDOCS%%%%DOCSDIR%%/html/GarbageCollection.html %%PORTDOCS%%%%DOCSDIR%%/html/GetElementPtr.html %%PORTDOCS%%%%DOCSDIR%%/html/GettingStarted.html %%PORTDOCS%%%%DOCSDIR%%/html/GettingStartedVS.html %%PORTDOCS%%%%DOCSDIR%%/html/GoldPlugin.html %%PORTDOCS%%%%DOCSDIR%%/html/HowToReleaseLLVM.html %%PORTDOCS%%%%DOCSDIR%%/html/HowToSubmitABug.html %%PORTDOCS%%%%DOCSDIR%%/html/LangRef.html %%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.html %%PORTDOCS%%%%DOCSDIR%%/html/SourceLevelDebugging.html %%PORTDOCS%%%%DOCSDIR%%/html/SystemLibrary.html %%PORTDOCS%%%%DOCSDIR%%/html/TableGenFundamentals.html %%PORTDOCS%%%%DOCSDIR%%/html/TestingGuide.html %%PORTDOCS%%%%DOCSDIR%%/html/UsingLibraries.html %%PORTDOCS%%%%DOCSDIR%%/html/WritingAnLLVMBackend.html %%PORTDOCS%%%%DOCSDIR%%/html/WritingAnLLVMPass.html %%PORTDOCS%%%%DOCSDIR%%/html/doxygen.css %%PORTDOCS%%%%DOCSDIR%%/html/img/Debugging.gif %%PORTDOCS%%%%DOCSDIR%%/html/img/libdeps.gif %%PORTDOCS%%%%DOCSDIR%%/html/img/lines.gif %%PORTDOCS%%%%DOCSDIR%%/html/img/objdeps.gif %%PORTDOCS%%%%DOCSDIR%%/html/img/venusflytrap.jpg %%PORTDOCS%%%%DOCSDIR%%/html/index.html %%PORTDOCS%%%%DOCSDIR%%/html/llvm.css %%PORTDOCS%%%%DOCSDIR%%/html/tutorial/LangImpl1.html %%PORTDOCS%%%%DOCSDIR%%/html/tutorial/LangImpl2.html %%PORTDOCS%%%%DOCSDIR%%/html/tutorial/LangImpl3.html %%PORTDOCS%%%%DOCSDIR%%/html/tutorial/LangImpl4.html %%PORTDOCS%%%%DOCSDIR%%/html/tutorial/LangImpl5.html %%PORTDOCS%%%%DOCSDIR%%/html/tutorial/LangImpl6.html %%PORTDOCS%%%%DOCSDIR%%/html/tutorial/LangImpl7.html %%PORTDOCS%%%%DOCSDIR%%/html/tutorial/LangImpl8.html %%PORTDOCS%%%%DOCSDIR%%/html/tutorial/OCamlLangImpl1.html %%PORTDOCS%%%%DOCSDIR%%/html/tutorial/OCamlLangImpl2.html %%PORTDOCS%%%%DOCSDIR%%/html/tutorial/OCamlLangImpl3.html %%PORTDOCS%%%%DOCSDIR%%/html/tutorial/OCamlLangImpl4.html %%PORTDOCS%%%%DOCSDIR%%/html/tutorial/OCamlLangImpl5.html %%PORTDOCS%%%%DOCSDIR%%/html/tutorial/OCamlLangImpl6.html %%PORTDOCS%%%%DOCSDIR%%/html/tutorial/OCamlLangImpl7.html +%%PORTDOCS%%%%DOCSDIR%%/html/tutorial/OCamlLangImpl8.html %%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-diff.ps %%PORTDOCS%%%%DOCSDIR%%/ps/llvm-dis.ps %%PORTDOCS%%%%DOCSDIR%%/ps/llvm-extract.ps %%PORTDOCS%%%%DOCSDIR%%/ps/llvm-ld.ps %%PORTDOCS%%%%DOCSDIR%%/ps/llvm-link.ps %%PORTDOCS%%%%DOCSDIR%%/ps/llvm-nm.ps %%PORTDOCS%%%%DOCSDIR%%/ps/llvm-prof.ps %%PORTDOCS%%%%DOCSDIR%%/ps/llvm-ranlib.ps %%PORTDOCS%%%%DOCSDIR%%/ps/llvmc.ps %%PORTDOCS%%%%DOCSDIR%%/ps/llvmgcc.ps %%PORTDOCS%%%%DOCSDIR%%/ps/llvmgxx.ps %%PORTDOCS%%%%DOCSDIR%%/ps/opt.ps %%PORTDOCS%%%%DOCSDIR%%/ps/tblgen.ps @dirrm include/llvm/Transforms/Utils @dirrm include/llvm/Transforms/IPO @dirrm include/llvm/Transforms @dirrm include/llvm/Target -@dirrm include/llvm/System @dirrm include/llvm/Support +@dirrm include/llvm/Object @dirrm include/llvm/MC/MCParser @dirrm include/llvm/MC @dirrm include/llvm/ExecutionEngine @dirrm include/llvm/Config @dirrm include/llvm/CompilerDriver +@dirrm include/llvm/CodeGen/PBQP/Heuristics +@dirrm include/llvm/CodeGen/PBQP @dirrm include/llvm/CodeGen @dirrm include/llvm/Bitcode @dirrm include/llvm/Assembly @dirrm include/llvm/Analysis @dirrm include/llvm/ADT @dirrm include/llvm-c/Transforms @dirrm include/llvm-c @dirrm include/llvm %%PORTDOCS%%@dirrm %%DOCSDIR%%/ps %%PORTDOCS%%@dirrm %%DOCSDIR%%/html/tutorial %%PORTDOCS%%@dirrm %%DOCSDIR%%/html/img %%PORTDOCS%%@dirrm %%DOCSDIR%%/html/CommandGuide %%PORTDOCS%%@dirrm %%DOCSDIR%%/html %%PORTDOCS%%@dirrm %%DOCSDIR%% diff --git a/lang/clang/Makefile b/lang/clang/Makefile index 50f49b6ab3b5..c38ddd9bf5b1 100644 --- a/lang/clang/Makefile +++ b/lang/clang/Makefile @@ -1,170 +1,165 @@ # New ports collection makefile for: clang # Date created: 24 Oct 2009 # Whom: Brooks Davis # # $FreeBSD$ # PORTNAME= clang -PORTVERSION= 2.8 -PORTREVISION= 2 +PORTVERSION= 2.9 CATEGORIES= lang devel MASTER_SITES= http://llvm.org/releases/${PORTVERSION}/ EXTRACT_SUFX= .tgz DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \ ${LLVM_SOURCE} EXTRACT_ONLY= ${LLVM_SOURCE} MAINTAINER= brooks@FreeBSD.org COMMENT= C, Objective-C, and (alpha-quality) C++ compiler CONFLICTS= clang-devel-2.[0-9]* llvm-devel-2.[0-9]* CLANG_NAME= clang-${PORTVERSION} CLANG_SOURCE= ${CLANG_NAME}${EXTRACT_SUFX} LLVM_NAME= llvm-${PORTVERSION} LLVM_SOURCE= ${LLVM_NAME}${EXTRACT_SUFX} WRKSRC= ${WRKDIR}/${LLVM_NAME} BUILD_WRKSRC= ${WRKSRC}/tools/clang INSTALL_WRKSRC= ${WRKSRC}/tools/clang BUILD_DEPENDS+= llvm>=${PORTVERSION}:${PORTSDIR}/devel/llvm RUN_DEPENDS+= llvm>=${PORTVERSION}:${PORTSDIR}/devel/llvm .if defined(PACKAGE_BUILDING) || defined(MAINTAINER_MODE) BUILD_DEPENDS+= runtest:${PORTSDIR}/misc/dejagnu .endif .if defined(MAINTAINER_MODE) BUILD_DEPENDS+= f2c:${PORTSDIR}/lang/f2c .endif GNU_CONFIGURE= yes USE_GCC= 4.2+ USE_GMAKE= yes USE_LDCONFIG= yes USE_PERL5= yes USE_PYTHON= yes MAKE_JOBS_SAFE= yes MAKE_ARGS= LLVMIncDir=${LOCALBASE}/include \ LLVMToolDir=${LOCALBASE}/bin \ LLVMLibDir=${LOCALBASE}/lib .if defined(MAINTAINER_MODE) CONFIGURE_ARGS+= --with-f2c=${LOCALBASE} .else CONFIGURE_ARGS+= --enable-optimized .endif .if defined(NOPORTDOCS) -DOCSRCDIR= -.else -DOCSRCDIR= docs +CONFIGURE_ARGS+= --disable-docs .endif MAN1= clang.1 .include .if ${ARCH} == "sparc64" BROKEN= Does not compile on sparc64 .endif post-extract: cd ${WRKSRC}/tools && \ tar xf ${DISTDIR}/${CLANG_SOURCE} && \ ${MV} ${CLANG_NAME} clang post-patch: ${REINPLACE_CMD} -e 's|\(PROJ_docsdir.*:=\).*$$|\1${DOCSDIR}|g' \ ${WRKSRC}/Makefile.config.in ${REINPLACE_CMD} -e 's|\(PROJ_mandir.*:=\).*$$|\1${MANPREFIX}/man|g' \ ${WRKSRC}/Makefile.config.in - ${REINPLACE_CMD} -e 's|%%DOCSRCDIR%%|${DOCSRCDIR}|' \ - ${WRKSRC}/Makefile ${WRKSRC}/tools/clang/Makefile ${REINPLACE_CMD} -e 's|/usr/bin/env perl|${PERL}|' \ -e 's|%%DATADIR%%|${DATADIR}|' \ ${WRKSRC}/tools/clang/tools/scan-build/ccc-analyzer \ ${WRKSRC}/tools/clang/tools/scan-build/c++-analyzer \ ${WRKSRC}/tools/clang/tools/scan-build/scan-build ${REINPLACE_CMD} -e 's|/usr/bin/env python|${PYTHON_CMD}|' \ ${WRKSRC}/tools/clang/tools/scan-view/scan-view pre-build: - ${LN} -s ${LOCALBASE}/include/llvm/Intrinsics.gen ${WRKSRC}/include/llvm/ + ${LN} -sf ${LOCALBASE}/include/llvm/Intrinsics.gen ${WRKSRC}/include/llvm/ + cd ${WRKSRC}/utils/unittest && ${GMAKE} .if defined(NOPORTDOCS) post-build: @cd ${WRKSRC}/tools/clang/docs/tools && ${GMAKE} clang.1 .endif post-install: @${INSTALL_SCRIPT} ${WRKSRC}/tools/clang/tools/scan-build/ccc-analyzer \ ${WRKSRC}/tools/clang/tools/scan-build/c++-analyzer \ ${WRKSRC}/tools/clang/tools/scan-build/scan-build \ ${WRKSRC}/tools/clang/tools/scan-view/scan-view \ ${PREFIX}/bin @${MKDIR} ${PYTHONPREFIX_SITELIBDIR} @${MKDIR} ${PYTHONPREFIX_SITELIBDIR}/Resources @${INSTALL_SCRIPT} ${WRKSRC}/tools/clang/tools/scan-view/*.py \ ${PYTHONPREFIX_SITELIBDIR} @${INSTALL_SCRIPT} ${WRKSRC}/tools/clang/tools/scan-view/Resources/* \ ${PYTHONPREFIX_SITELIBDIR}/Resources @${MKDIR} ${DATADIR} @${INSTALL_DATA} ${WRKSRC}/tools/clang/tools/scan-build/scanview.css ${DATADIR} @${INSTALL_DATA} ${WRKSRC}/tools/clang/tools/scan-build/sorttable.js ${DATADIR} .if defined(NOPORTDOCS) @${INSTALL_MAN} ${WRKSRC}/tools/clang/docs/tools/clang.1 \ ${MANPREFIX}/man/man1/ .else @${RMDIR} ${DOCSDIR}/html/img .endif TEST_CMD= '(cd ${WRKSRC}/test; ${SETENV} ${MAKE_ENV} ${GMAKE} check)' regression-test: ${BUILD_COOKIE} if [ `${ID} -u` = 0 ]; then \ ${CHOWN} -R nobody ${WRKSRC}/test; \ su -m nobody -c ${TEST_CMD}; \ else \ ${SH} -c ${TEST_CMD}; \ fi PLIST_FILE_LIST= bin/ccc-analyzer \ bin/c++-analyzer \ - bin/c-index-test \ bin/clang \ bin/clang++ \ bin/scan-build \ bin/scan-view \ lib/libclang* PLIST_DIR_LIST= include/clang \ include/clang-c \ lib/clang PLIST_PYFILE_LIST= ScanView.py \ Reporter.py \ Resources/* \ startfile.py PLIST_PYDIR_LIST= Resources build-plist: ${RM} -f ${PLIST} cd ${PREFIX} && \ (ls ${PLIST_FILE_LIST}; ${FIND} ${PLIST_DIR_LIST} -type f) | \ ${SORT} >> ${PLIST} ${FIND} ${DATADIR} ${DOCSDIR} -type f | \ ${SED} -e 's|${DATADIR}|%%DATADIR%%|' \ -e 's|${DOCSDIR}|%%PORTDOCS%%%%DOCSDIR%%|' | ${SORT} >> ${PLIST} cd ${PYTHONPREFIX_SITELIBDIR} && \ ls ${PLIST_PYFILE_LIST} | ${SORT} | \ ${SED} -e 's|^|%%PYTHON_SITELIBDIR%%/|' >> ${PLIST} cd ${PREFIX} && \ ${FIND} ${PLIST_DIR_LIST} -type d | \ ${SORT} -r | ${SED} -e 's|^|@dirrm |' >> ${PLIST} cd ${PYTHONPREFIX_SITELIBDIR} && \ ${FIND} ${PLIST_PYDIR_LIST} -type d | ${SORT} -r | \ ${SED} -e 's|^|@dirrm %%PYTHON_SITELIBDIR%%/|' >> ${PLIST} ${FIND} ${DATADIR} ${DOCSDIR} -type d | ${SORT} -r | \ ${SED} -e 's|${DATADIR}|@dirrm %%DATADIR%%|' \ -e 's|${DOCSDIR}|%%PORTDOCS%%@dirrm %%DOCSDIR%%|' >> ${PLIST} .include diff --git a/lang/clang/distinfo b/lang/clang/distinfo index cc5227dab937..2702663a0017 100644 --- a/lang/clang/distinfo +++ b/lang/clang/distinfo @@ -1,6 +1,4 @@ -MD5 (clang-2.8.tgz) = 10e14c901fc3728eecbd5b829e011b59 -SHA256 (clang-2.8.tgz) = ed83481553e6a39a8a2953e89630d881d87833506f096a90f18d93ec2bdee0c1 -SIZE (clang-2.8.tgz) = 5666777 -MD5 (llvm-2.8.tgz) = 220d361b4d17051ff4bb21c64abe05ba -SHA256 (llvm-2.8.tgz) = 25addb742f1c6cc12877ed0ee924dda962d848368ee095be8e48342ae613d43b -SIZE (llvm-2.8.tgz) = 9112527 +SHA256 (clang-2.9.tgz) = 70c41f3f782a71cbaa7bc8d6ea29fce4263ad3e8558dfecc6dc11cdef17909df +SIZE (clang-2.9.tgz) = 6243772 +SHA256 (llvm-2.9.tgz) = 661236cfa17428b48cfa9cbb9909f7569c64b8ecd219fd91dbc00e3b557b3779 +SIZE (llvm-2.9.tgz) = 9574781 diff --git a/lang/clang/files/patch-Makefile b/lang/clang/files/patch-Makefile deleted file mode 100644 index 2c887b01275d..000000000000 --- a/lang/clang/files/patch-Makefile +++ /dev/null @@ -1,14 +0,0 @@ - -$FreeBSD$ - ---- Makefile.orig -+++ Makefile -@@ -31,7 +31,7 @@ - OPTIONAL_DIRS := - else - 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/files/patch-tools_clang_Makefile b/lang/clang/files/patch-tools_clang_Makefile deleted file mode 100644 index 331b1a29c15e..000000000000 --- a/lang/clang/files/patch-tools_clang_Makefile +++ /dev/null @@ -1,14 +0,0 @@ - -$FreeBSD$ - ---- tools/clang/Makefile.orig -+++ tools/clang/Makefile -@@ -14,7 +14,7 @@ - - IS_TOP_LEVEL := 1 - CLANG_LEVEL := . --DIRS := include lib tools runtime docs -+DIRS := include lib tools runtime %%DOCSRCDIR%% - - PARALLEL_DIRS := - diff --git a/lang/clang/pkg-plist b/lang/clang/pkg-plist index dfc49ae6dd9e..2af2781663cc 100644 --- a/lang/clang/pkg-plist +++ b/lang/clang/pkg-plist @@ -1,403 +1,385 @@ bin/c++-analyzer -bin/c-index-test bin/ccc-analyzer bin/clang bin/clang++ bin/scan-build bin/scan-view 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/ASTMutationListener.h include/clang/AST/ASTVector.h include/clang/AST/Attr.h include/clang/AST/AttrImpl.inc include/clang/AST/Attrs.inc include/clang/AST/CXXInheritance.h include/clang/AST/CanonicalType.h include/clang/AST/CharUnits.h include/clang/AST/Decl.h include/clang/AST/DeclAccessPair.h include/clang/AST/DeclBase.h include/clang/AST/DeclCXX.h include/clang/AST/DeclContextInternals.h include/clang/AST/DeclFriend.h include/clang/AST/DeclGroup.h include/clang/AST/DeclNodes.inc include/clang/AST/DeclObjC.h include/clang/AST/DeclTemplate.h include/clang/AST/DeclVisitor.h include/clang/AST/DeclarationName.h include/clang/AST/DependentDiagnostic.h +include/clang/AST/EvaluatedExprVisitor.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/Mangle.h include/clang/AST/NestedNameSpecifier.h include/clang/AST/OperationKinds.h include/clang/AST/ParentMap.h include/clang/AST/PrettyPrinter.h include/clang/AST/RecordLayout.h include/clang/AST/RecursiveASTVisitor.h include/clang/AST/Redeclarable.h -include/clang/AST/Release/AttrImpl.inc.tmp -include/clang/AST/Release/Attrs.inc.tmp -include/clang/AST/Release/DeclNodes.inc.tmp -include/clang/AST/Release/StmtNodes.inc.tmp include/clang/AST/Stmt.h include/clang/AST/StmtCXX.h include/clang/AST/StmtGraphTraits.h include/clang/AST/StmtIterator.h include/clang/AST/StmtNodes.inc 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/AST/UsuallyTinyPtrVector.h +include/clang/Analysis/Analyses/CFGReachabilityAnalysis.h include/clang/Analysis/Analyses/FormatString.h include/clang/Analysis/Analyses/LiveVariables.h include/clang/Analysis/Analyses/PseudoConstantAnalysis.h include/clang/Analysis/Analyses/ReachableCode.h include/clang/Analysis/Analyses/UninitializedValues.h +include/clang/Analysis/Analyses/UninitializedValuesV2.h include/clang/Analysis/AnalysisContext.h include/clang/Analysis/AnalysisDiagnostic.h include/clang/Analysis/CFG.h include/clang/Analysis/CFGStmtMap.h +include/clang/Analysis/DomainSpecific/CocoaConventions.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/SaveAndRestore.h include/clang/Analysis/Visitors/CFGRecStmtDeclVisitor.h include/clang/Analysis/Visitors/CFGRecStmtVisitor.h include/clang/Analysis/Visitors/CFGStmtVisitor.h +include/clang/Basic/ABI.h include/clang/Basic/AttrKinds.h include/clang/Basic/AttrList.inc 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/DiagnosticIDs.h include/clang/Basic/DiagnosticLexKinds.inc include/clang/Basic/DiagnosticParseKinds.inc include/clang/Basic/DiagnosticSemaKinds.inc include/clang/Basic/FileManager.h +include/clang/Basic/FileSystemOptions.h +include/clang/Basic/FileSystemStatCache.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/OpenCLExtensions.def include/clang/Basic/OperatorKinds.def include/clang/Basic/OperatorKinds.h include/clang/Basic/PartialDiagnostic.h include/clang/Basic/PrettyStackTrace.h -include/clang/Basic/Release/AttrList.inc.tmp -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/Release/Version.inc.tmp -include/clang/Basic/Release/arm_neon.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/Basic/Version.inc +include/clang/Basic/Visibility.h include/clang/Basic/arm_neon.inc -include/clang/Checker/AnalysisConsumer.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/FrontendActions.h -include/clang/Checker/ManagerRegistry.h -include/clang/Checker/PathDiagnosticClients.h -include/clang/Checker/PathSensitive/AnalysisManager.h -include/clang/Checker/PathSensitive/BasicValueFactory.h -include/clang/Checker/PathSensitive/Checker.h -include/clang/Checker/PathSensitive/CheckerHelpers.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/BackendUtil.h include/clang/CodeGen/CodeGenAction.h include/clang/CodeGen/ModuleBuilder.h include/clang/Driver/Action.h include/clang/Driver/Arg.h include/clang/Driver/ArgList.h include/clang/Driver/CC1AsOptions.h include/clang/Driver/CC1AsOptions.inc 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/CC1AsOptions.inc.tmp -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/AnalyzerOptions.h include/clang/Frontend/ChainedDiagnosticClient.h include/clang/Frontend/CodeGenOptions.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/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/MultiplexConsumer.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/FrontendTool/Utils.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/Lex/AttrSpellings.inc include/clang/Lex/CodeCompletionHandler.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/PreprocessingRecord.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/ParseAST.h include/clang/Parse/ParseDiagnostic.h include/clang/Parse/Parser.h include/clang/Rewrite/ASTConsumers.h include/clang/Rewrite/DeltaTree.h include/clang/Rewrite/FixItRewriter.h include/clang/Rewrite/FrontendActions.h include/clang/Rewrite/HTMLRewrite.h include/clang/Rewrite/RewriteRope.h include/clang/Rewrite/Rewriter.h include/clang/Rewrite/Rewriters.h include/clang/Rewrite/TokenRewriter.h include/clang/Sema/AnalysisBasedWarnings.h include/clang/Sema/AttributeList.h include/clang/Sema/CXXFieldCollector.h include/clang/Sema/CodeCompleteConsumer.h include/clang/Sema/DeclSpec.h include/clang/Sema/DelayedDiagnostic.h include/clang/Sema/Designator.h include/clang/Sema/ExternalSemaSource.h include/clang/Sema/IdentifierResolver.h include/clang/Sema/Initialization.h include/clang/Sema/Lookup.h include/clang/Sema/ObjCMethodList.h include/clang/Sema/Overload.h include/clang/Sema/Ownership.h include/clang/Sema/ParsedTemplate.h include/clang/Sema/PrettyDeclStackTrace.h include/clang/Sema/Scope.h include/clang/Sema/ScopeInfo.h include/clang/Sema/Sema.h include/clang/Sema/SemaConsumer.h include/clang/Sema/SemaDiagnostic.h include/clang/Sema/SemaInternal.h include/clang/Sema/Template.h include/clang/Sema/TemplateDeduction.h include/clang/Serialization/ASTBitCodes.h include/clang/Serialization/ASTDeserializationListener.h include/clang/Serialization/ASTReader.h +include/clang/Serialization/ASTSerializationListener.h include/clang/Serialization/ASTWriter.h include/clang/Serialization/AttrPCHRead.inc include/clang/Serialization/AttrPCHWrite.inc -include/clang/Serialization/Release/AttrPCHRead.inc.tmp -include/clang/Serialization/Release/AttrPCHWrite.inc.tmp -lib/clang/2.8/include/arm_neon.h -lib/clang/2.8/include/emmintrin.h -lib/clang/2.8/include/immintrin.h -lib/clang/2.8/include/mm_malloc.h -lib/clang/2.8/include/mmintrin.h -lib/clang/2.8/include/nmmintrin.h -lib/clang/2.8/include/pmmintrin.h -lib/clang/2.8/include/smmintrin.h -lib/clang/2.8/include/tmmintrin.h -lib/clang/2.8/include/wmmintrin.h -lib/clang/2.8/include/xmmintrin.h +include/clang/StaticAnalyzer/Checkers/DereferenceChecker.h +include/clang/StaticAnalyzer/Checkers/LocalCheckers.h +include/clang/StaticAnalyzer/Core/BugReporter/BugReporter.h +include/clang/StaticAnalyzer/Core/BugReporter/BugType.h +include/clang/StaticAnalyzer/Core/BugReporter/PathDiagnostic.h +include/clang/StaticAnalyzer/Core/Checker.h +include/clang/StaticAnalyzer/Core/CheckerManager.h +include/clang/StaticAnalyzer/Core/CheckerProvider.h +include/clang/StaticAnalyzer/Core/PathDiagnosticClients.h +include/clang/StaticAnalyzer/Core/PathSensitive/AnalysisManager.h +include/clang/StaticAnalyzer/Core/PathSensitive/BasicValueFactory.h +include/clang/StaticAnalyzer/Core/PathSensitive/BlockCounter.h +include/clang/StaticAnalyzer/Core/PathSensitive/CheckerContext.h +include/clang/StaticAnalyzer/Core/PathSensitive/CheckerHelpers.h +include/clang/StaticAnalyzer/Core/PathSensitive/ConstraintManager.h +include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h +include/clang/StaticAnalyzer/Core/PathSensitive/Environment.h +include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h +include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h +include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngineBuilders.h +include/clang/StaticAnalyzer/Core/PathSensitive/GRState.h +include/clang/StaticAnalyzer/Core/PathSensitive/GRStateTrait.h +include/clang/StaticAnalyzer/Core/PathSensitive/MemRegion.h +include/clang/StaticAnalyzer/Core/PathSensitive/ObjCMessage.h +include/clang/StaticAnalyzer/Core/PathSensitive/SValBuilder.h +include/clang/StaticAnalyzer/Core/PathSensitive/SVals.h +include/clang/StaticAnalyzer/Core/PathSensitive/Store.h +include/clang/StaticAnalyzer/Core/PathSensitive/SubEngine.h +include/clang/StaticAnalyzer/Core/PathSensitive/SummaryManager.h +include/clang/StaticAnalyzer/Core/PathSensitive/SymbolManager.h +include/clang/StaticAnalyzer/Core/PathSensitive/TransferFuncs.h +include/clang/StaticAnalyzer/Core/PathSensitive/WorkList.h +include/clang/StaticAnalyzer/Frontend/CheckerRegistration.h +include/clang/StaticAnalyzer/Frontend/FrontendActions.h +lib/clang/2.9/include/arm_neon.h +lib/clang/2.9/include/emmintrin.h +lib/clang/2.9/include/immintrin.h +lib/clang/2.9/include/mm_malloc.h +lib/clang/2.9/include/mmintrin.h +lib/clang/2.9/include/nmmintrin.h +lib/clang/2.9/include/pmmintrin.h +lib/clang/2.9/include/smmintrin.h +lib/clang/2.9/include/tmmintrin.h +lib/clang/2.9/include/wmmintrin.h +lib/clang/2.9/include/xmmintrin.h lib/libclang.a lib/libclang.so lib/libclangAST.a lib/libclangAnalysis.a lib/libclangBasic.a -lib/libclangChecker.a lib/libclangCodeGen.a lib/libclangDriver.a lib/libclangFrontend.a lib/libclangFrontendTool.a lib/libclangIndex.a lib/libclangLex.a lib/libclangParse.a lib/libclangRewrite.a lib/libclangSema.a lib/libclangSerialization.a +lib/libclangStaticAnalyzerCheckers.a +lib/libclangStaticAnalyzerCore.a +lib/libclangStaticAnalyzerFrontend.a %%DATADIR%%/scanview.css %%DATADIR%%/sorttable.js %%PORTDOCS%%%%DOCSDIR%%/html.tar.gz %%PORTDOCS%%%%DOCSDIR%%/html/AnalyzerRegions.html %%PORTDOCS%%%%DOCSDIR%%/html/DriverInternals.html %%PORTDOCS%%%%DOCSDIR%%/html/InternalsManual.html %%PORTDOCS%%%%DOCSDIR%%/html/LanguageExtensions.html %%PORTDOCS%%%%DOCSDIR%%/html/PCHInternals.html %%PORTDOCS%%%%DOCSDIR%%/html/PTHInternals.html %%PORTDOCS%%%%DOCSDIR%%/html/UsersManual.html %%PORTDOCS%%%%DOCSDIR%%/html/clang/clang.html %%PORTDOCS%%%%DOCSDIR%%/html/clang/manpage.css %%PORTDOCS%%%%DOCSDIR%%/html/doxygen.css %%PORTDOCS%%%%DOCSDIR%%/html/index.html %%PORTDOCS%%%%DOCSDIR%%/html/libIndex.html %%PORTDOCS%%%%DOCSDIR%%/ps/clang.ps %%PYTHON_SITELIBDIR%%/Reporter.py %%PYTHON_SITELIBDIR%%/Resources/FileRadar.scpt %%PYTHON_SITELIBDIR%%/Resources/GetRadarVersion.scpt %%PYTHON_SITELIBDIR%%/Resources/bugcatcher.ico %%PYTHON_SITELIBDIR%%/ScanView.py %%PYTHON_SITELIBDIR%%/startfile.py -@dirrm lib/clang/2.8/include -@dirrm lib/clang/2.8 +@dirrm lib/clang/2.9/include +@dirrm lib/clang/2.9 @dirrm lib/clang -@dirrm include/clang/Serialization/Release +@dirrm include/clang/StaticAnalyzer/Frontend +@dirrm include/clang/StaticAnalyzer/Core/PathSensitive +@dirrm include/clang/StaticAnalyzer/Core/BugReporter +@dirrm include/clang/StaticAnalyzer/Core +@dirrm include/clang/StaticAnalyzer/Checkers +@dirrm include/clang/StaticAnalyzer @dirrm include/clang/Serialization @dirrm include/clang/Sema @dirrm include/clang/Rewrite @dirrm include/clang/Parse @dirrm include/clang/Lex @dirrm include/clang/Index @dirrm include/clang/FrontendTool @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/DomainSpecific @dirrm include/clang/Analysis/Analyses @dirrm include/clang/Analysis -@dirrm include/clang/AST/Release @dirrm include/clang/AST @dirrm include/clang-c @dirrm include/clang @dirrm %%PYTHON_SITELIBDIR%%/Resources %%PORTDOCS%%@dirrm %%DOCSDIR%%/ps %%PORTDOCS%%@dirrm %%DOCSDIR%%/html/clang %%PORTDOCS%%@dirrm %%DOCSDIR%%/html %%PORTDOCS%%@dirrm %%DOCSDIR%% @dirrm %%DATADIR%% diff --git a/lang/llvm-gcc4/Makefile b/lang/llvm-gcc4/Makefile index bf0ff00e3f09..8affd42d48e9 100644 --- a/lang/llvm-gcc4/Makefile +++ b/lang/llvm-gcc4/Makefile @@ -1,86 +1,86 @@ # New ports collection makefile for: llvm-gcc4 # Date created: 25 Jul 2007 # Whom: Max Khon # # $FreeBSD$ # PORTNAME= gcc4 -PORTVERSION= 2.8 +PORTVERSION= 2.9 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 BUILD_DEPENDS+= llc:${PORTSDIR}/devel/llvm BUILD_DEPENDS+= ${LOCALBASE}/bin/as:${PORTSDIR}/devel/binutils RUN_DEPENDS+= ${LOCALBASE}/bin/as:${PORTSDIR}/devel/binutils CONFLICTS= llvm-devel-[0-9]* llvm-2.[0-5]* GNU_CONFIGURE= yes USE_BISON= build USE_GCC= 4.2+ USE_GMAKE= yes USE_ICONV= yes USE_PERL5_BUILD=yes GCC_VER= 4.2.1 WRKSRC= ${WRKDIR}/${DISTNAME}/obj TARGLIB= ${PREFIX}/lib/llvm-gcc-${PORTVERSION} CONFIGURE_SCRIPT= ../configure CONFIGURE_ARGS= --enable-llvm=${LOCALBASE} \ --enable-languages=c,c++ \ --disable-nls \ --with-system-zlib \ --with-as=${LOCALBASE}/bin/as \ --with-libiconv-prefix=${LOCALBASE} \ --program-prefix=llvm- \ --libdir=${TARGLIB} \ --with-gxx-include-dir=${TARGLIB}/include/c++ \ --libexecdir=${TARGLIB} \ --infodir=${PREFIX}/llvm-gcc .if defined(MAINTAINER_MODE) CONFIGURE_ARGS+= --enable-checking .endif PLIST_SUB= GCC_VER=${GCC_VER} \ GNU_HOST=${CONFIGURE_TARGET} INFO= llvm-gcc/cpp \ llvm-gcc/cppinternals \ llvm-gcc/gcc \ llvm-gcc/gccinstall \ llvm-gcc/gccint \ llvm-gcc/libgomp MAN1= llvm-cpp.1 llvm-g++.1 llvm-gcc.1 llvm-gcov.1 .include .if ${ARCH} == "amd64" CONFIGURE_TARGET= x86_64-portbld-freebsd${OSREL} CONFIGURE_ARGS+= --disable-shared .endif .if ${ARCH} == "sparc64" IGNORE= does not install: not yet supported on sparc64 .endif post-extract: @${MKDIR} ${WRKSRC} post-install: # Add target libraries and include files to packaging list. ${RM} -f ${WRKDIR}/PLIST.lib .for d in ${TARGLIB:S/^${PREFIX}\///} cd ${PREFIX} ; if [ -d $d ]; then \ ${FIND} $d -type f -o -type l >>${WRKDIR}/PLIST.lib ;\ ${FIND} $d -type d | ${SORT} -r \ | ${SED} -e 's/^/@dirrm /g' >>${WRKDIR}/PLIST.lib ;\ fi .endfor cd ${WRKDIR} ; ${SED} -i -e "/PLIST.lib/ r PLIST.lib" ${TMPPLIST} .include diff --git a/lang/llvm-gcc4/distinfo b/lang/llvm-gcc4/distinfo index 5e4c0ca0c1f5..9312812cf3a8 100644 --- a/lang/llvm-gcc4/distinfo +++ b/lang/llvm-gcc4/distinfo @@ -1,3 +1,2 @@ -MD5 (llvm-gcc-4.2-2.8.source.tgz) = e5b0569f5f018086c62201d87e161154 -SHA256 (llvm-gcc-4.2-2.8.source.tgz) = 04785a0031c1aa1e3a89926ac6a069c96276074ea711958306b8bf96d9d49e4d -SIZE (llvm-gcc-4.2-2.8.source.tgz) = 55748118 +SHA256 (llvm-gcc-4.2-2.9.source.tgz) = 2ad04e0bbedb9781aa068e216d455b92ba5e577db6ae24aef9ac449cb2eb7f54 +SIZE (llvm-gcc-4.2-2.9.source.tgz) = 53637392 diff --git a/lang/llvm-gcc4/files/patch-.._gcc_common.opt b/lang/llvm-gcc4/files/patch-.._gcc_common.opt new file mode 100644 index 000000000000..22cdc80ddb4f --- /dev/null +++ b/lang/llvm-gcc4/files/patch-.._gcc_common.opt @@ -0,0 +1,16 @@ + +$FreeBSD$ + +--- ../gcc/common.opt.orig ++++ ../gcc/common.opt +@@ -730,8 +730,8 @@ + + ; APPLE LOCAL begin optimization pragmas 3124235/3420242 + fmath-errno +-Common Report Var(flag_errno_math) Init(1) PerFunc +-Set errno after built-in math functions ++Common Report Var(flag_errno_math) Init(0) PerFunc ++FreeBSD does not set errno after built-in math functions + ; APPLE LOCAL end optimization pragmas 3124235/3420242 + + fmem-report diff --git a/lang/llvm-gcc4/files/patch-.._gcc_config.gcc b/lang/llvm-gcc4/files/patch-.._gcc_config.gcc new file mode 100644 index 000000000000..092883adc7a2 --- /dev/null +++ b/lang/llvm-gcc4/files/patch-.._gcc_config.gcc @@ -0,0 +1,31 @@ +--- ../gcc/config.gcc.orig 2011-02-23 22:07:15.000000000 +0000 ++++ ../gcc/config.gcc 2011-02-24 10:11:03.000000000 +0000 +@@ -1131,9 +1131,11 @@ + ;; + i[34567]86-*-freebsd*) + tm_file="${tm_file} i386/unix.h i386/att.h dbxelf.h elfos.h ${fbsd_tm_file} i386/freebsd.h" ++ tmake_file="$(tmake_file) i386/t-crtstuff" + ;; + x86_64-*-freebsd*) + tm_file="${tm_file} i386/unix.h i386/att.h dbxelf.h elfos.h ${fbsd_tm_file} i386/x86-64.h i386/freebsd.h i386/freebsd64.h" ++ tmake_file="$(tmake_file) i386/t-crtstuff" + ;; + i[34567]86-*-netbsdelf*) + tm_file="${tm_file} i386/unix.h i386/att.h dbxelf.h elfos.h netbsd.h netbsd-elf.h i386/netbsd-elf.h" +@@ -2629,6 +2631,16 @@ + # A Cirrus ARM variant. + with_cpu="ep9312" + ;; ++ i386-*-freebsd*) ++ if test $fbsd_major -ge 6; then ++ arch=i486 ++ else ++ arch=i386 ++ fi ++ cpu=generic ++ arch_without_sse2=yes ++ arch_without_64bit=yes ++ ;; + # APPLE LOCAL begin mainline 2006-04-19 4434601 + i386-*-*) + with_cpu=i386 diff --git a/lang/llvm-gcc4/files/patch-.._gcc_config_i386_i386.c b/lang/llvm-gcc4/files/patch-.._gcc_config_i386_i386.c new file mode 100644 index 000000000000..28c5e57b8d69 --- /dev/null +++ b/lang/llvm-gcc4/files/patch-.._gcc_config_i386_i386.c @@ -0,0 +1,11 @@ +--- ../gcc/config/i386/i386.c.orig 2011-02-20 21:45:59.000000000 +0000 ++++ ../gcc/config/i386/i386.c 2011-02-20 21:47:35.000000000 +0000 +@@ -1762,7 +1762,7 @@ + "-mtune=generic instead as appropriate."); + + if (!ix86_arch_string) +- ix86_arch_string = TARGET_64BIT ? "x86-64" : "i386"; ++ ix86_arch_string = TARGET_64BIT ? "x86-64" : "i486"; + /* APPLE LOCAL begin mainline */ + else + ix86_arch_specified = 1; diff --git a/lang/llvm-gcc4/files/patch-.._gcc_gthr-posix.h b/lang/llvm-gcc4/files/patch-.._gcc_gthr-posix.h new file mode 100644 index 000000000000..6f8f3dd0a15a --- /dev/null +++ b/lang/llvm-gcc4/files/patch-.._gcc_gthr-posix.h @@ -0,0 +1,35 @@ +--- ../gcc/gthr-posix.h 2007/08/14 02:45:23 171825 ++++ ../gcc/gthr-posix.h 2008/04/21 20:40:42 178388 +@@ -152,9 +152,12 @@ + it is passed so we cannot pretend that the interface is active if -pthreads + is not specified. On Solaris 2.5.1, the interface is not exposed at all so + we need to play the usual game with weak symbols. On Solaris 10 and up, a +- working interface is always exposed. */ ++ working interface is always exposed. On FreeBSD 6 and later, libc also ++ exposes a dummy POSIX threads interface, similar to what Solaris 2.6 up ++ to 9 does. FreeBSD >= 700014 even provides a pthread_cancel stub in libc, ++ which means the alternate __gthread_active_p below cannot be used there. */ + +-#if defined(__sun) && defined(__svr4__) ++#if defined(__FreeBSD__) || (defined(__sun) && defined(__svr4__)) + + static volatile int __gthread_active = -1; + +@@ -197,7 +200,7 @@ + return __gthread_active_latest_value != 0; + } + +-#else /* not Solaris */ ++#else /* neither FreeBSD nor Solaris */ + + static inline int + __gthread_active_p (void) +@@ -207,7 +210,7 @@ + return __gthread_active_ptr != 0; + } + +-#endif /* Solaris */ ++#endif /* FreeBSD or Solaris */ + + #else /* not SUPPORTS_WEAK */ +