Do not build aarch64 drivers on x86

Resolves: https://issues.redhat.com/browse/RHEL-66062
This commit is contained in:
José Expósito 2024-11-14 14:17:10 +01:00
parent 83f49b1116
commit 7fea5a8543

View File

@ -36,7 +36,7 @@
%endif
%endif
%ifarch aarch64 x86_64 %{ix86}
%ifarch %{arm} aarch64
%if !0%{?rhel}
%global with_etnaviv 1
%global with_lima 1
@ -68,7 +68,7 @@ Name: mesa
Summary: Mesa graphics libraries
%global ver 24.2.6
Version: %{lua:ver = string.gsub(rpm.expand("%{ver}"), "-", "~"); print(ver)}
Release: 1%{?dist}
Release: 2%{?dist}
License: MIT AND BSD-3-Clause AND SGI-B-2.0
URL: http://www.mesa3d.org
@ -715,7 +715,7 @@ popd
%{_libdir}/dri/crocus_dri.so
%{_libdir}/dri/iris_dri.so
%endif
%ifarch aarch64 x86_64 %{ix86}
%ifarch %{arm} aarch64
%{_libdir}/dri/ingenic-drm_dri.so
%{_libdir}/dri/imx-drm_dri.so
%{_libdir}/dri/imx-lcdif_dri.so
@ -835,7 +835,7 @@ popd
%{_libdir}/libvulkan_intel_hasvk.so
%{_datadir}/vulkan/icd.d/intel_hasvk_icd.*.json
%endif
%ifarch aarch64 x86_64 %{ix86}
%ifarch %{arm} aarch64
%{_libdir}/libvulkan_broadcom.so
%{_datadir}/vulkan/icd.d/broadcom_icd.*.json
%{_libdir}/libvulkan_freedreno.so
@ -849,6 +849,10 @@ popd
%endif
%changelog
* Thu Nov 14 2024 José Expósito <jexposit@redhat.com> - 24.2.6-2
- Do not build aarch64 drivers on x86
Resolves: https://issues.redhat.com/browse/RHEL-66062
* Tue Nov 12 2024 José Expósito <jexposit@redhat.com> - 24.2.6-1
- Update to 24.2.6
Resolves: https://issues.redhat.com/browse/RHEL-66062