Package Details: llvm-minimal-git 10.0.0_r330751.f78c236efda-1

Git Clone URL: https://aur.archlinux.org/llvm-minimal-git.git (read-only)
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
Submitter: Lone_Wolf
Maintainer: Lone_Wolf
Last Packager: Lone_Wolf
Votes: 1
Popularity: 0.027253
First Submitted: 2019-05-14 19:32
Last Updated: 2019-10-31 14:15

Dependencies (13)

Required by (1)

Sources (2)

Pinned Comments

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

Things that are stripped out :

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

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 Next › Last »

Lone_Wolf commented on 2019-09-28 11:49

Because I was lying to pacman with those provides.

Programs that require repo llvm/compiler-rt/clang will fail if llvm-minimal-git is present.

Only those programs that depend on llvm-libs or llvm-libs-minimal-git will keep working. mesa-git only needs llvm-minimal-git at build time, at runtime all it needs is llvm-libs-minimal-git .

remove llvm/compiler-rt/clang before building and everything will work.

To avoid similar problems in the future, build in a clean chroot or use makepkg -Crs to automatically remove what -s added after building.

Terence commented on 2019-09-27 16:32

Why did it stop providing compiler-rt and clang? Building mesa-git gives me :: compiler-rt and llvm-minimal-git are in conflict. Remove llvm-minimal-git?

Terence commented on 2019-08-25 13:12

Thank you very much for the explanation @Lone_wolf Maybe pin it in case someone asks the same question? Edit: nevermind you already did it.

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

Things that are stripped out :

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

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

Terence commented on 2019-08-24 15:29

This package doesn't provide llvm-git which is the name most packages depends on. Is it expected?

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.

yurikoles commented on 2019-08-12 09:26

@Faalagorn please examine instructions in llvm-git sticky message.

Faalagorn commented on 2019-08-11 12:24

Commenting out just the check() function made it compile after two previous failures for me – also I see that https://aur.archlinux.org/packages/lib32-llvm-minimal-git/ PKGBUILD is different and among some doesn't include that check, although I didn't try compiling it yet (EDIT: it works fine).

EDIT: Alternatively, it works by disabling check via --nocheck or stating BUILDENV=([…] !check […])

Lone_Wolf commented on 2019-06-25 20:09

@Octobot : clang regresssion tests fail so often I'm tempted to remove them from the check() function. Usually they go away(and are sometimes replaced by others) after a few days when upstream solved them.

@Sinistar llvm-minimal-git gives more warnings then in the past, but other then that I haven't encountered problems with it or mesa-git using llvm-minimal-git & gcc9 . Will test llvm-git in a few days.

Sinistar commented on 2019-06-23 22:11

Just a heads up, GCC 9.X seems to be messed up. LLVM will compile fine with clang, or GCC 8.X. Also, MESA will compile ok with GCC 8.X. If you use clang to compile LLVM you will also need to use gold as the linker and add clang as a makedepends.

Example:

    -D CMAKE_C_COMPILER=/usr/bin/clang \
    -D CMAKE_CXX_COMPILER=/usr/bin/clang++ \
    -D LLVM_USE_LINKER=gold \