From df2d252ed4d16db32c44ff8ddedebbc137cdcc52 Mon Sep 17 00:00:00 2001 From: Cappy Ishihara Date: Wed, 1 May 2024 23:21:33 +0700 Subject: [PATCH] add Intel Xe flag --- anda/lib/terra-mesa/terra-mesa.spec | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/anda/lib/terra-mesa/terra-mesa.spec b/anda/lib/terra-mesa/terra-mesa.spec index 360ccc001e..c20e22ae36 100644 --- a/anda/lib/terra-mesa/terra-mesa.spec +++ b/anda/lib/terra-mesa/terra-mesa.spec @@ -27,6 +27,7 @@ %ifarch %{ix86} x86_64 %global with_crocus 1 %global with_i915 1 +%global with_xe 1 %if !0%{?rhel} %global with_intel_clc 1 %endif @@ -452,6 +453,9 @@ export MESON_PACKAGE_CACHE_DIR="%{cargo_registry}/" -Dopengl=true \ -Dgbm=enabled \ -Dglx=dri \ +%if 0%{?with_xe} + -D intel-xe-kmd=enabled \ +%endif -Degl=enabled \ -Dglvnd=true \ %if 0%{?with_intel_clc}