Hello,
The build keeps failing with the following output:
FAILED: lib/Target/AMDGPU/AMDGPUGenCallingConv.inc /home/mdupont/llvm/llvm-git/src/_build/lib/Target/AMDGPU/AMDGPUGenCallingConv.inc
cd /home/mdupont/llvm/llvm-git/src/_build && /home/mdupont/llvm/llvm-git/src/_build/bin/llvm-tblgen -gen-callingconv -I /home/mdupont/llvm/llvm-git/src/llvm-project/llvm/lib/Target/AMDGPU -I/home/mdupont/llvm/llvm-git/src/_build/include -I/home/mdupont/llvm/llvm-git/src/llvm-project/llvm/include -I /home/mdupont/llvm/llvm-git/src/llvm-project/llvm/lib/Target /home/mdupont/llvm/llvm-git/src/llvm-project/llvm/lib/Target/AMDGPU/AMDGPU.td --write-if-changed -o lib/Target/AMDGPU/AMDGPUGenCallingConv.inc -d lib/Target/AMDGPU/AMDGPUGenCallingConv.inc.d
[1684/8024] Building AMDGPUGenDisassemblerTables.inc...
FAILED: lib/Target/AMDGPU/AMDGPUGenDisassemblerTables.inc /home/mdupont/llvm/llvm-git/src/_build/lib/Target/AMDGPU/AMDGPUGenDisassemblerTables.inc
cd /home/mdupont/llvm/llvm-git/src/_build && /home/mdupont/llvm/llvm-git/src/_build/bin/llvm-tblgen -gen-disassembler -I /home/mdupont/llvm/llvm-git/src/llvm-project/llvm/lib/Target/AMDGPU -I/home/mdupont/llvm/llvm-git/src/_build/include -I/home/mdupont/llvm/llvm-git/src/llvm-project/llvm/include -I /home/mdupont/llvm/llvm-git/src/llvm-project/llvm/lib/Target /home/mdupont/llvm/llvm-git/src/llvm-project/llvm/lib/Target/AMDGPU/AMDGPU.td --write-if-changed -o lib/Target/AMDGPU/AMDGPUGenDisassemblerTables.inc -d lib/Target/AMDGPU/AMDGPUGenDisassemblerTables.inc.d
[1697/8024] Building AMDGPUGenRegisterBank.inc...
ninja: build stopped: subcommand failed.
==> ERROR: A failure occurred in build().
Aborting...
when running with makepkg -s --nocheck
. It does not tell me exactly where the error comes from, so I am lost on how to tackle this myself. Apologies if this is a trivial issue. Any hints would be greatly appreciated!
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.