summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXuelian Bai <xuelian.bai@samsung.com>2023-09-01 14:59:03 +0800
committerXuelian Bai <xuelian.bai@samsung.com>2024-02-18 15:38:56 +0800
commite7738ce60588563182e7f830c73930ead28e38bb (patch)
tree2025e840ea32a2cba7302fa46d91beb0a25de896
parentc5bdef4b10c84fd0300106f43d07c565ff5677b4 (diff)
downloadVulkan-ValidationLayers-accepted/tizen_unified_x_asan.tar.gz
Vulkan-ValidationLayers-accepted/tizen_unified_x_asan.tar.bz2
Vulkan-ValidationLayers-accepted/tizen_unified_x_asan.zip
Change-Id: I2b5cca82ca3377ad789758cc8b9e9e8a37a760a0 Signed-Off-by: Xuelian Bai <xuelian.bai@samsung.com>
-rw-r--r--packaging/vulkan-validation-layers.spec11
1 files changed, 6 insertions, 5 deletions
diff --git a/packaging/vulkan-validation-layers.spec b/packaging/vulkan-validation-layers.spec
index 9a837ac01..eab2e1076 100644
--- a/packaging/vulkan-validation-layers.spec
+++ b/packaging/vulkan-validation-layers.spec
@@ -1,5 +1,5 @@
Name: vulkan-validation-layers
-Version: 1.3.240
+Version: 1.3.268
Release: 0
Summary: Vulkan validation layers
Group: Graphics & UI Framework/GL
@@ -11,12 +11,13 @@ BuildRequires: cmake
BuildRequires: python3
BuildRequires: vulkan-headers = %{version}
BuildRequires: glslang-devel
-BuildRequires: pkgconfig(SPIRV-Tools) = 2023.1.1
+BuildRequires: pkgconfig(SPIRV-Tools) = 2023.5.1
BuildRequires: spirv-tools
BuildRequires: vulkan-loader-devel
BuildRequires: pkgconfig(wayland-client)
BuildRequires: spirv-headers
BuildRequires: spirv-headers-devel
+BuildRequires: vulkan-utility-libraries
%define BUILD_TYPE Debug
@@ -41,8 +42,8 @@ export CXXFLAGS="$CXXFLAGS -w -Wno-psabi"
cmake . -DCMAKE_BUILD_TYPE=%{BUILD_TYPE} \
-DBUILD_WSI_XLIB_SUPPORT=OFF -DBUILD_WSI_XCB_SUPPORT=OFF -DBUILD_WSI_WAYLAND_SUPPORT=ON \
-DGLSLANG_INSTALL_DIR=%{_bindir} -DSPIRV_HEADERS_INSTALL_DIR=%{_includedir}/spirv \
- -DVULKAN_HEADERS_INSTALL_DIR=/usr -DSPIRV_HEADERS_INCLUDE_DIR=%{_includedir} \
- -DUSE_ROBIN_HOOD_HASHING=OFF \
+ -DVULKAN_HEADERS_INSTALL_DIR=/usr \
+ -DUSE_ROBIN_HOOD_HASHING=OFF -DVVL_CODEGEN=ON\
-DCMAKE_INSTALL_LIBDIR=%{_libdir} -DCMAKE_INSTALL_INCLUDEDIR=%{_includedir}/vulkan \
-DCMAKE_INSTALL_DATADIR=%{_datadir} -DCMAKE_INSTALL_BINDIR=%{_bindir}
make -j8
@@ -51,7 +52,7 @@ make -j8
rm -rf %{buildroot}
mkdir -p %{buildroot}%{_includedir}/vulkan
%make_install
-cp -a ./layers/generated/*.h %{buildroot}%{_includedir}/vulkan
+cp -a ./layers/vulkan/generated/*.h %{buildroot}%{_includedir}/vulkan
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig