Ive tried to get this to work a few different ways now, but it always fails on either the ocaml_doc build or one of the checks. This combined with the rather long compile time has me flustered
Search Criteria
Package Details: llvm-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: | LLVM development version. includes clang and many other tools |
Upstream URL: | https://llvm.org/ |
Keywords: | clang git lld lldb llvm polly |
Licenses: | custom:Apache 2.0 with LLVM Exception |
Conflicts: | clang, compiler-rt, lld, lldb, llvm, polly |
Provides: | aur-llvm-git, clang, clang-git, compiler-rt, compiler-rt-git, lld, lld-git, lldb, lldb-git, llvm, polly, polly-git |
Submitter: | yurikoles |
Maintainer: | rjahanbakhshi |
Last Packager: | rjahanbakhshi |
Votes: | 118 |
Popularity: | 0.006045 |
First Submitted: | 2018-12-05 13:56 (UTC) |
Last Updated: | 2024-04-17 08:17 (UTC) |
Dependencies (28)
- llvm-libs-gitAUR
- perl (perl-gitAUR)
- 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)
- ocaml-findlib (make)
- ocaml-stdlib-shims (make)
- ocl-icd (opencl-icd-loaderAUR, khronos-ocl-icd-loaderAUR, khronos-ocl-icd-gitAUR) (make)
- opencl-headers (opencl-headers-gitAUR) (make)
- python (python37AUR, python311AUR, python310AUR) (make)
- python-myst-parser (python-myst-parser018AUR) (make)
- python-recommonmarkAUR (make)
- python-setuptools (make)
- python-six (make)
- python-sphinx (python-sphinx-gitAUR) (make)
- swig (swig-gitAUR) (make)
- z3 (z3-gitAUR) (make)
- python-psutil (check)
- python (python37AUR, python311AUR, python310AUR) (optional) – for scripts
Required by (2228)
- aax-bruteforce (requires clang) (make)
- across (requires clang) (make)
- actionfps-client (requires clang) (make)
- actionfps-common (requires clang) (make)
- actionfps-server (requires clang) (make)
- activate-linux (requires clang) (make)
- activate-linux-wayland-git (requires clang) (make)
- adaptivecpp (requires llvm) (make)
- adaptivecpp-git (requires llvm) (make)
- aero2solver (requires clang) (make)
- aewm++ (requires clang) (make)
- air-git (requires clang) (make)
- aircrack-ng-clang-git (requires clang) (make)
- alvr (requires clang) (make)
- alvr-git (requires clang) (make)
- alvr-nvidia (requires clang) (make)
- ambuild-git (requires clang)
- amdapp-sdk (requires llvm)
- amdapp-sdk (requires llvm) (make)
- amdapp-sdk-docs (requires llvm) (make)
- Show 2208 more...
Sources (2)
Latest Comments
« First ‹ Previous 1 .. 9 10 11 12 13 14 15 16 17 18 19 .. 70 Next › Last »
Can221-ParOS commented on 2020-08-03 02:51 (UTC)
johngalt commented on 2020-07-22 15:07 (UTC) (edited on 2020-07-22 19:11 (UTC) by johngalt)
LLVM_POLLY_LINK_INTO_TOOLS should be ON not OFF for polly support now.
Lone_Wolf commented on 2020-06-26 15:17 (UTC)
Just build and got no polly related erorrs, only clang related test failures.
Please try again and post full logs somewhere if you still have the error .
sorice1123 commented on 2020-06-26 00:37 (UTC) (edited on 2020-06-26 01:34 (UTC) by sorice1123)
I'm running into this error:
FAILED: tools/polly/lib/CMakeFiles/obj.Polly.dir/Transform/ScopInliner.cpp.o
/usr/bin/c++ -DHAS_LIBCUDART -DHAS_LIBOPENCL -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -Itools/polly/lib -I/home/cwl_ws/aur_builds/llvm-git/src/llvm-project/polly/lib -Itools/polly/include -I/home/cwl_ws/aur_builds/llvm-git/src/llvm-project/polly/lib/External -I/home/cwl_ws/aur_builds/llvm-git/src/llvm-project/polly/lib/External/pet/include -I/home/cwl_ws/aur_builds/llvm-git/src/llvm-project/polly/lib/External/isl/include -Itools/polly/lib/External/isl/include -I/home/cwl_ws/aur_builds/llvm-git/src/llvm-project/polly/include -I/usr/include/libxml2 -Iinclude -I/home/cwl_ws/aur_builds/llvm-git/src/llvm-project/llvm/include -I/opt/cuda/include -D_FORTIFY_SOURCE=2 -march=x86-64 -mtune=generic -O2 -pipe -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 -Wno-comment -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -Wno-long-long -Wall -W -Wno-unused-parameter -Wwrite-strings -fno-exceptions -fno-rtti -O3 -DNDEBUG -fno-exceptions -std=c++14 -MD -MT tools/polly/lib/CMakeFiles/obj.Polly.dir/Transform/ScopInliner.cpp.o -MF tools/polly/lib/CMakeFiles/obj.Polly.dir/Transform/ScopInliner.cpp.o.d -o tools/polly/lib/CMakeFiles/obj.Polly.dir/Transform/ScopInliner.cpp.o -c /home/cwl_ws/aur_builds/llvm-git/src/llvm-project/polly/lib/Transform/ScopInliner.cpp
/home/cwl_ws/aur_builds/llvm-git/src/llvm-project/polly/lib/Transform/ScopInliner.cpp: In member function ‘virtual bool {anonymous}::ScopInliner::runOnSCC(llvm::CallGraphSCC&)’:
/home/cwl_ws/aur_builds/llvm-git/src/llvm-project/polly/lib/Transform/ScopInliner.cpp:56:33: error: invalid use of incomplete type ‘class llvm::CallGraphNode’
56 | Function *F = (*SCC.begin())->getFunction();
| ^~
In file included from /home/cwl_ws/aur_builds/llvm-git/src/llvm-project/polly/lib/Transform/ScopInliner.cpp:18:
/home/cwl_ws/aur_builds/llvm-git/src/llvm-project/llvm/include/llvm/Analysis/CallGraphSCCPass.h:30:7: note: forward declaration of ‘class llvm::CallGraphNode’
30 | class CallGraphNode;
| ^~~~~~~~~~~~~
[175/1131] Building CXX object tools/lld/ELF/CMakeFiles/lldELF.dir/SyntheticSections.cpp.o
Any idea how to solve this?
EDIT: NVM, I switched to an earlier commit and the error is gone.
Lone_Wolf commented on 2020-06-07 23:10 (UTC)
Thx Sinistar.
I was looking into adding python-psutil as checkdepend and had noticed time spend in check() had increased a lot but not figured out the reason yet.
Sinistar commented on 2020-06-07 19:15 (UTC)
Just an FYI. In the check section "check" by itself now compiles and run all test, and seems to need two dependencies "rsync" and "python-psutil". If you just want to run LLVM check use check-llvm.
jschwab commented on 2020-04-18 20:13 (UTC)
@Lone_Wolf: Thanks for giving it a try!
Lone_Wolf commented on 2020-04-16 14:17 (UTC)
Building flang with MLIR fails, disabling FIR/MLIR for flang also breaks build.
I've filed https://bugs.llvm.org/show_bug.cgi?id=45574 , but for the time being adding flang is not possible.
Lone_Wolf commented on 2020-04-14 22:02 (UTC)
A quick peek indicates flang requires mlir, so I'll have to add both projects. Will look into it.
jschwab commented on 2020-04-14 20:24 (UTC)
Could flang be added now that it has been merged? (http://lists.llvm.org/pipermail/llvm-dev/2020-April/140804.html)
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.