no more manual changes to PKGBUILD needed
Search Criteria
Package Details: mesa-minimal-git 24.3.0_devel.194498.1e17f49baf4-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/mesa-minimal-git.git (read-only, click to copy) |
---|---|
Package Base: | mesa-minimal-git |
Description: | an open-source implementation of the OpenGL specification, stripped down git version |
Upstream URL: | https://www.mesa3d.org |
Licenses: | MIT AND BSD-3-Clause AND SGI-B-2.0 |
Conflicts: | libva-mesa-driver, mesa, mesa-vdpau, vulkan-intel, vulkan-mesa-layer, vulkan-nouveau, vulkan-radeon, vulkan-swrast |
Provides: | libva-mesa-driver, mesa, mesa-vdpau, opengl-driver, vulkan-driver, vulkan-intel, vulkan-mesa-layer, vulkan-radeon, vulkan-swrast |
Submitter: | shoober420 |
Maintainer: | Lone_Wolf |
Last Packager: | Lone_Wolf |
Votes: | 11 |
Popularity: | 0.082853 |
First Submitted: | 2020-12-10 00:38 (UTC) |
Last Updated: | 2024-09-07 15:52 (UTC) |
Dependencies (55)
- expat (expat-gitAUR)
- gcc-libs (gcc-libs-gitAUR, gccrs-libs-gitAUR, gcc11-libsAUR, gcc-libs-snapshotAUR)
- glibc (glibc-gitAUR, glibc-linux4AUR, glibc-eacAUR, glibc-eac-binAUR, glibc-eac-rocoAUR)
- libdrm (libdrm-gitAUR)
- libelf (elfutils-gitAUR)
- libglvnd (libglvnd-gitAUR)
- libunwind (libunwind-carbonAUR, libunwind-gitAUR)
- libx11 (libx11-gitAUR)
- libxcb (libxcb-gitAUR)
- libxdamage
- libxext (libxext-gitAUR)
- libxfixes
- libxshmfence
- libxxf86vm
- llvm-libs-minimal-gitAUR
- lm_sensors (lm_sensors-gitAUR)
- spirv-tools (spirv-tools-gitAUR)
- systemd-libs (systemd-chromiumos-libsAUR, systemd-libs-fmlAUR, systemd-libs-gitAUR, systemd-libs-selinuxAUR)
- vulkan-icd-loader (vulkan-icd-loader-gitAUR)
- wayland (wayland-gitAUR, wayland-asan-gitAUR, wayland-chromiumAUR)
- Show 35 more dependencies...
Required by (1155)
- 0ad-data-git (requires mesa) (make)
- 0ad-git (requires mesa) (make)
- abuse (requires mesa) (make)
- actionfps-client (requires mesa)
- actionfps-client (requires mesa) (make)
- actionfps-common (requires mesa) (make)
- actionfps-server (requires mesa) (make)
- adom-noteye (requires mesa)
- aegisub-git (requires mesa) (make)
- aegisub-japan7-git (requires mesa) (make)
- aegisub-ttools-meson-git (requires mesa) (make)
- aegisub-wangqr-git (requires mesa) (make)
- aio-remote-neo (requires mesa)
- airshipper (requires vulkan-driver) (optional)
- alchemy-next-viewer-bin (requires mesa)
- alchemy-next-viewer-git (requires mesa)
- alchemy-next-viewer-nosystemd-git (requires mesa)
- alchemy-viewer (requires mesa)
- alephium-desktop-wallet-bin (requires mesa)
- alephone (requires mesa) (make)
- Show 1135 more...
Sources (1)
Lone_Wolf commented on 2024-09-06 21:17 (UTC)
Lone_Wolf commented on 2024-09-05 16:53 (UTC)
d3vilguard commented on 2024-09-05 15:19 (UTC) (edited on 2024-09-05 15:37 (UTC) by d3vilguard)
Cloning into 'mesa'...
done.
==> Starting prepare()...
patching file src/compiler/clc/clc_helpers.cpp
Hunk #1 FAILED at 889.
1 out of 1 hunk FAILED -- saving rejects to file src/compiler/clc/clc_helpers.cpp.rej
==> ERROR: A failure occurred in prepare().
Aborting...
==> ERROR: Build failed, check /home/georgi/.chroot/georgi/build
dropped prepare to drop the patch, dropped dri3 (absolutely no idea why mason fails with dri3 if the patch isn't present), libclc, dropped all opencl parts in order to build. Guess llvm20-change-in-GetResourcesPath.patch needs updating.
d3vilguard commented on 2024-08-31 14:06 (UTC)
Build successful after the revert to Arch repo's glslang/spirv.
Lone_Wolf commented on 2024-08-30 23:27 (UTC) (edited on 2024-08-30 23:27 (UTC) by Lone_Wolf)
Package no longer depends on spirv-tools-git & glslang-minimal-git.
If upgrading gives issues you should act as if you're building it the first time.
Lone_Wolf commented on 2024-08-09 23:39 (UTC)
The build failure was caused by this llvm commit: https://github.com/llvm/llvm-project/commit/ccb2b011e577e861254f61df9c59494e9e122b38
It was reverted with https://github.com/llvm/llvm-project/commit/a15de177728ec83f37bdd8f39d4a8f57e95c3d21 due to build failures
I did a full rebuild without issues.
d3vilguard commented on 2024-08-09 14:08 (UTC)
Built today. Only tested DOOM Eternal and seems to be fine. Only did radeonsi/amd,swrast. Mesa-minimal-git compiled but had trouble moving opencl files to build the package. Removed all opencl related from the PKGBUILD. Built just fine afterwards.
wustdsh commented on 2024-08-09 13:17 (UTC)
build is broken:
/usr/include/llvm/Support/float128.h:18:18: error: use of undeclared identifier 'logf128'
panicked at bindgen-cli/main.rs:52:36:
Unable to generate bindings: ClangDiagnostic("/usr/include/llvm/Support/float128.h:18:18: error: use of undeclared identifier 'logf128'\n")
Lone_Wolf commented on 2024-07-20 15:58 (UTC) (edited on 2024-07-23 17:43 (UTC) by Lone_Wolf)
EDIT: both are solved now.
There are currently 2 issues with mesa trunk .
https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30257 (fix is being worked on)
https://gitlab.freedesktop.org/mesa/mesa/-/issues/11546 is a bigger problem as the commit that causes that is reported as causing atleast one other problem.
pkgver -24.2.0_devel.192122.3de62b2f9a6-1 is the last good one .
I suggest you don't rebuild mesa-minimal-git for now or pin your version to commit 3de62b2f9a6 .
Lone_Wolf commented on 2024-05-22 12:59 (UTC)
patch applied to solve the build failure
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.