From 9b1fd79510b85783246dc9be467aa26576045001 Mon Sep 17 00:00:00 2001 From: Renbo Date: Thu, 14 Nov 2024 10:27:41 +0800 Subject: [PATCH] [EA] update to vulkan-loader-1.3.283.0-1.src.rpm to #bug11860 update to vulkan-loader-1.3.283.0-1.src.rpm Signed-off-by: Renbo --- add-notes.patch | 12 ------------ dist | 2 +- download | 2 +- vulkan-loader.spec | 23 ++++++++++++----------- 4 files changed, 14 insertions(+), 25 deletions(-) delete mode 100644 add-notes.patch diff --git a/add-notes.patch b/add-notes.patch deleted file mode 100644 index 2e4c822..0000000 --- a/add-notes.patch +++ /dev/null @@ -1,12 +0,0 @@ -diff -up Vulkan-Loader-sdk-1.3.216.0/loader/CMakeLists.txt.dma Vulkan-Loader-sdk-1.3.216.0/loader/CMakeLists.txt ---- Vulkan-Loader-sdk-1.3.216.0/loader/CMakeLists.txt.dma 2022-06-20 12:14:17.371384329 +1000 -+++ Vulkan-Loader-sdk-1.3.216.0/loader/CMakeLists.txt 2022-06-20 12:14:25.743510904 +1000 -@@ -178,7 +178,7 @@ else() # i.e.: Linux - if(USE_GAS) - enable_language(ASM) - -- set(CMAKE_ASM_FLAGS "${CMAKE_C_FLAGS}") -+ set(CMAKE_ASM_FLAGS "${CMAKE_C_FLAGS} -Wa,--generate-missing-build-notes=yes") - set(CMAKE_TRY_COMPILE_TARGET_TYPE STATIC_LIBRARY) - - if (${CMAKE_SYSTEM_PROCESSOR} STREQUAL "aarch64") diff --git a/dist b/dist index 89c1faf..1fe92cf 100644 --- a/dist +++ b/dist @@ -1 +1 @@ -an9 +an8_10 diff --git a/download b/download index 72d65b1..1e1dd20 100644 --- a/download +++ b/download @@ -1 +1 @@ -b028b31ad822e4cf918cd9c67806380b Vulkan-Loader-sdk-1.3.250.1.tar.gz +80b9bfeba8132c76f897b3de300eaa70 Vulkan-Loader-sdk-1.3.283.0.tar.gz diff --git a/vulkan-loader.spec b/vulkan-loader.spec index ea93cfb..1c9bd7e 100644 --- a/vulkan-loader.spec +++ b/vulkan-loader.spec @@ -1,18 +1,15 @@ Name: vulkan-loader -Version: 1.3.250.1 +Version: 1.3.283.0 Release: 1%{?dist} Summary: Vulkan ICD desktop loader License: ASL 2.0 URL: https://github.com/KhronosGroup/Vulkan-Loader -Source0: %url/archive/sdk-%{version}.tar.gz#/Vulkan-Loader-sdk-%{version}.tar.gz - -# hard code adding notes to the one asm file compilation. -Patch1: add-notes.patch +Source0: %url/archive/vulkan-sdk-%{version}.tar.gz#/Vulkan-Loader-sdk-%{version}.tar.gz BuildRequires: gcc BuildRequires: gcc-c++ -BuildRequires: cmake +BuildRequires: cmake3 BuildRequires: ninja-build BuildRequires: python%{python3_pkgversion}-devel BuildRequires: vulkan-headers = %{version} @@ -55,16 +52,16 @@ developing applications that use %{name}. %prep -%autosetup -n Vulkan-Loader-sdk-%{version} -p1 +%autosetup -p1 -n Vulkan-Loader-vulkan-sdk-%{version} %build -%cmake -GNinja -DCMAKE_BUILD_TYPE=Release . -%ninja_build +%cmake3 -GNinja -DCMAKE_BUILD_TYPE=Release +%cmake_build %install -%ninja_install +%cmake_install # create the filesystem mkdir -p %{buildroot}%{_sysconfdir}/vulkan/{explicit,implicit}_layer.d/ \ @@ -91,9 +88,13 @@ mkdir -p %{buildroot}%{_sysconfdir}/vulkan/{explicit,implicit}_layer.d/ \ %files devel %{_libdir}/pkgconfig/vulkan.pc %{_libdir}/*.so - +%{_libdir}/cmake/VulkanLoader/*.cmake %changelog +* Tue Sep 10 2024 José Expósito - 1.3.283.0-1 +- Update to 1.3.283.0 SDK + Resolves: https://issues.redhat.com/browse/RHEL-54287 + * Wed Jul 12 2023 Dave Airlie - 1.3.250.1-1 - Update to 1.3.250.1 -- Gitee