Change-Id: I636231eeb420d8b191e58d0196b52171ed8a080b
Signed-off-by: Tianhao Ni <tianhao.ni@samsung.com>
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
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}}