Package Base Details: lib32-llvm-svn

Git Clone URL: https://aur.archlinux.org/lib32-llvm-svn.git (read-only)
Keywords: clang llvm
Submitter: oliv
Maintainer: kerberizer
Last Packager: kerberizer
Votes: 9
Popularity: 0.000304
First Submitted: 2013-12-09 18:44
Last Updated: 2017-10-28 15:04

Pinned Comments

kerberizer commented on 2016-10-23 19:15

[PINNED] IMPORTANT INFORMATION // PLEASE READ CAREFULLY

Please check the following page for information on:
* possible problems with this package;
* recommendations on how to build it;
* availability of binary packages.

https://github.com/kerberizer/lib32-llvm-svn

You may also use it for bug reports and pull requests.

Latest Comments

kerberizer commented on 2017-07-24 17:20

@fightcookie Noted, thanks!

fightcookie commented on 2017-07-24 17:15

Please change all the llvm.org url and source links to TLS encrypted https. Thanks! :)

kerberizer commented on 2016-11-10 13:15

[IMPORTANT] Mesa again builds correctly with the latest {,lib32-}llvm-svn, so it's safe to update your LLVM packages.

DON'T FORGET TO REBUILD MESA!

NB: You might need this tiny patch to mesa-git's PKGBUILD, which I'm sure @Lone_Wolf will apply shortly.

diff --git a/PKGBUILD b/PKGBUILD
index 0a8836e..96d5c8d 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -168,7 +168,7 @@ package_mesa-vulkan-radeon-git() {
conflicts=('vulkan-radeon')

install -m755 -d ${pkgdir}/usr/share/vulkan/icd.d
- mv -v ${srcdir}/fakeinstall/usr/share/vulkan/icd.d/radeon_icd.json ${pkgdir}/usr/share/vulkan/icd.d/
+ mv -v ${srcdir}/fakeinstall/usr/share/vulkan/icd.d/radeon_icd.*.json ${pkgdir}/usr/share/vulkan/icd.d/

install -m755 -d ${pkgdir}/usr/lib
mv -v ${srcdir}/fakeinstall/usr/lib/libvulkan_radeon.so ${pkgdir}/usr/lib/

kerberizer commented on 2016-11-07 19:50

[NOTICE] Update for the LLVM r286062 issue with Mesa is now in code review: https://patchwork.freedesktop.org/series/14932/

Edit: Updated the link.

kerberizer commented on 2016-11-07 14:46

[HEADS UP] LLVM r286062 breaks Mesa

If you use llvm-svn with Mesa, particularly for the AMD open source driver, DO NOT upgrade LLVM to version >=r286062. Upgrading will not only break the existing driver, but will also prevent you from building Mesa altogether (in both cases there will be error messages related to missing LLVMAddFunctionAttr).

If you have already upgraded to a version >=r286062, here are some possible solutions:
1. Don't restart X: everything should mostly keep running, since the older shared lib has already been loaded in memory. A fix for Mesa should emerge in the meantime, probably in a day or two at most.
2. Return to an older LLVM version: if you don't regularly clear /var/cache/pacman/pkg, you should be able to find there package versions earlier than r286062.
3. Switch to llvm/mesa from the official repositories. This may be somewhat tricky, depending on what exact packages you had installed. Try replacing as much as possible of the installed llvm-svn/mesa-git packages with their llvm/mesa counterparts. Remove the -svn/-git packages that don't have an equivalent 'provides' in the official repos. Of course, this might break some functionality for you.

I'll also consider keeping older versions of the llvm-svn* packages in the binary repo as a backup.

Ref: https://github.com/llvm-mirror/llvm/commit/4a6fc8bacf11d8066da72cf8481467167877ed16

spacejoe commented on 2016-10-24 01:06

By the way, I wasn't using pacaur, despite de folder path. I downloaded the tarball and ran makepkg. I'll try your suggestion, though. Thank you.

kerberizer commented on 2016-10-23 19:19

@spacejoe, I cannot reproduce the problem you describe on the system that constantly rebuilds the packages automatically. I do see however that you're using pacaur, an AUR helper. I'm afraid this isn't recommended and therefore is not supported, because LLVM/Clang is a fairly complex package. I'd suggest trying to build in a clean chroot as explained in the link in the pinned comment. Please let me know if that works.

kerberizer commented on 2016-10-23 19:15

[PINNED] IMPORTANT INFORMATION // PLEASE READ CAREFULLY

Please check the following page for information on:
* possible problems with this package;
* recommendations on how to build it;
* availability of binary packages.

https://github.com/kerberizer/lib32-llvm-svn

You may also use it for bug reports and pull requests.

spacejoe commented on 2016-10-23 16:52

I keep getting this error when building the package

[ 4%] Building AttributesCompatFunc.inc...

/home/ricardo/.cache/pacaur/lib32-llvm-svn/src/llvm/lib/IR/AttributesCompatFunc.td:1:9: error: Could not find include file 'llvm/IR/Attributes.td'
include "llvm/IR/Attributes.td"
^
/home/ricardo/.cache/pacaur/lib32-llvm-svn/src/llvm/lib/IR/AttributesCompatFunc.td:1:9: error: Unexpected input at top level
include "llvm/IR/Attributes.td"


Sometimes it goes a little furthen in the building and stops at some other file, same error.

kerberizer commented on 2016-07-13 15:44

@Enverex, most likely you have llvm-ocaml{,-svn} installed on the build system. Either uninstall this package prior to building or, better yet, build in a clean chroot. Please let me know if that solves your problem.

All comments