Package Base Details: llvm-git

Git Clone URL: https://aur.archlinux.org/llvm-git.git (read-only, click to copy)
Keywords: clang git lld lldb llvm polly
Submitter: yurikoles
Maintainer: rjahanbakhshi
Last Packager: rjahanbakhshi
Votes: 118
Popularity: 0.77
First Submitted: 2018-12-05 13:56 (UTC)
Last Updated: 2024-04-17 08:17 (UTC)

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 .. 55 56 57 58 59 60 61 62 63 64 65 .. 70 Next › Last »

aksr commented on 2013-11-10 11:19 (UTC)

It doesn't work. I'll try to recompile it. Strange, output was fine.

mtahmed commented on 2013-11-10 11:00 (UTC)

Works with both clang-compiled binary and gcc-compiled binary. Try re-compiling and re-installing maybe? Also, try using this test file: http://sprunge.us/LJJL Compile it and run: lldb ./a.out b main step See if that works.

aksr commented on 2013-11-10 10:56 (UTC)

It doesn't work for me, did you compiled it with a clang or with a gcc?

mtahmed commented on 2013-11-10 10:02 (UTC)

How are you running lldb? Are you attaching to a running process? Are you running it with the executable as an argument? I am unable to reproduce using these steps: 1. Create a new file test_lldb.c 2. Include stdio.h and simply printf "hello world!" 3. lldb ./a.out 4. b main 5. run 6. step Works as expected.

aksr commented on 2013-11-10 08:59 (UTC)

mtahmed: No matter what I do, lldb segfaults. For example: b main, step → segmentation fault. Any ideas what can be done?

aksr commented on 2013-11-09 21:23 (UTC)

Unable to compile lldb: I used: CXX=clang++ makepkg

hpohl commented on 2013-10-31 19:17 (UTC)

Thank you, just noticed the libs were missing.

H3g3m0n commented on 2013-10-31 03:26 (UTC)

I think this needs: options=('staticlibs') Things like the address sanitizer depend on .a files that are getting stripped. The non-aur clang package also has that option. But beware it is a 1.1GiB install size with staticlibs.