diff options
author | Tianhao Ni <tianhao.ni@samsung.com> | 2022-02-25 13:37:21 +0800 |
---|---|---|
committer | Xuelian Bai <xuelian.bai@samsung.com> | 2024-01-18 09:31:56 +0800 |
commit | 5d51b08329eb38c9dbd1c238031128aa1c0af65c (patch) | |
tree | fb83d516f6ec8519207f45687acf80260327e7d8 | |
parent | 35a523f7b5d2a9b30255e00b2ca3d231aa7011a4 (diff) | |
download | mesa-5d51b08329eb38c9dbd1c238031128aa1c0af65c.tar.gz mesa-5d51b08329eb38c9dbd1c238031128aa1c0af65c.tar.bz2 mesa-5d51b08329eb38c9dbd1c238031128aa1c0af65c.zip |
Update spec file
Change-Id: I636231eeb420d8b191e58d0196b52171ed8a080b
Signed-off-by: Tianhao Ni <tianhao.ni@samsung.com>
-rw-r--r-- | packaging/mesa.spec | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/packaging/mesa.spec b/packaging/mesa.spec index 85c068ea608..6423c4fdcbf 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}} |