thanks for the headsup, will look into it.
Search Criteria
Package Details: llvm-minimal-git 19.0.0_r492934.a02b79f3fc76-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: | Collection of modular and reusable compiler and toolchain technologies |
Upstream URL: | https://llvm.org/ |
Licenses: | custom:Apache 2.0 with LLVM Exception |
Conflicts: | llvm |
Provides: | llvm |
Submitter: | Lone_Wolf |
Maintainer: | Lone_Wolf |
Last Packager: | Lone_Wolf |
Votes: | 4 |
Popularity: | 0.000000 |
First Submitted: | 2019-05-14 19:32 (UTC) |
Last Updated: | 2024-03-16 10:23 (UTC) |
Dependencies (12)
- llvm-libs-minimal-gitAUR
- cmake (cmake-gitAUR) (make)
- git (git-gitAUR, git-fcAUR) (make)
- libedit (make)
- libffi (libffi-gitAUR) (make)
- libxcrypt (libxcrypt-gitAUR) (make)
- libxml2 (libxml2-gitAUR, libxml2-2.9AUR) (make)
- ncurses (ncurses-gitAUR) (make)
- python (python32AUR, python37AUR, python310AUR) (make)
- python-setuptools (make)
- python (python32AUR, python37AUR, python310AUR) (optional) – for using lit (LLVM Integrated Tester)
- python-setuptools (optional) – for using lit
Required by (533)
- adaptivecpp-common-git (requires llvm) (make)
- adaptivecpp-cpu-git (requires llvm) (make)
- adaptivecpp-opencl-git (requires llvm) (make)
- adaptivecpp-rocm-git (requires llvm) (make)
- adscript (requires llvm)
- aftermath-openmp-git (requires llvm)
- amdapp-sdk (requires llvm)
- amdapp-sdk (requires llvm) (make)
- amdapp-sdk-docs (requires llvm) (make)
- amdapp-sdk-nocatalyst (requires llvm) (make)
- amdapp-sdk-opencv (requires llvm)
- amdapp-sdk-opencv (requires llvm) (make)
- amdonly-gaming-libva-mesa-driver-git (requires llvm) (make)
- amdonly-gaming-mesa-git (requires llvm) (make)
- amdonly-gaming-mesa-vdpau-git (requires llvm) (make)
- amdonly-gaming-opencl-clover-mesa-git (requires llvm) (make)
- amdonly-gaming-opencl-rusticl-mesa-git (requires llvm) (make)
- amdonly-gaming-vulkan-mesa-layers-git (requires llvm) (make)
- amdonly-gaming-vulkan-radeon-git (requires llvm) (make)
- amdonly-gaming-vulkan-swrast-git (requires llvm) (make)
- Show 513 more...
Sources (1)
Lone_Wolf commented on 2024-03-12 09:42 (UTC)
Kitlith commented on 2024-03-12 00:24 (UTC) (edited on 2024-03-12 00:26 (UTC) by Kitlith)
Small heads up, LLVM version numbers are no longer contained in llvm-project/llvm/CMakeLists.txt
, but are instead in llvm-project/cmake/Modules/LLVMVersion.cmake
, which causes the PKGBUILD to generate a bad pkgver and break unless you point pkgver() at the new file.
Lone_Wolf commented on 2024-02-24 20:53 (UTC)
Soname change issue was solved in https://github.com/llvm/llvm-project/pull/82660 .
Lone_Wolf commented on 2024-02-20 11:58 (UTC)
https://github.com/llvm/llvm-project/commit/91a384621e5b762d9c173ffd247cfeadd5f436a2 changed soname of the libllvm library and broke this package.
Lone_Wolf commented on 2024-02-02 21:29 (UTC) (edited on 2024-02-02 21:30 (UTC) by Lone_Wolf)
That's just the default if you haven't set MAKEFLAGS.
Look at /etc/makepkg.conf , you'll see
#-- Make Flags: change this for DistCC/SMP systems
#MAKEFLAGS="-j2"
My main desktop has a 12C/24T processor and after some experimentation I found using 20 jobs gives fast compiling while still allowing me to do other things.
My /etc/makepkg.conf has this line just below the 2 shown above
MAKEFLAGS="-j20"
maintuner commented on 2024-02-02 15:40 (UTC)
Hi, could you please add -j $(nproc) to every make command? This package builds very slowly because it uses only 1 CPU core.
mdupont commented on 2023-12-29 17:44 (UTC)
thank you very much @Lone_Wolf. I was missing clang-minimal-git. Works perfectly now!
Lone_Wolf commented on 2023-12-29 10:11 (UTC)
It does build everything needed for clang on x86_64 .
Just build without changing the PKGBUILD, after build is ready use pacman -U to install/update llvm-libs-minimal-git & clang-libs-minimal-git & clang-minimal-git .
Then run
$ clang --version
$ clang-format --version
to verify they are present and working.
mdupont commented on 2023-12-28 18:23 (UTC)
Hello,
I have successfully built this package, with LLVM_ENABE_PROJECT=clang
, but I still do not have access to the clang compiler. I am simply looking for a minimal build so that I can use the latest clang-format tool and the full llvm-git package cannot build on my system. This package doesn't seem to build the clang binaries unless I'm missing something?
Lone_Wolf commented on 2023-11-30 09:10 (UTC)
ld.lld: error: Invalid record (Producer: 'LLVM18.0.0' Reader: 'LLVM 16.0.6')
It looks for the llvm18 linker but only finds the llvm16 linker.
This package builts llvm itself, also compiler-rt, clang-tools-extra and clang but not lld .
I could add lld, but that would cause file conflicts with repo lld.
Best option might be adding another sub package, how important is this for you ?
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.