Depends on your umask (I default to a non-permissive one) and how you build the package.
Search Criteria
Package Details: clang-libs-minimal-git 21.0.0_r537041.f2e62cfca5e5-1
Package Actions
| Git Clone URL: | https://aur.archlinux.org/llvm-minimal-git.git (read-only, click to copy) | 
|---|---|
| Package Base: | llvm-minimal-git | 
| Description: | clang runtime libraries, trunk version | 
| Upstream URL: | https://llvm.org/ | 
| Licenses: | Apache-2.0 WITH LLVM-exception | 
| Conflicts: | clang, clang-libs | 
| Provides: | clang-libs | 
| Submitter: | Lone_Wolf | 
| Maintainer: | Lone_Wolf | 
| Last Packager: | Lone_Wolf | 
| Votes: | 5 | 
| Popularity: | 0.000008 | 
| First Submitted: | 2019-05-14 19:32 (UTC) | 
| Last Updated: | 2025-05-10 11:10 (UTC) | 
Dependencies (14)
- gcc-libs (gcc-libs-gitAUR, gccrs-libs-gitAUR, gcc-libs-snapshotAUR)
 - glibc (glibc-gitAUR, glibc-eacAUR)
 - llvm-libs-minimal-gitAUR
 - cmake (cmake3AUR, cmake-gitAUR) (make)
 - git (git-gitAUR, git-glAUR) (make)
 - libedit (make)
 - libffi (libffi-gitAUR) (make)
 - libxcrypt (libxcrypt-gitAUR) (make)
 - libxml2 (libxml2-gitAUR) (make)
 - ncurses (ncurses-gitAUR) (make)
 - ninja (ninja-kitwareAUR, ninja-fuchsia-gitAUR, ninja-gitAUR, ninja-memAUR, ninja-noemacs-gitAUR) (make)
 - python (make)
 - python-setuptools (make)
 - zstd (zstd-gitAUR, zstd-staticAUR) (make)
 
Required by (4)
Sources (1)
bpierre commented on 2019-05-30 21:23 (UTC)
Lone_Wolf commented on 2019-05-30 19:37 (UTC)
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 (UTC)
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 (UTC)
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 (UTC)
@Lone_Wolf and now package doesn't work OOB because user should set unofficial undocumented NINJAFLAGS?
artivision commented on 2019-05-29 11:26 (UTC)
Fail with /var/tmp/pamac-build-jojo/llvm-minimal-git/src/_build/ empty error.
yurikoles commented on 2019-05-25 06:52 (UTC)
Actually, transition to one monorepo for whole llvm projects was a couple of months ago, the single repos are still maintained.
Lone_Wolf commented on 2019-05-24 19:02 (UTC)
Unfortunately those monorepos aren't documented anywhere as far as I know.
After getting weird errors during building for clang-minmal-git that didn't occur for llvm-git, I've now integrated compiler-rt-minimal-git and clang-minimal-git in this package. compiler-rt-minimal-git and clang-minimal-git will be removed in a few weeks.
yurikoles commented on 2019-05-14 19:52 (UTC)
@Lone_Wolf the old single project repos still maintained, e.g. http://llvm.org/git/llvm.git
Pinned Comments
Lone_Wolf commented on 2022-11-02 11:39 (UTC)
During building you may encounter lots of coredumps, slowing build down or even dramatically reducing the responsiveness of your system.
See https://wiki.archlinux.org/title/Core_dump for solutions/workarounds .
Lone_Wolf commented on 2020-08-22 12:30 (UTC) (edited on 2020-08-22 12:31 (UTC) by Lone_Wolf)
Archlinux currently has 3 llvm git implementations
this package
llvm-git
packages created & maintained by Lordheavy, an arch developer
Lone_Wolf commented on 2019-08-25 12:39 (UTC) (edited on 2021-01-30 21:15 (UTC) by Lone_Wolf)
Why does this package exist ?
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 :
Some of the things that are stripped out :
Maintainers (and users) should only depend on llvm-miminal-git after verifying it satisfies what they need.
Lone_Wolf commented on 2019-08-21 13:51 (UTC) (edited on 2024-02-24 20:50 (UTC) by Lone_Wolf)
When building this you are likely to see test failures in terminal output / logs.
The command used for the tests has been changed to continue regardless of failures. Incase you don't want to run the tests you can use --nocheck option of makepkg.