pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
llvm-all-in-one: Enable all backends unconditionally
Module Name: pkgsrc-wip
Committed By: Kamil Rytarowski <n54%gmx.com@localhost>
Pushed By: kamil
Date: Thu Jul 6 16:10:17 2017 +0200
Changeset: 2467497d13335783df6da7571e2256cd104d35d2
Modified Files:
llvm-all-in-one/PLIST
llvm-all-in-one/options.mk
Log Message:
llvm-all-in-one: Enable all backends unconditionally
Sponsored by <The NetBSD Foundation>
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=2467497d13335783df6da7571e2256cd104d35d2
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
llvm-all-in-one/PLIST | 70 ++++++++++++++++++++++++++++++++++++++++++++++
llvm-all-in-one/options.mk | 33 ----------------------
2 files changed, 70 insertions(+), 33 deletions(-)
diffs:
diff --git a/llvm-all-in-one/PLIST b/llvm-all-in-one/PLIST
index 79a182f832..0704b23431 100644
--- a/llvm-all-in-one/PLIST
+++ b/llvm-all-in-one/PLIST
@@ -2509,9 +2509,34 @@ lib/cmake/llvm/VersionFromVCS.cmake
lib/libLLVM-${PKGVERSION}svn.so
lib/libLLVM-5.0svn.so
lib/libLLVM.so
+lib/libLLVMAArch64AsmParser.a
+lib/libLLVMAArch64AsmPrinter.a
+lib/libLLVMAArch64CodeGen.a
+lib/libLLVMAArch64Desc.a
+lib/libLLVMAArch64Disassembler.a
+lib/libLLVMAArch64Info.a
+lib/libLLVMAArch64Utils.a
+lib/libLLVMAMDGPUAsmParser.a
+lib/libLLVMAMDGPUAsmPrinter.a
+lib/libLLVMAMDGPUCodeGen.a
+lib/libLLVMAMDGPUDesc.a
+lib/libLLVMAMDGPUDisassembler.a
+lib/libLLVMAMDGPUInfo.a
+lib/libLLVMAMDGPUUtils.a
+lib/libLLVMARMAsmParser.a
+lib/libLLVMARMAsmPrinter.a
+lib/libLLVMARMCodeGen.a
+lib/libLLVMARMDesc.a
+lib/libLLVMARMDisassembler.a
+lib/libLLVMARMInfo.a
lib/libLLVMAnalysis.a
lib/libLLVMAsmParser.a
lib/libLLVMAsmPrinter.a
+lib/libLLVMBPFAsmPrinter.a
+lib/libLLVMBPFCodeGen.a
+lib/libLLVMBPFDesc.a
+lib/libLLVMBPFDisassembler.a
+lib/libLLVMBPFInfo.a
lib/libLLVMBinaryFormat.a
lib/libLLVMBitReader.a
lib/libLLVMBitWriter.a
@@ -2526,11 +2551,22 @@ lib/libLLVMDebugInfoPDB.a
lib/libLLVMDemangle.a
lib/libLLVMExecutionEngine.a
lib/libLLVMGlobalISel.a
+lib/libLLVMHexagonAsmParser.a
+lib/libLLVMHexagonCodeGen.a
+lib/libLLVMHexagonDesc.a
+lib/libLLVMHexagonDisassembler.a
+lib/libLLVMHexagonInfo.a
lib/libLLVMIRReader.a
lib/libLLVMInstCombine.a
lib/libLLVMInstrumentation.a
lib/libLLVMInterpreter.a
lib/libLLVMLTO.a
+lib/libLLVMLanaiAsmParser.a
+lib/libLLVMLanaiAsmPrinter.a
+lib/libLLVMLanaiCodeGen.a
+lib/libLLVMLanaiDesc.a
+lib/libLLVMLanaiDisassembler.a
+lib/libLLVMLanaiInfo.a
lib/libLLVMLibDriver.a
lib/libLLVMLineEditor.a
lib/libLLVMLinker.a
@@ -2539,24 +2575,53 @@ lib/libLLVMMCDisassembler.a
lib/libLLVMMCJIT.a
lib/libLLVMMCParser.a
lib/libLLVMMIRParser.a
+lib/libLLVMMSP430AsmPrinter.a
+lib/libLLVMMSP430CodeGen.a
+lib/libLLVMMSP430Desc.a
+lib/libLLVMMSP430Info.a
lib/libLLVMMipsAsmParser.a
lib/libLLVMMipsAsmPrinter.a
lib/libLLVMMipsCodeGen.a
lib/libLLVMMipsDesc.a
lib/libLLVMMipsDisassembler.a
lib/libLLVMMipsInfo.a
+lib/libLLVMNVPTXAsmPrinter.a
+lib/libLLVMNVPTXCodeGen.a
+lib/libLLVMNVPTXDesc.a
+lib/libLLVMNVPTXInfo.a
lib/libLLVMObjCARCOpts.a
lib/libLLVMObject.a
lib/libLLVMObjectYAML.a
lib/libLLVMOption.a
lib/libLLVMOrcJIT.a
lib/libLLVMPasses.a
+lib/libLLVMPowerPCAsmParser.a
+lib/libLLVMPowerPCAsmPrinter.a
+lib/libLLVMPowerPCCodeGen.a
+lib/libLLVMPowerPCDesc.a
+lib/libLLVMPowerPCDisassembler.a
+lib/libLLVMPowerPCInfo.a
lib/libLLVMProfileData.a
+lib/libLLVMRISCVCodeGen.a
+lib/libLLVMRISCVDesc.a
+lib/libLLVMRISCVInfo.a
lib/libLLVMRuntimeDyld.a
lib/libLLVMScalarOpts.a
lib/libLLVMSelectionDAG.a
+lib/libLLVMSparcAsmParser.a
+lib/libLLVMSparcAsmPrinter.a
+lib/libLLVMSparcCodeGen.a
+lib/libLLVMSparcDesc.a
+lib/libLLVMSparcDisassembler.a
+lib/libLLVMSparcInfo.a
lib/libLLVMSupport.a
lib/libLLVMSymbolize.a
+lib/libLLVMSystemZAsmParser.a
+lib/libLLVMSystemZAsmPrinter.a
+lib/libLLVMSystemZCodeGen.a
+lib/libLLVMSystemZDesc.a
+lib/libLLVMSystemZDisassembler.a
+lib/libLLVMSystemZInfo.a
lib/libLLVMTableGen.a
lib/libLLVMTarget.a
lib/libLLVMTransformUtils.a
@@ -2568,6 +2633,11 @@ lib/libLLVMX86Desc.a
lib/libLLVMX86Disassembler.a
lib/libLLVMX86Info.a
lib/libLLVMX86Utils.a
+lib/libLLVMXCoreAsmPrinter.a
+lib/libLLVMXCoreCodeGen.a
+lib/libLLVMXCoreDesc.a
+lib/libLLVMXCoreDisassembler.a
+lib/libLLVMXCoreInfo.a
lib/libLLVMXRay.a
lib/libLLVMipo.a
lib/libLTO.so
diff --git a/llvm-all-in-one/options.mk b/llvm-all-in-one/options.mk
index f8b4bdf022..aa3a5cc59f 100644
--- a/llvm-all-in-one/options.mk
+++ b/llvm-all-in-one/options.mk
@@ -1,13 +1,6 @@
# $NetBSD: options.mk,v 1.3 2017/05/09 12:23:42 jperkin Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.llvm
-
-LLVM_TARGETS= AArch64 AMDGPU ARM BPF Hexagon MSP430 Mips NVPTX PowerPC Sparc SystemZ X86 XCore
-
-.for tgt in ${LLVM_TARGETS}
-PLIST_VARS+= ${tgt}
-PKG_SUPPORTED_OPTIONS+= llvm-target-${tgt:tl}
-.endfor
PKG_SUPPORTED_OPTIONS+= terminfo
# Terminfo is used for colour output, only enable it by default if terminfo
@@ -20,36 +13,10 @@ CHECK_BUILTIN.terminfo:= no
PKG_SUGGESTED_OPTIONS+= terminfo
.endif
-# Probably safe to assume that only x86 users are interested in
-# cross-compilation for now. This saves some build time for everyone else.
-.if !empty(MACHINE_ARCH:Msparc*)
-PKG_SUGGESTED_OPTIONS+= llvm-target-sparc
-.elif !empty(MACHINE_ARCH:Mpowerpc*)
-PKG_SUGGESTED_OPTIONS+= llvm-target-powerpc
-.elif !empty(MACHINE_ARCH:Mearm*)
-PKG_SUGGESTED_OPTIONS+= llvm-target-arm
-.elif !empty(MACHINE_ARCH:M*mips*)
-PKG_SUGGESTED_OPTIONS+= llvm-target-mips
-.else
-# X86 and everyone else get all targets by default.
-. for tgt in ${LLVM_TARGETS}
-PKG_SUGGESTED_OPTIONS+= llvm-target-${tgt:tl}
-. endfor
-.endif
-
.include "../../mk/bsd.options.mk"
-.for tgt in ${LLVM_TARGETS}
-. if !empty(PKG_OPTIONS:Mllvm-target-${tgt:tl})
-PLIST.${tgt}= yes
-LLVM_TARGETS_TO_BUILD+= ${tgt}
-. endif
-.endfor
-
.if !empty(PKG_OPTIONS:Mterminfo)
.include "../../mk/terminfo.buildlink3.mk"
.else
CMAKE_ARGS+= -DLLVM_ENABLE_TERMINFO=OFF
.endif
-
-CMAKE_ARGS+= -DLLVM_TARGETS_TO_BUILD="${LLVM_TARGETS_TO_BUILD:ts;}"
Home |
Main Index |
Thread Index |
Old Index