Package Details: llvm-libs-git 18.0.0_r484887.953ae94149f0-1

Git Clone URL: https://aur.archlinux.org/llvm-git.git (read-only, click to copy)
Package Base: llvm-git
Description: runtime libraries for llvm-git
Upstream URL: https://llvm.org/
Keywords: clang git lld lldb llvm polly
Licenses: custom:Apache 2.0 with LLVM Exception
Conflicts: llvm-libs
Provides: aur-llvm-libs-git, llvm-libs
Submitter: yurikoles
Maintainer: rjahanbakhshi
Last Packager: rjahanbakhshi
Votes: 118
Popularity: 0.008542
First Submitted: 2018-12-05 13:56 (UTC)
Last Updated: 2024-04-17 08:17 (UTC)

Required by (129)

Sources (2)

Pinned Comments

Lone_Wolf commented on 2021-08-16 11:26 (UTC)

When you have this package installed applications that are built against repo-llvm/clang WILL fail unless they are rebuild against this package.

This includes QTCreator, kdevelop , mesa, intel-compute-runtime, gnome-builder to name a few.

Lone_Wolf commented on 2020-08-22 12:18 (UTC) (edited on 2021-02-06 12:51 (UTC) by Lone_Wolf)

Archlinux currently has 3 llvm git implementations

  1. This package

    • It aims to provide a full llvm/clang compiler environment for development purposes.
    • Supports cross-compiling , bindings for external stuff (python, ocaml etc) , and some things not in extra-llvm.
    • intended to be used with archlinux core,extra & community repos
    • CONFLICTS with extra llvm/clang packages
    • Currently there's no repo with binary versions
  2. llvm-minimal-git

    • focuses on providing stuff needed for AUR mesa-git. Doesn't support cross-compiling or any bindings for external stuff like ocaml & python.
    • intended to be used with archlinux core,extra & community repos
    • compatible with extra llvm/clang packages
    • no repo with binary versions
  3. packages created & maintained by Lordheavy, an arch developer

    • intended to be used with archlinux testing repos
    • sometimes has problems on systems where testing repos are disabled
    • uses same package structure as llvm/clang in official repos
    • source
    • binary versions in LordHeavys unoffical repo

Lone_Wolf commented on 2019-04-12 20:41 (UTC) (edited on 2019-12-16 22:45 (UTC) by Lone_Wolf)

I've looked good at clang-trunk , llvm-svn, repo llvm/clang packages and think this package is now on route to become a worthy successor to llvm-svn .

  • llvm-libs-git holds the runtime libraries.

    It conflicts with the repo llvm-libs package. This is the only way to make sure the llvm linker from git is used, and that's needed for a full dev environment.

  • llvm-git

    has llvm , clang, compiler-rt, ocaml & python bindings, polly , lld , lldb .


The Package now uses a new environment variable to make ninja behave, NINJAFLAGS. If you want to use it adjust the snippet below to your desired values and add it to makepkg.conf.

Incase you are satisfied with ninja defaults you don't need to do anything.

# Add to makepkg.conf
# limit ninja to 20 jobs
# requires special code in PKGBUILD
# see ninja --help for additonal options
NINJAFLAGS="-j20"

The check() function fails rather often, but I do suggest to build with them. If build fails due to test failure you can add --nocheck to skip the tests.

Latest Comments

« First ‹ Previous 1 .. 50 51 52 53 54 55 56 57 58 59 60 .. 70 Next › Last »

narnith commented on 2014-06-18 22:26 (UTC)

Getting the same error as shosca.

shosca commented on 2014-06-16 12:23 (UTC)

Yea build fails with rev 211017 http://pastebin.com/xL65Safm

Krejzi commented on 2014-06-13 23:13 (UTC)

Maybe you just got a revision with some regression. Can you reproduce with latest svn?

shosca commented on 2014-06-13 16:02 (UTC)

The build is failing for me with:/tmp/llvm-svn/src/llvm/tools/bugpoint/Release/bugpoint.o: In function `llvm::cl::list<llvm::PassInfo const*, bool, llvm::PassNameParser>::getExtraOptionNames(llvm::SmallVectorImpl<char const*>&)': bugpoint.cpp:(.text._ZN4llvm2cl4listIPKNS_8PassInfoEbNS_14PassNameParserEE19getExtraOptionNamesERNS_15SmallVectorImplIPKcEE[_ZN4llvm2cl4listIPKNS_8PassInfoEbNS_14PassNameParserEE19getExtraOptionNamesERNS_15SmallVectorImplIPKcEE]+0x76): undefined reference to `llvm::cl::parser<llvm::PassInfo const*>::getOption(unsigned int) const' collect2: error: ld returned 1 exit status Full log: http://pastebin.com/GrY4PjNN

Krejzi commented on 2014-04-30 22:11 (UTC)

Not sure. Do you have gcc-4.9.0 installed? If so, try rebuilding the package.

mmstick commented on 2014-04-30 21:41 (UTC)

Any fix for: libGL error: dlopen /usr/lib/xorg/modules/dri/swrast_dri.so failed (/usr/lib/libstdc++.so.6: version `GLIBCXX_3.4.20' not found (required by /usr/lib/libLLVM-3.5.0svn.so))

zan commented on 2014-03-16 18:35 (UTC)

==> Starting package_llvm-libs-svn()... install: cannot stat ‘/mnt/Storage/Code/pkgbuild/llvm-svn/src/libLLVM-3.5svn.so’: No such file or directory ==> ERROR: A failure occurred in package_llvm-libs-svn(). Aborting... /mnt/Storage/Code/pkgbuild/llvm-svn/src/libLLVM-3.5svn.so: broken symbolic link to `/mnt/Storage/Code/pkgbuild/llvm-svn/pkg/llvm-svn/usr/lib/libLLVM-3.5.0svn.so' These are the contents of that directory, note no libLLVM-3.5.0svn.so: BugpointPasses.so libLLVMLTO.a libLLVMSelectionDAG.a LLVMgold.so libLLVMLineEditor.a libLLVMSparcAsmParser.a bfd-plugins libLLVMLinker.a libLLVMSparcAsmPrinter.a libLLVMAArch64AsmParser.a libLLVMMC.a libLLVMSparcCodeGen.a libLLVMAArch64AsmPrinter.a libLLVMMCDisassembler.a libLLVMSparcDesc.a libLLVMAArch64CodeGen.a libLLVMMCJIT.a libLLVMSparcDisassembler.a libLLVMAArch64Desc.a libLLVMMCParser.a libLLVMSparcInfo.a libLLVMAArch64Disassembler.a libLLVMMSP430AsmPrinter.a libLLVMSupport.a libLLVMAArch64Info.a libLLVMMSP430CodeGen.a libLLVMSystemZAsmParser.a libLLVMAArch64Utils.a libLLVMMSP430Desc.a libLLVMSystemZAsmPrinter.a libLLVMARMAsmParser.a libLLVMMSP430Info.a libLLVMSystemZCodeGen.a libLLVMARMAsmPrinter.a libLLVMMipsAsmParser.a libLLVMSystemZDesc.a libLLVMARMCodeGen.a libLLVMMipsAsmPrinter.a libLLVMSystemZDisassembler.a libLLVMARMDesc.a libLLVMMipsCodeGen.a libLLVMSystemZInfo.a libLLVMARMDisassembler.a libLLVMMipsDesc.a libLLVMTableGen.a libLLVMARMInfo.a libLLVMMipsDisassembler.a libLLVMTarget.a libLLVMAnalysis.a libLLVMMipsInfo.a libLLVMTransformUtils.a libLLVMAsmParser.a libLLVMNVPTXAsmPrinter.a libLLVMVectorize.a libLLVMAsmPrinter.a libLLVMNVPTXCodeGen.a libLLVMX86AsmParser.a libLLVMBitReader.a libLLVMNVPTXDesc.a libLLVMX86AsmPrinter.a libLLVMBitWriter.a libLLVMNVPTXInfo.a libLLVMX86CodeGen.a libLLVMCodeGen.a libLLVMObjCARCOpts.a libLLVMX86Desc.a libLLVMCore.a libLLVMObject.a libLLVMX86Disassembler.a libLLVMCppBackendCodeGen.a libLLVMOption.a libLLVMX86Info.a libLLVMCppBackendInfo.a libLLVMPowerPCAsmParser.a libLLVMX86Utils.a libLLVMDebugInfo.a libLLVMPowerPCAsmPrinter.a libLLVMXCoreAsmPrinter.a libLLVMExecutionEngine.a libLLVMPowerPCCodeGen.a libLLVMXCoreCodeGen.a libLLVMHexagonAsmPrinter.a libLLVMPowerPCDesc.a libLLVMXCoreDesc.a libLLVMHexagonCodeGen.a libLLVMPowerPCDisassembler.a libLLVMXCoreDisassembler.a libLLVMHexagonDesc.a libLLVMPowerPCInfo.a libLLVMXCoreInfo.a libLLVMHexagonInfo.a libLLVMR600AsmPrinter.a libLLVMipa.a libLLVMIRReader.a libLLVMR600CodeGen.a libLLVMipo.a libLLVMInstCombine.a libLLVMR600Desc.a libLTO.a libLLVMInstrumentation.a libLLVMR600Info.a libLTO.so libLLVMInterpreter.a libLLVMRuntimeDyld.a libLLVMJIT.a libLLVMScalarOpts.a Instead, it is in llvm-svn/pkg/llvm-libs-svn/usr/lib. So you awnt to fix the pkgbuild to look for it there.

Behem0th commented on 2014-03-05 23:11 (UTC)

behem0th@ArchLinux ~/AUR/X11/llvm-svn :( $ ls -l src/ итого 30784 -rwxr-xr-x 1 behem0th behem0th 31510497 мар 6 03:00 libLLVM-3.5.0svn.so lrwxrwxrwx 1 behem0th behem0th 72 мар 6 03:00 libLLVM-3.5svn.so -> /home/behem0th/AUR/X11/llvm-svn/pkg/llvm-svn/usr/lib/libLLVM-3.5.0svn.so drwxr-xr-x 1 behem0th behem0th 712 мар 6 02:17 llvm lrwxrwxrwx 1 behem0th behem0th 52 мар 6 02:13 llvm-Config-config.h -> /home/behem0th/AUR/X11/llvm-svn/llvm-Config-config.h lrwxrwxrwx 1 behem0th behem0th 57 мар 6 02:13 llvm-Config-llvm-config.h -> /home/behem0th/AUR/X11/llvm-svn/llvm-Config-llvm-config.h drwxr-xr-x 1 behem0th behem0th 10556 мар 6 03:00 ocaml drwxr-xr-x 1 behem0th behem0th 8 мар 6 03:00 ocamldoc

Behem0th commented on 2014-03-05 23:03 (UTC)

==> Tidying install... -> Purging unwanted files... -> Compressing man and info pages... ==> Creating package "llvm-svn"... -> Generating .PKGINFO file... -> Generating .MTREE file... -> Compressing package... ==> Starting package_llvm-libs-svn()... install: cannot stat '/home/behem0th/AUR/X11/llvm-svn/src/libLLVM-3.5svn.so': No such file or directory ==> ERROR: A failure occurred in package_llvm-libs-svn(). Aborting... What could be the problem?