Package Details: clang-libs-minimal-git 19.0.0_r496188.172f6ddfa766-1

Git Clone URL: (read-only, click to copy)
Package Base: llvm-minimal-git
Description: clang runtime libraries, trunk version
Upstream URL:
Licenses: custom:Apache 2.0 with LLVM Exception
Conflicts: clang, clang-libs
Provides: clang-libs
Submitter: Lone_Wolf
Maintainer: Lone_Wolf
Last Packager: Lone_Wolf
Votes: 5
Popularity: 0.21
First Submitted: 2019-05-14 19:32 (UTC)
Last Updated: 2024-04-18 22:06 (UTC)

Pinned Comments

Lone_Wolf commented on 2022-11-02 11:39 (UTC)

During building you may encounter lots of coredumps, slowing build down or even dramatically reducing the responsiveness of your system.

See for solutions/workarounds .

Lone_Wolf commented on 2020-08-22 12:30 (UTC) (edited on 2020-08-22 12:31 (UTC) by Lone_Wolf)

Archlinux currently has 3 llvm git implementations

  1. this package

    • see other pinned comments for details
  2. llvm-git

    • 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
    • binary versions in chaotic aur unofficial repository
  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-08-25 12:39 (UTC) (edited on 2021-01-30 21:15 (UTC) by Lone_Wolf)

Why does this package exist ?

Llvm & aur llvm-git are intended to provide a full development environment of llvm/clang suite that can replace eachother completely (aur llvm-git adds some xtra functionality)

llvm-minimal-git is a stripped-down llvm trunk build with these goals :

  • llvm-libs-minimal-git must coexist with stable llvm-libs
  • provide what's needed for mesa trunk (it's a hard dependency for mesa-minimal-git and a possible dependeny for mesa-git)
  • provide basic llvm/clang compiler functionality on x86-64 architecture

Some of the things that are stripped out :

  • cross-compiling support
  • bindings for ocaml
  • bindings for go
  • lld , lldb and polly
  • documentation
  • examples
  • benchmarks

Maintainers (and users) should only depend on llvm-miminal-git after verifying it satisfies what they need.

Lone_Wolf commented on 2019-08-21 13:51 (UTC) (edited on 2024-02-24 20:50 (UTC) by Lone_Wolf)

When building this you are likely to see test failures in terminal output / logs.

The command used for the tests has been changed to continue regardless of failures. Incase you don't want to run the tests you can use --nocheck option of makepkg.

Latest Comments

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

d3vilguard commented on 2024-04-01 19:56 (UTC) (edited on 2024-04-01 19:57 (UTC) by d3vilguard)

@wustdsh I'm so caught up in my things that I didn't bother to look and just reported.

Original line: rm "$pkgdir"/usr/lib/clang/19/lib/{i386-pc-linux-gnu,x86_64-pc-linux-gnu}/*.a

Only removed i386-pc-linux-gnu


rm "$pkgdir"/usr/lib/clang/19/lib/x86_64-pc-linux-gnu/*.a

Builds just fine. @Lone_Wolf

d3vilguard commented on 2024-03-31 06:35 (UTC) (edited on 2024-03-31 08:16 (UTC) by d3vilguard)


warning: no files found matching 'TODO'
warning: no previously-included files matching '*pyc' found anywhere in distribution
warning: no previously-included files matching '*~' found anywhere in distribution
no previously-included directories found matching 'tests/Output'
no previously-included directories found matching 'tests/*/Output'
no previously-included directories found matching 'tests/*/*/Output'
no previously-included directories found matching 'tests/*/*/*/Output'
adding license file 'LICENSE.TXT'
writing manifest file 'lit.egg-info/SOURCES.txt'
Copying lit.egg-info to /build/llvm-minimal-git/pkg/llvm-minimal-git/usr/lib/python3.11/site-packages/lit-19.0.0.dev0-py3.11.egg-info
running install_scripts
Installing lit script to /build/llvm-minimal-git/pkg/llvm-minimal-git/usr/bin
rm: cannot remove '/build/llvm-minimal-git/pkg/llvm-minimal-git/usr/lib/clang/19/lib/i386-pc-linux-gnu/*.a': No such file or directory
==> ERROR: A failure occurred in package_llvm-minimal-git().
==> ERROR: Build failed, check /home/georgi/Documents/chroot/georgi/build


curl is currently broken (curl-8.7.1-3) and git+https will fail downloading the source. Downgrading curl (8.6.0-4) works.

Lone_Wolf commented on 2024-03-25 21:42 (UTC)

Did you include base-devel when creating the chroot ?

You're not supposed to add makedepends through arch-nspawn but should let makechrootpkg determine makedepends & depends at build time. However if you do want to add makedeps that way why did you leave out libffi, ncurses, libxml2 and libxcrypt ?

Which revision are you trying to build ?

jansalleine commented on 2024-03-25 09:12 (UTC)

I get a CMake error when trying to build this in a clean chroot:

CMake Error: The inter-target dependency graph contains the following strongly connected component (cycle):
  [... a ton of targets ...]
At least one of these targets is not a STATIC_LIBRARY.  Cyclic dependencies are allowed only among static libraries.
CMake Generate step failed.  Build files cannot be regenerated correctly.

Steps to reproduce:

  • Set up clean chroot as described in the wiki
  • install dependencies: arch-nspawn $CHROOT/root pacman -S git cmake libedit python python-setuptools
  • git clone
  • cd llvm-minimal-git and then makechrootpkg -c -r $CHROOT

Lone_Wolf commented on 2024-03-19 21:55 (UTC) (edited on 2024-03-20 14:43 (UTC) by Lone_Wolf)

I have encountered problems during building that indicate options=('!lto') is ignored by makepkg but OPTIONS=('!lto') does work.

See for more info

The issue was not having !debug in the PKGBUILD, corrected.

Lone_Wolf commented on 2024-03-12 09:42 (UTC)

thanks for the headsup, will look into it.

Kitlith commented on 2024-03-12 00:24 (UTC) (edited on 2024-03-12 00:26 (UTC) by Kitlith)

Small heads up, LLVM version numbers are no longer contained in llvm-project/llvm/CMakeLists.txt, but are instead in llvm-project/cmake/Modules/LLVMVersion.cmake, which causes the PKGBUILD to generate a bad pkgver and break unless you point pkgver() at the new file.

Lone_Wolf commented on 2024-02-24 20:53 (UTC)

Soname change issue was solved in .

Lone_Wolf commented on 2024-02-20 11:58 (UTC) changed soname of the libllvm library and broke this package.