Built successful last night but I had some game crashes so decided to rebuild everything.
Try 1:
[603/2329] Compiling C object src/vulkan/runtime/libvulkan_lite_runtime.a.p/meson-generated_.._vk_cmd_queue.c.o ninja: build stopped: subcommand failed. ==> ERROR: A failure occurred in build().
Try2:
[584/2329] Compiling C object src/vulkan/runtime/libvulkan_lite_runtime.a.p/meson-generated_.._vk_cmd_queue.c.o ninja: build stopped: subcommand failed. ==> ERROR: A failure occurred in build().
With: Packages (12) libedit-20230828_3.1-1 llvm-libs-17.0.6-2 clang-libs-minimal-git-19.0.0_r494032.c9d12664f2f9-1 clang-minimal-git-19.0.0_r494032.c9d12664f2f9-1 clang-opencl-headers-minimal-git-19.0.0_r494032.c9d12664f2f9-1 glslang-minimal-git-14.1.0.r7.g32257786-3 libclc-minimal-git-19.0.0_r494032.c9d12664f2f9-1 llvm-libs-minimal-git-19.0.0_r494032.c9d12664f2f9-1 llvm-minimal-git-19.0.0_r494032.c9d12664f2f9-1 spirv-headers-git-1:vulkan.sdk.1.3.280.0.r2.g7d500c4-1 spirv-llvm-translator-minimal-git-1:r2011.98729ef-1 spirv-tools-git-3:2024.1.3932.fe7bae090-1
Also wanted to ask if LTO can be enabled?
Pinned Comments
Lone_Wolf commented on 2023-05-22 12:07 (UTC) (edited on 2024-09-06 21:16 (UTC) by Lone_Wolf)
Build order
N.B. these packages are closely tied together, make sure you build all of them in a short period of time (worst case on my system is around 3 hours) .
Build frequency
I aim to build everything (including the lib32 part) atleast once a week.
How often you build this is a personal choice, but once a month is in my opinion the absolute minimum .
In that timeframe mesa will have seen almost 1k commits, llvm/clang gets more.
Lone_Wolf commented on 2021-01-22 18:36 (UTC) (edited on 2021-01-22 18:39 (UTC) by Lone_Wolf)
Why does this package hard depend on llvm-minimal-git ?
performance
archlinux repo packages are build with
-march=x86-64 -mtune=generic
which works on lots of machines but makes limited use of modern processor capabilities. For many packages this has little impact, but with llvm my experience is different.My local builds for llvm / mesa are done with
-march=native
and this has a noticeable effect on their performance.How big the benefit of this is depends heavily on the exact hardware you use. Worse, the software setup also impacts this. The only way to find out if it benefits your system/software setup is to try it out yourself.
easier maintenance and troubleshooting
Since i started my first mesa trunk package late in 2010 I have maintained versions without any llvm, one llvm implementation, split versions, singular versions, versions supporting multiple llvm implementations , switch from libgl hacks libglvnd to allow mesa & nvidia to cooperate etc.
Depending on one llvm variant in a non-splitted singular version results in a simple PKGBUILD that is easy to maintain.
Troubleshooting is also much easier if maintainer uses the same llvm variant as users.
If people feel those reasons are not good enough to hard depend on llvm-minimal-git , maybe I should transfer ownership .
Lone_Wolf commented on 2021-01-09 15:02 (UTC)
Why does this exist ?
Basically mesa/mesa-git build almost everything they can build.
This package tries to build just enough so everyone can use it, but disables older and/or unused components.
Check https://bbs.archlinux.org/viewtopic.php?id=261629 for a discussion about this package.