[packages/Mesa] add bcond for intel ray tracing support (available only on %{x8664})

atler atler at pld-linux.org
Fri May 31 19:09:52 CEST 2024


commit 81b6803e9502067c2d8ff5229837a7a98c7f333c
Author: Jan Palus <atler at pld-linux.org>
Date:   Fri May 31 18:46:18 2024 +0200

    add bcond for intel ray tracing support (available only on %{x8664})

 Mesa.spec | 6 ++++++
 1 file changed, 6 insertions(+)
---
diff --git a/Mesa.spec b/Mesa.spec
index 715ac60..8af34df 100644
--- a/Mesa.spec
+++ b/Mesa.spec
@@ -22,6 +22,7 @@
 %bcond_without	xa		# XA state tracker (for vmwgfx xorg driver)
 %bcond_without	nvk		# nvidia Vulkan driver
 %bcond_without	radv		# radeon Vulkan driver
+%bcond_without	intel_rt	# Intel Ray Tracing support
 %bcond_with	sse2		# SSE2 instructions
 %bcond_with	hud_extra	# HUD block/NIC I/O HUD stats support
 %bcond_with	lm_sensors	# HUD lm_sensors support
@@ -82,6 +83,10 @@
 %define		with_intel_vk	1
 %endif
 
+%ifnarch %{x8664}
+%undefine	with_intel_rt
+%endif
+
 Summary:	Free OpenGL implementation
 Summary(pl.UTF-8):	Wolnodostępna implementacja standardu OpenGL
 Name:		Mesa
@@ -1722,6 +1727,7 @@ export BINDGEN_EXTRA_CLANG_ARGS="-mfloat-abi=hard"
 	-Dgallium-xa=%{?with_xa:enabled}%{!?with_xa:disabled} \
 	-Dgbm=%{?with_gbm:enabled}%{!?with_gbm:disabled} \
 	-Dglvnd=%{?with_glvnd:enabled}%{!?with_glvnd:disabled} \
+	-Dintel-rt=%{?with_intel_rt:enabled}%{!?with_intel_rt:disabled} \
 	-Dlibunwind=enabled \
 	-Dlmsensors=%{?with_lm_sensors:enabled}%{!?with_lm_sensors:disabled} \
 	%{?with_opencl_spirv:-Dopencl-spirv=true} \
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/Mesa.git/commitdiff/81b6803e9502067c2d8ff5229837a7a98c7f333c



More information about the pld-cvs-commit mailing list