Package Details: llvm-git 9.0.0_r321420.937ff6e701b-1

Git Clone URL: (read-only)
Package Base: llvm-git
Description: LLVM development version. includes clang and many other tools
Upstream URL:
Keywords: clang git lld lldb llvm polly
Licenses: custom:University of Illinois/NCSA Open Source License
Conflicts: clang, compiler-rt, lld, lldb, llvm, llvm-ocaml, polly
Provides: aur-llvm-git, clang=9.0.0_r321420.937ff6e701b-1, clang-git=9.0.0_r321420.937ff6e701b-1, compiler-rt=9.0.0_r321420.937ff6e701b-1, compiler-rt-git=9.0.0_r321420.937ff6e701b-1, lld=9.0.0_r321420.937ff6e701b-1, lld-git=9.0.0_r321420.937ff6e701b-1, lldb=9.0.0_r321420.937ff6e701b-1, lldb-git=9.0.0_r321420.937ff6e701b-1, llvm-ocaml=9.0.0_r321420.937ff6e701b-1, llvm-ocaml-git=9.0.0_r321420.937ff6e701b-1, polly=9.0.0_r321420.937ff6e701b-1, polly-git=9.0.0_r321420.937ff6e701b-1
Submitter: yurikoles
Maintainer: Lone_Wolf
Last Packager: Lone_Wolf
Votes: 110
Popularity: 0.573093
First Submitted: 2018-12-05 13:56
Last Updated: 2019-07-11 22:18

Dependencies (19)

Required by (472)

Sources (3)

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. I understand how older llvm libs repo packages do it, not sure yet if i agree with the approach.

  • llvm-git

    has llvm , clang, compiler-rt, ocaml & python bindings, polly , lld , lldb . The provides for llvm-svn have been re-added to allow others maintainers to update their packages.

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

llvm check now works, clang check however fails. I suggest to test without nocheck first, if build fails due to test failure add--nocheck .

Latest Comments

1 2 3 4 5 6 ... Next › Last »

Lone_Wolf commented on 2019-08-22 13:08

Yup, ocaml was upgraded in repos and you're the first to notice that breaks building .

I'll update it and/or look into methods to automate getting that version.

PedroHLC commented on 2019-08-22 11:36

error: target not found: ocaml=4.07.1

Is that right? ocaml in extra is on 4.08.0

gally commented on 2019-07-11 20:54

Hi, thanks alot for the suggestions. I figured out what was wrong on my part. Turns out my buildfolder ran out of space, even though no error pointed to this at first. I moved it around and now it build fine. Sorry :)

PedroHLC commented on 2019-07-11 13:37

I have been building @Lone_Wolf's llvm-git, llvm-minimal-git and lib32 variants in my repo (chaotic-aur) every single day since February, including checks. And all this time I recall it failing only two or three times. The secret is to always build in a clean chroot. (I also build mesa-git hourly, this sometimes fails in the building, but it's usually fixed a few minutes later )

Lone_Wolf commented on 2019-07-11 11:52

I just finshed building, got lots of warnings, but NO build failures at all with a fully updated archlinux . There were test failures, but those are very common with llvm trunk and skipping them with makepkg --nocheck option is easy.

  • to those with build problems.

If you don't use devtools, build with makepkg --cleanbuild --syncdeps --rmdeps .

Make sure no other llvm package is installed. An existing installation of ocaml and python-recommonmark can also cause problems.

Incorrect python installs can break the build() & check() easily. Make sure you're only using python3 from arch repos. If you use pip, conda , anaconda or other stuff that tries to manage python , create a separate user for those or for building llvm-git.

  • lots of provides

Lordheavy unofficial repo has switched to -git, so the -svn provides can go. packages that still depend on them should be updated (or orphaned if maintainer is unactive). I will add llvm-git to provides and also look at provides as a whole.

  • not providing llvm

This is a deliberate choice, I will add pinned comments explaining the reasoning.


Thanks for testing, nightuser. I have good resuilts with that option in llvm-minimal-git and your confirmation helps. I will switch to that method.

gally commented on 2019-07-10 13:37

Same issues as cj360. Looking through bugzilla it looked like it's an issue with gcc 9.1, so I downgraded it to 8.3.0. However same results as cj360 just a bit later on.

Lone_Wolf commented on 2019-07-04 07:12

The version number suggest that version is from before june 28, or about a week old. Have you tried with latest version from LH repo ?

Does the issue also happen with latest version of this package and is there a llvm bug report ?

Haxk20 commented on 2019-07-03 14:48

After long time not playing Elite Dangerous i launched it but all the shadows were white to my suprise. I got the issue pointed to LLVM. Last known build version from mesa-git repo is r319790.e8da65c698e.

nightuser commented on 2019-06-24 08:15

I tried building with LLVM_ENABLE_PROJECTS instead of moving directories around and it seemed ok. I didn't compare the two options of building the package since it takes ages to compile on my hardware.

QuartzDragon commented on 2019-06-15 11:58

Hey @Lone_Wolf, can you add llvm and llvm-git to the provides?

Every package depending on llvm wants to install llvm from the main repos, which prompted me to look. Adding llvm to provides shut them up. Adding llvm-git also wouldn't be a bad idea, just in-case some other AUR package demands a specific version for whatever random reason.