ports/opt (3.0): llvm: enable shared building, R600 support and disable all non-x86 platforms
commit 0ccd77d10d5481e6fbb772d60d0ce0fc8b93e616 Author: Thomas Penteker <tek@serverop.de> Date: Wed Sep 18 22:57:30 2013 +0200 llvm: enable shared building, R600 support and disable all non-x86 platforms diff --git a/llvm/.footprint b/llvm/.footprint index 59af68c..7bf8957 100644 --- a/llvm/.footprint +++ b/llvm/.footprint @@ -1089,19 +1089,7 @@ drwxr-xr-x root/root usr/lib/clang/3.3/include/ -rw-r--r-- root/root usr/lib/clang/3.3/include/x86intrin.h -rw-r--r-- root/root usr/lib/clang/3.3/include/xmmintrin.h -rw-r--r-- root/root usr/lib/clang/3.3/include/xopintrin.h --rwxr-xr-x root/root usr/lib/libLLVMAArch64AsmParser.a --rwxr-xr-x root/root usr/lib/libLLVMAArch64AsmPrinter.a --rwxr-xr-x root/root usr/lib/libLLVMAArch64CodeGen.a --rwxr-xr-x root/root usr/lib/libLLVMAArch64Desc.a --rwxr-xr-x root/root usr/lib/libLLVMAArch64Disassembler.a --rwxr-xr-x root/root usr/lib/libLLVMAArch64Info.a --rwxr-xr-x root/root usr/lib/libLLVMAArch64Utils.a --rwxr-xr-x root/root usr/lib/libLLVMARMAsmParser.a --rwxr-xr-x root/root usr/lib/libLLVMARMAsmPrinter.a --rwxr-xr-x root/root usr/lib/libLLVMARMCodeGen.a --rwxr-xr-x root/root usr/lib/libLLVMARMDesc.a --rwxr-xr-x root/root usr/lib/libLLVMARMDisassembler.a --rwxr-xr-x root/root usr/lib/libLLVMARMInfo.a +-rwxr-xr-x root/root usr/lib/libLLVM-3.3.so -rwxr-xr-x root/root usr/lib/libLLVMAnalysis.a -rwxr-xr-x root/root usr/lib/libLLVMArchive.a -rwxr-xr-x root/root usr/lib/libLLVMAsmParser.a @@ -1110,64 +1098,29 @@ drwxr-xr-x root/root usr/lib/clang/3.3/include/ -rwxr-xr-x root/root usr/lib/libLLVMBitWriter.a -rwxr-xr-x root/root usr/lib/libLLVMCodeGen.a -rwxr-xr-x root/root usr/lib/libLLVMCore.a --rwxr-xr-x root/root usr/lib/libLLVMCppBackendCodeGen.a --rwxr-xr-x root/root usr/lib/libLLVMCppBackendInfo.a -rwxr-xr-x root/root usr/lib/libLLVMDebugInfo.a -rwxr-xr-x root/root usr/lib/libLLVMExecutionEngine.a --rwxr-xr-x root/root usr/lib/libLLVMHexagonAsmPrinter.a --rwxr-xr-x root/root usr/lib/libLLVMHexagonCodeGen.a --rwxr-xr-x root/root usr/lib/libLLVMHexagonDesc.a --rwxr-xr-x root/root usr/lib/libLLVMHexagonInfo.a -rwxr-xr-x root/root usr/lib/libLLVMIRReader.a -rwxr-xr-x root/root usr/lib/libLLVMInstCombine.a -rwxr-xr-x root/root usr/lib/libLLVMInstrumentation.a -rwxr-xr-x root/root usr/lib/libLLVMInterpreter.a -rwxr-xr-x root/root usr/lib/libLLVMJIT.a -rwxr-xr-x root/root usr/lib/libLLVMLinker.a --rwxr-xr-x root/root usr/lib/libLLVMMBlazeAsmParser.a --rwxr-xr-x root/root usr/lib/libLLVMMBlazeAsmPrinter.a --rwxr-xr-x root/root usr/lib/libLLVMMBlazeCodeGen.a --rwxr-xr-x root/root usr/lib/libLLVMMBlazeDesc.a --rwxr-xr-x root/root usr/lib/libLLVMMBlazeDisassembler.a --rwxr-xr-x root/root usr/lib/libLLVMMBlazeInfo.a -rwxr-xr-x root/root usr/lib/libLLVMMC.a -rwxr-xr-x root/root usr/lib/libLLVMMCDisassembler.a -rwxr-xr-x root/root usr/lib/libLLVMMCJIT.a -rwxr-xr-x root/root usr/lib/libLLVMMCParser.a --rwxr-xr-x root/root usr/lib/libLLVMMSP430AsmPrinter.a --rwxr-xr-x root/root usr/lib/libLLVMMSP430CodeGen.a --rwxr-xr-x root/root usr/lib/libLLVMMSP430Desc.a --rwxr-xr-x root/root usr/lib/libLLVMMSP430Info.a --rwxr-xr-x root/root usr/lib/libLLVMMipsAsmParser.a --rwxr-xr-x root/root usr/lib/libLLVMMipsAsmPrinter.a --rwxr-xr-x root/root usr/lib/libLLVMMipsCodeGen.a --rwxr-xr-x root/root usr/lib/libLLVMMipsDesc.a --rwxr-xr-x root/root usr/lib/libLLVMMipsDisassembler.a --rwxr-xr-x root/root usr/lib/libLLVMMipsInfo.a --rwxr-xr-x root/root usr/lib/libLLVMNVPTXAsmPrinter.a --rwxr-xr-x root/root usr/lib/libLLVMNVPTXCodeGen.a --rwxr-xr-x root/root usr/lib/libLLVMNVPTXDesc.a --rwxr-xr-x root/root usr/lib/libLLVMNVPTXInfo.a -rwxr-xr-x root/root usr/lib/libLLVMObjCARCOpts.a -rwxr-xr-x root/root usr/lib/libLLVMObject.a -rwxr-xr-x root/root usr/lib/libLLVMOption.a --rwxr-xr-x root/root usr/lib/libLLVMPowerPCAsmParser.a --rwxr-xr-x root/root usr/lib/libLLVMPowerPCAsmPrinter.a --rwxr-xr-x root/root usr/lib/libLLVMPowerPCCodeGen.a --rwxr-xr-x root/root usr/lib/libLLVMPowerPCDesc.a --rwxr-xr-x root/root usr/lib/libLLVMPowerPCInfo.a +-rwxr-xr-x root/root usr/lib/libLLVMR600AsmPrinter.a +-rwxr-xr-x root/root usr/lib/libLLVMR600CodeGen.a +-rwxr-xr-x root/root usr/lib/libLLVMR600Desc.a +-rwxr-xr-x root/root usr/lib/libLLVMR600Info.a -rwxr-xr-x root/root usr/lib/libLLVMRuntimeDyld.a -rwxr-xr-x root/root usr/lib/libLLVMScalarOpts.a -rwxr-xr-x root/root usr/lib/libLLVMSelectionDAG.a --rwxr-xr-x root/root usr/lib/libLLVMSparcCodeGen.a --rwxr-xr-x root/root usr/lib/libLLVMSparcDesc.a --rwxr-xr-x root/root usr/lib/libLLVMSparcInfo.a -rwxr-xr-x root/root usr/lib/libLLVMSupport.a --rwxr-xr-x root/root usr/lib/libLLVMSystemZAsmParser.a --rwxr-xr-x root/root usr/lib/libLLVMSystemZAsmPrinter.a --rwxr-xr-x root/root usr/lib/libLLVMSystemZCodeGen.a --rwxr-xr-x root/root usr/lib/libLLVMSystemZDesc.a --rwxr-xr-x root/root usr/lib/libLLVMSystemZInfo.a -rwxr-xr-x root/root usr/lib/libLLVMTableGen.a -rwxr-xr-x root/root usr/lib/libLLVMTarget.a -rwxr-xr-x root/root usr/lib/libLLVMTransformUtils.a @@ -1179,11 +1132,6 @@ drwxr-xr-x root/root usr/lib/clang/3.3/include/ -rwxr-xr-x root/root usr/lib/libLLVMX86Disassembler.a -rwxr-xr-x root/root usr/lib/libLLVMX86Info.a -rwxr-xr-x root/root usr/lib/libLLVMX86Utils.a --rwxr-xr-x root/root usr/lib/libLLVMXCoreAsmPrinter.a --rwxr-xr-x root/root usr/lib/libLLVMXCoreCodeGen.a --rwxr-xr-x root/root usr/lib/libLLVMXCoreDesc.a --rwxr-xr-x root/root usr/lib/libLLVMXCoreDisassembler.a --rwxr-xr-x root/root usr/lib/libLLVMXCoreInfo.a -rwxr-xr-x root/root usr/lib/libLLVMipa.a -rwxr-xr-x root/root usr/lib/libLLVMipo.a -rwxr-xr-x root/root usr/lib/libLTO.a diff --git a/llvm/Pkgfile b/llvm/Pkgfile index 571507a..73aebda 100644 --- a/llvm/Pkgfile +++ b/llvm/Pkgfile @@ -6,7 +6,7 @@ name=llvm version=3.3 -release=1 +release=2 source=(http://llvm.org/releases/$version/{$name,cfe}-$version.src.tar.gz) build() { @@ -14,7 +14,10 @@ build() { cd $name-$version.src - ./configure --prefix=/usr --without-oprofile --enable-cxx11 + # enable enable-shard and the R600 target for mesa3d + ./configure --prefix=/usr --without-oprofile --enable-cxx11 \ + --enable-targets=x86,x86_64 \ + --enable-shared --enable-experimental-targets=R600 make $MAKEFLAGS make DESTDIR=$PKG install
participants (1)
-
crux@crux.nu