Package Details: llvm-minimal-git 12.0.0_r374074.1c98f984105e-1

Git Clone URL: https://aur.archlinux.org/llvm-minimal-git.git (read-only, click to copy)
Package Base: llvm-minimal-git
Description: Collection of modular and reusable compiler and toolchain technologies
Upstream URL: https://llvm.org/
Licenses: custom:Apache 2.0 with LLVM Exception
Conflicts: clang, compiler-rt, llvm
Provides: clang, compiler-rt, llvm
Submitter: Lone_Wolf
Maintainer: Lone_Wolf
Last Packager: Lone_Wolf
Votes: 3
Popularity: 0.039604
First Submitted: 2019-05-14 19:32
Last Updated: 2020-12-07 20:27

Dependencies (14)

Required by (947)

Sources (2)

Pinned Comments

Lone_Wolf commented on 2020-08-22 12:30

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

Why does this package not provide llvm & llvm-git ?

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-git (llvm-minimal-git is my first choice to build mesa-git against)
  • 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 use llvm-miminal-git after verifying it satisfies what they need.

Lone_Wolf commented on 2019-08-21 13:51

When building this you are likely to encounter test failures.

Those that mention non-x86-64 and/or non-admgpu architectures are unimportant.

To prevent building abortions due to test failures, you can use --nocheck option of makepkg.

Latest Comments

1 2 3 4 Next › Last »

Lone_Wolf commented on 2020-12-07 20:35

I decided to remove documentation, examples, benchmarks and a few more things.

Building now requires less dependencies , build time should be shorter and the binaries a bit smaller.

Lone_Wolf commented on 2020-08-22 12:30

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

Strunkenbold commented on 2020-05-01 18:25

@yurikoles Thx for the hint! Will do next time! @Lone_Wolf Thx for the build error, it is working now just fine!

Lone_Wolf commented on 2020-03-30 15:10

Thought a bit more about this package and am now considering to remove "basic llvm/clang compiler functionality on x86_64" and just target mesa-git with it.

That would allow to leave out documentation and possibly more things.

Lone_Wolf commented on 2020-03-26 12:29

It's minimal compared to llvm-git.

Also one of its goals is to provide basic compiler functionality . I do think accurate documentation is necessary for basic functionality.

recommonmark / swig / sphinx are makedepends and only needed during building. Just build in a clean chroot or use makepkg --syncdeps --rmdeps , and those dependencies won't be on your system.

mirh commented on 2020-03-26 00:23

If this is so minimal, why is documentation/sphinx needed?

Lone_Wolf commented on 2020-03-19 22:29

Changed cmake options to get tests builded during check() . Building with --nocheck works again.

Lone_Wolf commented on 2020-03-19 16:46

Build currently fails, see https://bugs.llvm.org/show_bug.cgi?id=45252

Lone_Wolf commented on 2020-03-13 18:06

@Strunkenbold:

/usr/include/c++/9.3.0/ Looks like you are using [testing] repos ?

yurikoles commented on 2020-03-13 12:13

@Strunkenbold

Please always do export LC_ALL=C to get English logs :)