From: Tianhao Ni Date: Fri, 25 Feb 2022 05:37:21 +0000 (+0800) Subject: Update spec file X-Git-Tag: accepted/tizen/unified/20230227.042036~6 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=9fbb9b8dee38e55df8477232500212d2fbe5684a;p=platform%2Fupstream%2Fmesa.git Update spec file Change-Id: I636231eeb420d8b191e58d0196b52171ed8a080b Signed-off-by: Tianhao Ni --- diff --git a/packaging/mesa.spec b/packaging/mesa.spec index 85c068e..6423c4f 100644 --- a/packaging/mesa.spec +++ b/packaging/mesa.spec @@ -9,11 +9,16 @@ Source: %{name}-%{version}.tar.gz Source1001: %{name}.manifest Source1002: 99-GPU-Acceleration.rules +%define USE_LLVM 0 + BuildRequires: bison BuildRequires: flex +%if %{USE_LLVM} == 1 BuildRequires: llvm BuildRequires: llvm-devel BuildRequires: llvm-static-devel +Requires: llvm +%endif BuildRequires: pkgconfig BuildRequires: pkgconfig(expat) BuildRequires: pkgconfig(libdrm) >= 2.4.75 @@ -39,9 +44,8 @@ BuildRequires: pkgconfig(libdrm_intel) >= 2.4.24 ExclusiveArch: %endif -%define USE_LLVM 0 %define USE_GBM 0 -%define USE_VULKAN 0 +%define USE_VULKAN 1 %define VULKAN_DRIVER broadcom %define enable_driver() %{expand:%%{?!enable_%{1}: %%global enable_%{1} 1}}