Package Base Details: llvm-git

Git Clone URL: (read-only, click to copy)
Keywords: clang git lld lldb llvm polly
Submitter: yurikoles
Maintainer: Lone_Wolf
Last Packager: Lone_Wolf
Votes: 111
Popularity: 0.199802
First Submitted: 2018-12-05 13:56
Last Updated: 2020-04-21 19:34

Pinned Comments

Lone_Wolf commented on 2019-04-12 20:41

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

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 ... 6 7 8 9 10 11 12 13 14 15 16 ... Next › Last »

bearoso commented on 2019-03-30 00:37

@yurikoles You couldn't have done this a day sooner? I gave up waiting and made my own packages yesterday. :-)

Your package doesn't install clangd-indexer, though. In my package I just used sed to replace "add_clang_executable" with "add_clang_tool" in clang-tools-extra/clangd/indexer/CMakeLists.txt.

yurikoles commented on 2019-03-29 21:00

@Lone_Wolf done

Lone_Wolf commented on 2019-03-29 20:56

Please add me as co-maintainer.

Lone_Wolf commented on 2019-03-29 20:54


At first glimpse those look a lot like the ones I was working on locally. (well, i hadn't started on lib32 or lld/lldb )

Thank you.

bearoso commented on 2019-03-29 19:57

I was annoyed that LordHeavy's llvm builds didn't include the linker plugin OR lld to do LTO, so yesterday I took the mainline LLVM stuff and a version function from yurikoles' non-working file and turned it into llvm-git PKGBUILDs:

Everything is identical to the base arch 8.0 builds, but adapted to pull 9.0 master from LLVM's new git repository. Named *-git, but provides the base and *-svn packages. Everything tested and works well with mesa-git. Feel free to take and do whatever with it.

PedroHLC commented on 2019-03-29 18:42

@yurikoles last commit seems to have all deps right!

yurikoles commented on 2019-03-29 14:48

@PedroHLC thanks for report, I already fixed some errors while building in clean chroot. But I still can't find what else missing. Help is appreciated.

PedroHLC commented on 2019-03-29 14:15

@yurikoles, this is a log from a clean chroot building, I'm getting a lot of repetitive warnings, some erros with missing binaries and then it fails: Seems like there're a few missing dependencies, could you take a look?

cdkitching commented on 2019-03-29 05:23

Since the Arch bug that motivated me to make this package in the first place was fixed years ago, I no longer care.

Anyone who wants to take it on is welcome to do so.

yurikoles commented on 2019-03-18 12:07


This is known issue, I had updated pinned message.

P.S. Сергей, я то знаю русский, но на будущее, не забывайте про export LC_ALL=C перед выполнением команды, с которой у вас проблема.