Package Base Details: lib32-llvm-git

Git Clone URL: https://aur.archlinux.org/lib32-llvm-git.git (read-only, click to copy)
Keywords: clang git llvm
Submitter: yurikoles
Maintainer: Lone_Wolf (rjahanbakhshi)
Last Packager: rjahanbakhshi
Votes: 12
Popularity: 0.019078
First Submitted: 2019-01-11 15:50
Last Updated: 2021-01-27 18:01

Latest Comments

« First ‹ Previous ... 3 4 5 6 7 8

Lone_Wolf commented on 2015-01-16 00:08

package_lib32-llvm-svn() {
pkgdesc="Low Level Virtual Machine (32-bit)"
depends=("lib32-llvm-libs-svn=$pkgver-$pkgrel" 'llvm')

Krejzi, i tried to use this pacakge with my lib32-mesa-r300-r600-radeonsi-git package and got a conflict on compiling it,
I solved it by having lib32-llvm-svn depend on llvm-svn.

Muflone commented on 2015-01-13 16:35

The package has been orphaned, feel free to adopt and fix it.

Krejzi commented on 2015-01-09 19:23

Yes, I have filled a request the same day I wrote the comment. I have since then a prepared PKGBUILD just waiting to be uploaded.

oxalin commented on 2015-01-09 18:54

I hope that oliv passes the ownership to you, Krejzi, since it doesn't seem to have been actively maintened for awhile? Have you filled a request for ownership since your comment?

Krejzi commented on 2014-12-30 15:25

Seeing that you don't maintain this package very well, and given that I maintain llvm-svn, I'd like to maintain this package too if you don't mind.

bouhappy commented on 2014-07-07 23:28

I was able to build after making my own patch file:

% cat cl_parser_passinfo_extern.patch
index e2e4912..a07e3fd 100644
--- a/include/llvm/IR/LegacyPassNameParser.h
+++ b/include/llvm/IR/LegacyPassNameParser.h
@@ -95,6 +95,8 @@ private:
}
};

+EXTERN_TEMPLATE_INSTANTIATION(class cl::parser<const PassInfo *>);
+
///===----------------------------------------------------------------------===//
/// FilteredPassNameParser class - Make use of the pass registration
/// mechanism to automatically add a command line argument to opt for
diff --git a/lib/IR/Pass.cpp b/lib/IR/Pass.cpp
index 91d86ae..00ce223 100644
--- a/lib/IR/Pass.cpp
+++ b/lib/IR/Pass.cpp
@@ -234,6 +234,8 @@ PassNameParser::~PassNameParser() {
// attempting to remove the registration listener is an error.
}

+TEMPLATE_INSTANTIATION(class cl::parser<const PassInfo *>);
+
//===----------------------------------------------------------------------===//
// AnalysisUsage Class Implementation
//


And adding it to the PKGBUILD:
prepare() {
cd ""${srcdir}/${_pkgname}""

# Fix installation directories, ./configure doesn't seem to set them right
sed -i -e 's:\$(PROJ_prefix)/lib:$(PROJ_prefix)/lib32:' \
-e 's:\$(PROJ_prefix)/docs/llvm:$(PROJ_prefix)/share/doc/llvm:' \
Makefile.config.in
sed -i '/ActiveLibDir = ActivePrefix/s:lib:lib32:' \
tools/llvm-config/llvm-config.cpp
sed -i 's:LLVM_LIBDIR="${prefix}/lib":LLVM_LIBDIR="${prefix}/lib32":' \
autoconf/configure.ac \
configure

# Fix insecure rpath (http://bugs.archlinux.org/task/14017)
sed -i 's:$(RPATH) -Wl,$(\(ToolDir\|LibDir\|ExmplDir\))::g' Makefile.rules

# apply the patch to it
patch -p1 -d ${srcdir}/${_pkgname} < ${srcdir}/../cl_parser_passinfo_extern.patch
}

computor commented on 2014-07-06 23:18

Getting a build error in opt. Does this need to be compiled with clang?

I was able to build after adding "CC=clang CXX=clang++" (like llvm-svn's PKGBUILD) to the PKGBUILD.

zman0900 commented on 2014-02-26 04:09

Updated my gist to remove the ocaml stuff since it conflicts with files from the 64-bit llvm-svn.

zman0900 commented on 2014-02-26 03:56

I updated the PKGBUILD based off the repo version:

https://gist.github.com/zman0900/9223231

Do whatever you want with it.