Bernd Kuhls
2026-02-12 20:29:38 +01:00
committed by Julien Olivain
parent 8a25343461
commit 59ed1137e9
4 changed files with 5 additions and 52 deletions

View File

@@ -12,7 +12,7 @@ endif
# Not possible to directly refer to mesa3d variables, because of
# first/second expansion trickery...
MESA3D_HEADERS_VERSION = 25.3.5
MESA3D_HEADERS_VERSION = 26.0.0
MESA3D_HEADERS_SOURCE = mesa-$(MESA3D_HEADERS_VERSION).tar.xz
MESA3D_HEADERS_SITE = https://archive.mesa3d.org
MESA3D_HEADERS_DL_SUBDIR = mesa3d

View File

@@ -1,47 +0,0 @@
From c4292cc5af3278b294c2baa5464c9985228205fe Mon Sep 17 00:00:00 2001
From: Bernd Kuhls <bernd@kuhls.net>
Date: Tue, 3 Feb 2026 20:13:49 +0100
Subject: [PATCH] blake3: add blake3_neon.c only for little endian archs
Fixes build error on big endian archs:
Build machine cpu family: x86_64
Build machine cpu: x86_64
Host machine cpu family: aarch64
Host machine cpu: cortex-a53
Target machine cpu family: aarch64
Target machine cpu: cortex-a53
[...]
../src/util/blake3/blake3_neon.c:6:2: error: #error "This implementation only supports little-endian ARM."
6 | #error "This implementation only supports little-endian ARM."
as detected by buildroot autobuilders:
https://autobuild.buildroot.net/results/efd/efd07d97df4e0c1ceb07fc26e17898afef5435b9/build-end.log
For reference:
$ grep -i endian output/build/mesa3d-25.3.4/buildroot-build/cross-compilation.conf
endian = 'big'
Upstream: https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39681
Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
---
src/util/blake3/meson.build | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/util/blake3/meson.build b/src/util/blake3/meson.build
index bd51cfb68c3..767da2c6ec3 100644
--- a/src/util/blake3/meson.build
+++ b/src/util/blake3/meson.build
@@ -35,7 +35,7 @@ elif cpu_family == 'x86'
# There are no assembly versions for 32-bit x86. Compiling the C versions require a different compilation flag per
# file, which is not well supported by Meson. Leave SIMD support out for now.
blake3_defs += blake3_x86_no_simd_defs
-elif cpu_family == 'aarch64'
+elif cpu_family == 'aarch64' and target_machine.endian() == 'little'
files_blake3 += ['blake3_neon.c']
endif
--
2.47.3

View File

@@ -1,6 +1,6 @@
# From https://lists.freedesktop.org/archives/mesa-announce/2026-February/000837.html
sha256 be472413475082df945e0f9be34f5af008baa03eb357e067ce5a611a2d44c44b mesa-25.3.5.tar.xz
sha512 3db3d3c98bf476a5827705b82733d9964ec511b30882ec7e9edaddc65a5dea5e6bfb33bdcd4f97752d7a3ae9e306e8703982686cbd869567b4194decdb2f5a89 mesa-25.3.5.tar.xz
# From https://lists.freedesktop.org/archives/mesa-announce/2026-February/000838.html
sha256 2a44e98e64d5c36cec64633de2d0ec7eff64703ee25b35364ba8fcaa84f33f72 mesa-26.0.0.tar.xz
sha512 d39d190d0a17306f0aa69033e38dd8cf458dbf8da483b768841e2dc681dd670735999b212fbe0b29be839702a20750c87d6587bd925dca10693950830a17cd55 mesa-26.0.0.tar.xz
# License
sha256 0d1a0472ecc81830e75c20d59b0ea02841e3db21255e0ebad97ab682c54d6615 docs/license.rst
sha256 323c587d0ccf10e376f8bf9a7f31fb4ca6078105194b42e0b1e0ee2bc9bde71f licenses/MIT

View File

@@ -5,7 +5,7 @@
################################################################################
# When updating the version, please also update mesa3d-headers
MESA3D_VERSION = 25.3.5
MESA3D_VERSION = 26.0.0
MESA3D_SOURCE = mesa-$(MESA3D_VERSION).tar.xz
MESA3D_SITE = https://archive.mesa3d.org
MESA3D_LICENSE = MIT, SGI, Khronos