mesa-32: fixed building nouveaus vulkan bindings

This commit is contained in:
Tim Biermann 2024-09-11 21:24:35 +02:00
parent 7027987de9
commit 281645e416
Signed by: tb
GPG Key ID: 42F8B4E30B673606
4 changed files with 22 additions and 18 deletions

View File

@ -1,8 +1,8 @@
untrusted comment: verify with /etc/ports/compat-32.pub
RWSwxGo/zH7eXWamTC3Orr2NUKRwjYY3TxrECGeVZHV6ZfwZokcldb4PiNDnZZ3WdbK8ygE3cxyWa92cM1nPVqRtqQhQsdMxRwE=
SHA256 (Pkgfile) = 72b9e2326eb137bb36fc12af1df5f0989ce3f51afbe82c8ce0147647c65b3f27
RWSwxGo/zH7eXbJiuv4VbxdXQYLvbwV4w4gUycQw7kWJMcKNTU9Pk1xa5C5DJK1THbh1flqiT4wxijAPqGkQWU77qK6iwESonw8=
SHA256 (Pkgfile) = 101825534b69e1a4d0e41b8eb686ab0a802b364ee29657e3d4cfa30201a5eede
SHA256 (.footprint) = 846be28a7d01e499407df01e4c4e81700db600adcf7216edbe4f255ce875202f
SHA256 (mesa-24.2.2.tar.xz) = fd077d3104edbe459e2b8597d2757ec065f9bd2d620b8c0b9cc88c2bf9891d02
SHA256 (x86-linux-gnu) = 866e56da6164785120e4cee5ed2f44f0f7e5a5db9b34242332286754638dbdde
SHA256 (x86-linux-gnu-ccache) = 91649ec781699a1cbebfa812ffe707b668f3990be3914b8febcd542f110f12a8
SHA256 (x86-linux-gnu) = eb378917565b88d9b73fe01d5a55241955e3f5f437da6fe59349b48ea1d4ebc9
SHA256 (x86-linux-gnu-ccache) = c35b9505a9b4500b50a4425d90a393304bd532621e9233e056a7f3d98f622125
SHA256 (30710.patch) = 7c5cfd5c767668cfc7e91542e0f837b0b4749d67a7eafe849a6565b8fc54e512

View File

@ -41,7 +41,6 @@ build() {
patch -Np1 -d mesa-$version -i $SRC/30710.patch
BINDGEN_EXTRA_CLANG_ARGS="-m32" \
meson setup mesa-$version build $PKGMK_MESA \
--cross-file=$SRC/$_cross_file \
--prefix=/usr \

View File

@ -1,11 +1,14 @@
[binaries]
c = ['gcc', '-m32']
cpp = ['g++', '-m32']
rust = ['rustc', '--target', 'i686-unknown-linux-gnu']
pkgconfig = '/usr/bin/pkg-config'
c = ['/usr/bin/gcc', '-m32']
cpp = ['/usr/bin/g++', '-m32']
rust = ['/usr/bin/rustc', '--target', 'i686-unknown-linux-gnu']
pkg-config = '/usr/bin/i686-pc-linux-gnu-pkg-config'
cups-config = '/usr/bin/cups-config'
llvm-config = '/usr/bin/llvm-config-32'
strip = 'strip'
strip = '/usr/bin/strip'
[properties]
bindgen_clang_arguments = ['-target', 'i686-unknown-linux-gnu']
[built-in options]
libdir = 'lib32'

View File

@ -1,20 +1,22 @@
[binaries]
c = '/usr/lib/ccache/gcc'
cpp = '/usr/lib/ccache/g++'
rust = ['rustc', '--target', 'i686-unknown-linux-gnu']
pkgconfig = '/usr/bin/pkg-config'
c = ['/usr/lib/ccache/gcc', '-m32']
cpp = ['/usr/lib/ccache/g++', '-m32']
rust = ['/usr/bin/rustc', '--target', 'i686-unknown-linux-gnu']
pkg-config = '/usr/bin/i686-pc-linux-gnu-pkg-config'
cups-config = '/usr/bin/cups-config'
llvm-config = '/usr/bin/llvm-config-32'
strip = '/usr/bin/strip'
[properties]
c_args = ['-m32']
c_link_args = ['-m32']
cpp_args = ['-m32']
cpp_link_args = ['-m32']
bindgen_clang_arguments = ['-target', 'i686-unknown-linux-gnu']
[built-in options]
libdir = 'lib32'
[host_machine]
system = 'linux'
subsystem = 'linux'
kernel = 'linux'
cpu_family = 'x86'
cpu = 'i686'
endian = 'little'