Package Details: llvm-libs-minimal-git 9.0.0_r319391.1885747498c-1

Git Clone URL: https://aur.archlinux.org/llvm-minimal-git.git (read-only)
Package Base: llvm-minimal-git
Description: LLVM runtime libraries
Upstream URL: https://llvm.org/
Licenses: custom:University of Illinois/NCSA Open Source License
Provides: lone_wolf-llvm-libs-git=9.0.0_r319391.1885747498c-1
Replaces: lone_wolf-llvm-libs-git
Submitter: Lone_Wolf
Maintainer: Lone_Wolf
Last Packager: Lone_Wolf
Votes: 1
Popularity: 0.264091
First Submitted: 2019-05-14 19:32
Last Updated: 2019-06-19 00:23

Latest Comments

1 2 Next › Last »

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 \

0ctobot commented on 2019-06-20 19:16

It seems no matter what I do, I am unable to successfully build this or the full llvm-git packages. Both ceaselessly fail during regression testing. In the case of llvm-minimal, the results are as follows:

.../llvm-minimal-git/src/llvm-project/clang-tools-extra/test/modularize/ProblemsCoverage.modularize:3:10: error: CHECK: expected string not found in input CHECK: warning: {{.}}{{[/\]}}Inputs/CoverageProblems/module.modulemap does not account for file: {{.}}{{[/\]}}Inputs/CoverageProblems/Level3A.h

Testing Time: 61.37s Failing Tests (1): Clang Tools :: modularize/ProblemsCoverage.modularize

Expected Passes : 750 Expected Failures : 1 Unsupported Tests : 1 Unexpected Failures: 1 FAILED: tools/clang/tools/extra/test/CMakeFiles/check-clang-tools cd .../llvm-minimal-git/src/_build/tools/clang/tools/extra/test && /usr/bin/python .../llvm-minimal-git/src/_build/./bin/llvm-lit -sv .../llvm-minimal-git/src/_build/tools/clang/tools/extra/test ninja: build stopped: subcommand failed. ==> ERROR: A failure occurred in check(). Aborting...

bpierre commented on 2019-05-30 21:23

Depends on your umask (I default to a non-permissive one) and how you build the package.

Lone_Wolf commented on 2019-05-30 19:37

Looks like that file already has 644 permissions.

$ stat pkg/llvm-minimal-git/usr/include/llvm/Config/llvm-config.h 
  File: pkg/llvm-minimal-git/usr/include/llvm/Config/llvm-config.h
  Size: 168             Blocks: 8          IO Block: 4096   regular file
Device: 10302h/66306d   Inode: 5128021     Links: 1
Access: (0644/-rw-r--r--)  Uid: ( 1000/panoramix)   Gid: ( 1000/panoramix)
Access: 2019-05-30 00:29:05.599799638 +0200
Modify: 2019-05-30 00:01:18.000000000 +0200
Change: 2019-05-30 00:29:04.649791531 +0200
 Birth: 2019-05-30 00:28:08.012636305 +0200
$ 

bpierre commented on 2019-05-30 18:21

Minor tweak to ensure /usr/include/llvm/Config/llvm-config.h permissions are right:

 PKGBUILD | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git c/PKGBUILD w/PKGBUILD
index ebf594f..74d63e3 100644
--- c/PKGBUILD
+++ w/PKGBUILD
@@ -136,7 +136,7 @@ package_llvm-minimal-git() {
         # Needed for multilib (https://bugs.archlinux.org/task/29951)
         # Header stub is taken from Fedora
         mv "$pkgdir"/usr/include/llvm/Config/llvm-config{,-64}.h
-        cp "$srcdir"/llvm-config.h "$pkgdir"/usr/include/llvm/Config/llvm-config.h
+        install -Dm644 "$srcdir"/llvm-config.h "$pkgdir"/usr/include/llvm/Config/llvm-config.h
     fi

     install -Dm644 "$srcdir"/llvm-project/llvm/LICENSE.TXT "$pkgdir"/usr/share/licenses/"$pkgname"/LICENSE

bpierre commented on 2019-05-29 14:58

The PKGBUILD should use ninja $NINJAFLAGS (not ninja "$NINJAFLAGS"), so the value is properly split (e.g. when using NINJAFLAGS="-j3 -k0") and it works when it's empty.

yurikoles commented on 2019-05-29 14:38

@Lone_Wolf and now package doesn't work OOB because user should set unofficial undocumented NINJAFLAGS?

artivision commented on 2019-05-29 11:26

Fail with /var/tmp/pamac-build-jojo/llvm-minimal-git/src/_build/ empty error.

yurikoles commented on 2019-05-25 06:52

Actually, transition to one monorepo for whole llvm projects was a couple of months ago, the single repos are still maintained.