Package Base Details: llvm-lw-git

Git Clone URL: https://aur.archlinux.org/llvm-lw-git.git (read-only)
Submitter: Lone_Wolf
Maintainer: Lone_Wolf
Last Packager: Lone_Wolf
Votes: 1
Popularity: 0.239409
First Submitted: 2019-04-06 15:22
Last Updated: 2019-04-29 22:02

Pinned Comments

Lone_Wolf commented on 2019-05-17 22:15

This package is now obsolete, switch to llvm-minimal-git instead.

Latest Comments

« First ‹ Previous 1 2 3 Next › Last »

robus commented on 2019-04-28 18:05

Please, enable llvm-libs-lw-git to provide llvm-libs.

QuartzDragon commented on 2019-04-28 13:43

I think it's more about the provides being incorrect.

If llvm-lw-git doesn't have llvm in provides, llvm will be pulled from the main repo for those packages that depend on it.

And so on. This is why llvm-libs-lw-git works fine, because it doesn't conflict, while llvm-lw-git always will.

See what I mean?

Lone_Wolf commented on 2019-04-28 13:26

That tells me 2 things :

  • You don't build in a clean chroot
  • you don't use makepkg -r / --rmdeps option

I rarely build in a clean chroot, but use makepkg -Crs and a custom local repo to keep my system as clean as possible.

llvm-libs is only a makedepend for compiler-rt-lw-git & clang-lw-git and can be removed after building. The -r / --rmdeps option would have done that automatically.

QuartzDragon commented on 2019-04-28 12:23

I guess I should have been clearer:

This error occurred when I was trying to upgrade to a newer version of this package using the new PKGBUILD.

I fixed this completely when I reverted the changes for llvm-lw-git and llvm-ocaml-lw-git.

Leaving llvm-libs-lw-git alone was fine. llvm-libs from the main repo was automatically installed as a result.

Lone_Wolf commented on 2019-04-28 11:55

Dependencies are a bit weird now, but that conflict is intentional.

The runtime libraries llvm-libs and llvm-libs-lw-git are now compatible and can coexist. The other parts of this package can't be used together with stable llvm.

This is the same method used by older llvm versions in repos, look for example at https://git.archlinux.org/svntogit/packages.git/tree/trunk/PKGBUILD?h=packages/llvm7 .

you can't have llvm7 and llvm8 latest stable installed together, but the runtime libararties for both do coexist.

QuartzDragon commented on 2019-04-28 02:29

https://invent.kde.org/snippets/177

Dependencies are really broken, lol.

Lone_Wolf commented on 2019-04-27 22:53

new versions uploaded, see pinned comment for details.

Sinistar commented on 2019-04-09 21:11

I use an edited version from here https://aur.archlinux.org/packages/clang-trunk/ I stripped out what I didn't want and it works for me. Also, I noticed that the "extra" repository version of clang-compiler-rt is just called compiler-rt.

Lone_Wolf commented on 2019-04-09 18:05

Adding those 2 lines to llvm-lw-git cmake options is not enough. After adding a mv command in prepare to move polly sourcecode to tools/polly , llvm-lw-git is able to build polly.

However clang-lw-git then shows a linking error : undefined reference to `polly::initializePollyPasses(llvm::PassRegistry&)

Show me a working llvm8 or trunk suite with polly support from any distro and I'll look at it again.

Sinistar commented on 2019-04-09 01:36

-DPOLLY_ENABLE_GPGPU_CODEGEN:BOOL=ON

-DLINK_POLLY_INTO_TOOLS:BOOL=ON

should compile Polly.