I do not delete any directories, only build for AMDGPU and X86 in a clean chroot and have not had any problems. I just compiled the Arch kernel and modules with clang and all the llvm replacements with no problems. Edit: just for clarity this is what I build -D LLVM_ENABLE_PROJECTS="clang;clang-tools-extra;compiler-rt;lld;lldb;polly"
Search Criteria
Package Details: llvm-libs-git 18.0.0_r484887.953ae94149f0-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/llvm-git.git (read-only, click to copy) |
---|---|
Package Base: | llvm-git |
Description: | runtime libraries for llvm-git |
Upstream URL: | https://llvm.org/ |
Keywords: | clang git lld lldb llvm polly |
Licenses: | custom:Apache 2.0 with LLVM Exception |
Conflicts: | llvm-libs |
Provides: | aur-llvm-libs-git, llvm-libs |
Submitter: | yurikoles |
Maintainer: | rjahanbakhshi |
Last Packager: | rjahanbakhshi |
Votes: | 118 |
Popularity: | 0.006423 |
First Submitted: | 2018-12-05 13:56 (UTC) |
Last Updated: | 2024-04-17 08:17 (UTC) |
Dependencies (33)
- gcc-libs (gcc-libs-gitAUR, gccrs-libs-gitAUR, gcc11-libsAUR, gcc-libs-snapshotAUR)
- libedit
- libffi (libffi-gitAUR)
- libxml2 (libxml2-gitAUR, libxml2-2.9AUR)
- lua53
- ncurses (ncurses-gitAUR)
- z3 (z3-gitAUR)
- zlib (zlib-ng-compat-gitAUR, zlib-gitAUR, zlib-ng-compat)
- cmake (cmake-gitAUR) (make)
- git (git-gitAUR, git-glAUR) (make)
- jsoncpp (jsoncpp-cmake-gitAUR, jsoncpp-cmakeAUR, jsoncpp-gitAUR) (make)
- libedit (make)
- libffi (libffi-gitAUR) (make)
- libxml2 (libxml2-gitAUR, libxml2-2.9AUR) (make)
- lldb (llvm-rocm-gitAUR, llvm-gitAUR) (make)
- lua53 (make)
- ncurses (ncurses-gitAUR) (make)
- ninja (ninja-kitwareAUR, ninja-memAUR, ninja-fuchsia-gitAUR, ninja-gitAUR, ninja-jobserverAUR) (make)
- ocaml (make)
- ocaml-ctypes (make)
- Show 13 more dependencies...
Required by (128)
- adaptivecpp (requires llvm-libs)
- adaptivecpp-common-git (requires llvm-libs) (make)
- adaptivecpp-cpu-git (requires llvm-libs)
- adaptivecpp-cpu-git (requires llvm-libs) (make)
- adaptivecpp-opencl-git (requires llvm-libs)
- adaptivecpp-opencl-git (requires llvm-libs) (make)
- adaptivecpp-rocm-git (requires llvm-libs)
- adaptivecpp-rocm-git (requires llvm-libs) (make)
- amdonly-gaming-libva-mesa-driver-git (requires llvm-libs)
- amdonly-gaming-mesa-git (requires llvm-libs)
- amdonly-gaming-mesa-vdpau-git (requires llvm-libs)
- amdonly-gaming-vulkan-radeon-git (requires llvm-libs)
- amdonly-gaming-vulkan-swrast-git (requires llvm-libs)
- bpftrace-git (requires llvm-libs)
- bpftune-git (requires llvm-libs) (make)
- brain (requires llvm-libs) (make)
- ccls-clang-git (requires llvm-libs)
- ccls-git (requires llvm-libs)
- cemu (requires llvm-libs)
- chigraph-git (requires llvm-libs)
- clang-uml (requires llvm-libs)
- clang35 (requires llvm-libs) (optional)
- codevis-db-git (requires llvm-libs)
- cpoint-git (requires llvm-libs)
- cppinsights (requires llvm-libs)
- cppinsights-git (requires llvm-libs)
- crystalline (requires llvm-libs) (make)
- ctbench-git (requires llvm-libs)
- cwrap-git (requires llvm-libs)
- darling-cli-devenv-git (requires llvm-libs) (make)
- darling-cli-devenv-gui-common-git (requires llvm-libs) (make)
- darling-cli-devenv-gui-stubs-common-git (requires llvm-libs) (make)
- darling-cli-extra-git (requires llvm-libs) (make)
- darling-cli-git (requires llvm-libs) (make)
- darling-cli-gui-common-git (requires llvm-libs) (make)
- darling-cli-python2-common-git (requires llvm-libs) (make)
- darling-core-git (requires llvm-libs) (make)
- darling-extra-git (requires llvm-libs) (make)
- darling-ffi-git (requires llvm-libs) (make)
- darling-git (requires llvm-libs) (make)
- darling-gui-git (requires llvm-libs) (make)
- darling-gui-git (requires llvm-libs) (optional)
- darling-gui-stubs-git (requires llvm-libs) (make)
- darling-iokitd-git (requires llvm-libs) (make)
- darling-iosurface-git (requires llvm-libs) (make)
- darling-jsc-git (requires llvm-libs) (make)
- darling-jsc-webkit-common-git (requires llvm-libs) (make)
- darling-perl-git (requires llvm-libs) (make)
- darling-pyobjc-git (requires llvm-libs) (make)
- darling-python2-git (requires llvm-libs) (make)
- darling-ruby-git (requires llvm-libs) (make)
- darling-system-git (requires llvm-libs) (make)
- divine (requires llvm-libs)
- dynarmic (requires llvm-libs)
- dynarmic-git (requires llvm-libs)
- faust-git (requires llvm-libs)
- frawk (requires llvm-libs)
- gendev (requires llvm-libs)
- genmc (requires llvm-libs)
- hclang-git (requires llvm-libs)
- include-what-you-use (requires llvm-libs)
- intel-opencl-clang-git (requires llvm-libs)
- ispc-git (requires llvm-libs)
- itgmania-git (requires llvm-libs) (make)
- ldc-git (requires llvm-libs)
- lean (requires llvm-libs)
- libclc-git (requires llvm-libs) (make)
- linux-llvm (requires llvm-libs) (make)
- linux-llvm-headers (requires llvm-libs) (make)
- llvm-bolt (requires llvm-libs) (make)
- llvm-git
- mayland-git (requires llvm-libs)
- mesa-amd-bc250 (requires llvm-libs)
- mesa-amd-bc250 (requires llvm-libs) (make)
- mesa-git (requires llvm-libs)
- mesa-wsl2-git (requires llvm-libs)
- mlir (requires llvm-libs)
- nvc (requires llvm-libs)
- nvc-git (requires llvm-libs)
- oclint (requires llvm-libs)
- odin-bin (requires llvm-libs)
- odin-git (requires llvm-libs)
- omnetpp (requires llvm-libs) (make)
- openvaf-reloaded (requires llvm-libs)
- pd-faustgen (requires llvm-libs)
- pd-faustgen2 (requires llvm-libs)
- pd-faustgen2-git (requires llvm-libs)
- postgresql-12 (requires llvm-libs)
- postgresql-12-upgrade (requires llvm-libs)
- postgresql-13-upgrade (requires llvm-libs)
- postgresql-devel (requires llvm-libs)
- postgresql-git (requires llvm-libs)
- postgresql13 (requires llvm-libs)
- postgresql14 (requires llvm-libs)
- postgresql15 (requires llvm-libs)
- postgresql17 (requires llvm-libs)
- reflective-rapidjson (requires llvm-libs)
- reflective-rapidjson-git (requires llvm-libs)
- rpcs3 (requires llvm-libs)
- rust-git (requires llvm-libs)
- scx-scheds-git (requires llvm-libs) (make)
- seexpr (requires llvm-libs)
- serial-studio (requires llvm-libs)
- sourcetrail (requires llvm-libs)
- spirv-llvm-translator-git
- sudachi-bin (requires llvm-libs)
- suyu-dev-git (requires llvm-libs)
- suyu-dev-qt6-git (requires llvm-libs)
- suyu-git (requires llvm-libs)
- templight-git (requires llvm-libs)
- torzu (requires llvm-libs)
- torzu-git (requires llvm-libs)
- towerfall-hib (requires llvm-libs)
- townsemu-git (requires llvm-libs)
- umr (requires llvm-libs)
- umr-git (requires llvm-libs)
- vapoursynth-plugin-vsakarin-git (requires llvm-libs)
- vulkan-radeon-amd-bc250 (requires llvm-libs)
- vulkan-radeon-amd-bc250 (requires llvm-libs) (make)
- wasm-micro-runtime (requires llvm-libs)
- wasm-micro-runtime-git (requires llvm-libs)
- wine-cachyos (requires llvm-libs)
- wine-cachyos-opt (requires llvm-libs)
- wine-osu-spectator (requires llvm-libs) (make)
- wine-osu-spectator-wow64 (requires llvm-libs) (make)
- xapfish (requires llvm-libs)
Sources (2)
Latest Comments
« First ‹ Previous 1 .. 7 8 9 10 11 12 13 14 15 16 17 .. 70 Next › Last »
Sinistar commented on 2020-10-24 17:54 (UTC) (edited on 2020-10-24 18:06 (UTC) by Sinistar)
Lone_Wolf commented on 2020-10-23 13:14 (UTC)
No longer building lld, also removed conflict with llvm-libs
Lone_Wolf commented on 2020-10-19 12:41 (UTC)
Investigated further and this is indeed related with llvm libunwind.
keeping the libunwind files allows build to continue but gives runtime errors.
Adding libunwind to projects requires adding libcxx which requires libcxxabi.
That means atleast 3 extra llvm parts to build, none of which are in repos.
The error originates in lld . lld needs llvmgold.so which is the reason this package conflicts with repo llvm-libs .
I'm now testing build / run without lld, but doing that would mean this package will need to use repo lld at runtime and no longer provide a full llvm develop environment.
Lone_Wolf commented on 2020-10-10 14:57 (UTC)
toki1990, error confirmed to also appear on uptodate archlinux system.
I've done some searching and it looks like lld build expects to be able to use llvm libunwind implementation , not the gnu libunwind used on archlinux .
https://bugs.llvm.org/show_bug.cgi?id=46813 may be related. Not sure yet how to solve this.
toki1990 commented on 2020-10-09 17:53 (UTC)
warn("Container node skipped: type={0}".format(mdnode.t)) [6444/7329] Building CXX object tools/.../lldMachO2.dir/UnwindInfoSection.cpp.o FAILED: tools/lld/MachO/CMakeFiles/lldMachO2.dir/UnwindInfoSection.cpp.o /usr/bin/c++ -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -Itools/lld/MachO -I/home/user/temp/llvm-git/src/llvm-project/lld/MachO -I/home/user/temp/llvm-git/src/llvm-project/lld/include -Itools/lld/include -Iinclude -I/home/user/temp/llvm-git/src/llvm-project/llvm/include -I/home/user/temp/llvm-git/src/llvm-project/llvm/../libunwind/include -D_FORTIFY_SOURCE=2 -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -D_FORTIFY_SOURCE=2 -fPIC -fvisibility-inlines-hidden -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wimplicit-fallthrough -Wno-maybe-uninitialized -Wno-class-memaccess -Wno-redundant-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -fdiagnostics-color -ffunction-sections -fdata-sections -O3 -DNDEBUG -fno-exceptions -std=c++14 -MD -MT tools/lld/MachO/CMakeFiles/lldMachO2.dir/UnwindInfoSection.cpp.o -MF tools/lld/MachO/CMakeFiles/lldMachO2.dir/UnwindInfoSection.cpp.o.d -o tools/lld/MachO/CMakeFiles/lldMachO2.dir/UnwindInfoSection.cpp.o -c /home/user/temp/llvm-git/src/llvm-project/lld/MachO/UnwindInfoSection.cpp In file included from /home/user/temp/llvm-git/src/llvm-project/lld/MachO/UnwindInfoSection.cpp:9: /home/user/temp/llvm-git/src/llvm-project/lld/MachO/UnwindInfoSection.h:15:10: fatal error: mach-o/compact_unwind_encoding.h: No such file or directory 15 | #include "mach-o/compact_unwind_encoding.h" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ compilation terminated. [6461/7329] Building CXX object tools/...les/lldELF.dir/SyntheticSections.cpp.o ninja: build stopped: subcommand failed. ==> ERROR: A failure occurred in build(). Aborting...
tried on new installed full updated manjaro testing branch.
shoober420 commented on 2020-08-22 15:19 (UTC) (edited on 2020-08-23 19:28 (UTC) by shoober420)
I don’t see llvm-libs-svn in the AUR anywhere. Even if it did exist in 2015, it doesn’t make any sense to me to leave it in there. So lordheavy’s version of llvm-libs-git is meant to allow multiple installations? I see, well that’s kind of wacky. That explains everything then. He could at least gave it a different name to avoid confusion like you do with your “minimal” package. I’m just going to use official llvm builds and keep it simple.
Lone_Wolf commented on 2020-08-22 14:18 (UTC) (edited on 2020-08-22 14:36 (UTC) by Lone_Wolf)
-
Guess I should have clarified what I meant with package structure
- llvm/clang from repo has
- llvm
- llvm-libs
- llvm-ocaml
- clang
- compiler-rt
- AUR llvm-git has
- llvm-git
- llvm-libs-git
- llvm-ocaml-git
- does provide clang-git, compiler-rt-git, lld-git, lldb-git and polly-git in llvm-git
- LH llvm-git has
- llvm-git
- llvm-libs-git
- llvm-ocaml-git
- clang-git
- compiler-rt-git
- llvm/clang from repo has
-
To get in touch with Lordheavy about things related to his mesa-git repo, try posting in https://bbs.archlinux.org/viewtopic.php?id=212819 .
-
LordHeavy introduced llvm-libs specfically to allow multiple llvm versions to coexist.
- Most parts from llvm needed at runtime are versioned, but the linker LLVMgold.so isn't .
- Lordheavy llvm-libs-git doesn't include the git version of the linker, aur llvm-libs-git DOES.
- Kerberizer who maintained llvm-svn for years always felt that an llvm/clang vcs version should provide a full environment including the linker and I have stuck to that.
Aur llvm-libs-svn has conflicted with llvm-libs since (atleast) 2nd half of 2015 and aur llvm-libs-git continues that. LH llvm-libs-git and llvm-libs-svn before that never conflicted with llvm-libs.
shoober420 commented on 2020-08-22 13:25 (UTC) (edited on 2020-08-22 14:09 (UTC) by shoober420)
The package structure differs enough between the official llvm package and lordheavy’s, mainly being that the official PKGBUILD (https://github.com/archlinux/svntogit-packages/blob/packages/llvm/trunk/PKGBUILD) doesn’t include a provides= and conflicts= section. It shouldn’t anyway since it’s an official repo package, most official repo packages don’t include these sections (harfbuzz and freetype2 are the only that come to mind) Anyway, saying they are the same structure is a stretch, considering “llvm-libs-svn” isn’t even a thing.
shoober420 commented on 2020-08-22 12:59 (UTC) (edited on 2020-08-22 12:59 (UTC) by shoober420)
Shouldn’t lordheavy’s PKGBUILD conflict “llvm-libs” instead of “llvm-libs-svn”? There isn’t even an svn version in the repos...
I did email lordheavy a while back, and got no response, which led me to believe he was just compiling using your PKGBUILD.
Pinned Comments
Lone_Wolf commented on 2021-08-16 11:26 (UTC)
When you have this package installed applications that are built against repo-llvm/clang WILL fail unless they are rebuild against this package.
This includes QTCreator, kdevelop , mesa, intel-compute-runtime, gnome-builder to name a few.
Lone_Wolf commented on 2020-08-22 12:18 (UTC) (edited on 2021-02-06 12:51 (UTC) by Lone_Wolf)
Archlinux currently has 3 llvm git implementations
This package
llvm-minimal-git
packages created & maintained by Lordheavy, an arch developer
Lone_Wolf commented on 2019-04-12 20:41 (UTC) (edited on 2019-12-16 22:45 (UTC) by Lone_Wolf)
I've looked good at clang-trunk , llvm-svn, repo llvm/clang packages and think this package is now on route to become a worthy successor to llvm-svn .
llvm-libs-git holds the runtime libraries.
llvm-git
The Package now uses a new environment variable to make ninja behave, NINJAFLAGS. If you want to use it adjust the snippet below to your desired values and add it to makepkg.conf.
Incase you are satisfied with ninja defaults you don't need to do anything.
The check() function fails rather often, but I do suggest to build with them. If build fails due to test failure you can add --nocheck to skip the tests.