Package Details: llvm-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: LLVM development version. includes clang and many other tools
Upstream URL: https://llvm.org/
Keywords: clang git lld lldb llvm polly
Licenses: custom:Apache 2.0 with LLVM Exception
Conflicts: clang, compiler-rt, lld, lldb, llvm, polly
Provides: aur-llvm-git, clang, clang-git, compiler-rt, compiler-rt-git, lld, lld-git, lldb, lldb-git, llvm, polly, polly-git
Submitter: yurikoles
Maintainer: rjahanbakhshi
Last Packager: rjahanbakhshi
Votes: 118
Popularity: 0.010693
First Submitted: 2018-12-05 13:56 (UTC)
Last Updated: 2024-04-17 08:17 (UTC)

Required by (2205)

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 .. 47 48 49 50 51 52 53 54 55 56 57 .. 70 Next › Last »

mtahmed commented on 2015-04-23 20:30 (UTC)

Updated the package with pull request from zrax: https://github.com/mtahmed/aur/pull/5

SpotlightKid commented on 2015-04-14 16:23 (UTC)

My sincere apologies, I was posting on the wrong package page and also flagged it as out-of-date wrongly. Please disregard and remove the flag.

Krejzi commented on 2015-02-09 12:29 (UTC)

What I said still stands: If you know a way for me to enable what you are asking for, then please write it here.

mizvekov commented on 2015-02-09 10:06 (UTC)

@Krejzi It does make sense if one needs to statically link them, or if you are developing for bare-metal targets. Right now I am using clang in place of arm-none-eabi-gcc, and the gcc distribution does include them. The problem right now as I see it is that the build system doesn't use the just built clang in order to build compiler-rt, so it's not as simple as it should be. This will probably change though, a bug report has been opened for it and they are waiting for patches.

kdj0c commented on 2015-02-06 22:42 (UTC)

I get an error when building documentation: # Sphinx version: 1.2.3 # Python version: 3.4.2 # Docutils version: 0.12 release # Jinja2 version: 2.7.3 # Loaded extensions: # sphinx.ext.oldcmarkup from /usr/lib/python3.4/site-packages/sphinx/ext/oldcmarkup.py # sphinx.ext.intersphinx from /usr/lib/python3.4/site-packages/sphinx/ext/intersphinx.py # sphinx.ext.todo from /usr/lib/python3.4/site-packages/sphinx/ext/todo.py Traceback (most recent call last): File "/usr/lib/python3.4/site-packages/sphinx/cmdline.py", line 254, in main app.build(force_all, filenames) File "/usr/lib/python3.4/site-packages/sphinx/application.py", line 220, in build self.builder.build_update() File "/usr/lib/python3.4/site-packages/sphinx/builders/__init__.py", line 209, in build_update self.build(['__all__'], to_build) File "/usr/lib/python3.4/site-packages/sphinx/builders/__init__.py", line 234, in build purple, length): File "/usr/lib/python3.4/site-packages/sphinx/builders/__init__.py", line 134, in status_iterator for item in iterable: File "/usr/lib/python3.4/site-packages/sphinx/environment.py", line 478, in update_generator self.read_doc(docname, app=app) File "/usr/lib/python3.4/site-packages/sphinx/environment.py", line 697, in read_doc pickle.dump(doctree, f, pickle.HIGHEST_PROTOCOL) RuntimeError: maximum recursion depth exceeded while calling a Python object

Krejzi commented on 2015-01-27 19:08 (UTC)

Erm ... Compiler-Rt, (Runtime) is probably meant (as the name says) for running applications and makes no sense to build it for foreign arches. If you however know of a way for me to provide compiler-rt for all the available architectures, I could implement it in this package.

mizvekov commented on 2015-01-23 21:41 (UTC)

This package is missing compiler-rt libs for all arches except x86/x64, even though it's supposed to support all targets.