Compare commits

...

No commits in common. "c8" and "imports/c8-beta/vulkan-loader-1.1.126.0-2.el8" have entirely different histories.

4 changed files with 26 additions and 45 deletions

2
.gitignore vendored
View File

@ -1 +1 @@
SOURCES/Vulkan-Loader-sdk-1.3.283.0.tar.gz SOURCES/Vulkan-Loader-sdk-1.1.126.0.tar.gz

View File

@ -1 +1 @@
23a6ddf29216fb8b1a45bab8723b79079c6ab0e3 SOURCES/Vulkan-Loader-sdk-1.3.283.0.tar.gz 899a419aa4330f2093366e8a10ddba4ae325afa9 SOURCES/Vulkan-Loader-sdk-1.1.126.0.tar.gz

12
SOURCES/add-notes.patch Normal file
View File

@ -0,0 +1,12 @@
diff -up Vulkan-Loader-sdk-1.1.114.0/loader/CMakeLists.txt.da Vulkan-Loader-sdk-1.1.114.0/loader/CMakeLists.txt
--- Vulkan-Loader-sdk-1.1.114.0/loader/CMakeLists.txt.da 2019-08-08 11:12:09.817782355 +1000
+++ Vulkan-Loader-sdk-1.1.114.0/loader/CMakeLists.txt 2019-08-08 11:13:10.812416417 +1000
@@ -149,7 +149,7 @@ elseif(APPLE)
add_custom_target(loader_asm_gen_files) # This causes no assembly files to be generated.
else(UNIX AND NOT APPLE) # i.e.: Linux
enable_language(ASM)
- set(CMAKE_ASM_FLAGS "${CMAKE_C_FLAGS}")
+ set(CMAKE_ASM_FLAGS "${CMAKE_C_FLAGS} -Wa,--generate-missing-build-notes=yes")
check_include_file("cet.h" HAVE_CET_H)
if(HAVE_CET_H)

View File

@ -1,11 +1,14 @@
Name: vulkan-loader Name: vulkan-loader
Version: 1.3.283.0 Version: 1.1.126.0
Release: 1%{?dist} Release: 2%{?dist}
Summary: Vulkan ICD desktop loader Summary: Vulkan ICD desktop loader
License: ASL 2.0 License: ASL 2.0
URL: https://github.com/KhronosGroup/Vulkan-Loader URL: https://github.com/KhronosGroup/Vulkan-Loader
Source0: %url/archive/vulkan-sdk-%{version}.tar.gz#/Vulkan-Loader-sdk-%{version}.tar.gz 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
BuildRequires: gcc BuildRequires: gcc
BuildRequires: gcc-c++ BuildRequires: gcc-c++
@ -31,7 +34,7 @@ Obsoletes: vulkan-filesystem < %{version}-%{release}
Requires: mesa-vulkan-drivers%{?_isa} Requires: mesa-vulkan-drivers%{?_isa}
%endif %endif
%else %else
Recommends: mesa-vulkan-drivers%{?_isa} Requires: mesa-vulkan-drivers%{?_isa}
%endif %endif
%description %description
@ -52,16 +55,16 @@ developing applications that use %{name}.
%prep %prep
%autosetup -p1 -n Vulkan-Loader-vulkan-sdk-%{version} %autosetup -n Vulkan-Loader-sdk-%{version} -p1
%build %build
%cmake3 -GNinja -DCMAKE_BUILD_TYPE=Release %cmake3 -GNinja -DCMAKE_BUILD_TYPE=Release .
%cmake_build %ninja_build
%install %install
%cmake_install %ninja_install
# create the filesystem # create the filesystem
mkdir -p %{buildroot}%{_sysconfdir}/vulkan/{explicit,implicit}_layer.d/ \ mkdir -p %{buildroot}%{_sysconfdir}/vulkan/{explicit,implicit}_layer.d/ \
@ -88,43 +91,9 @@ mkdir -p %{buildroot}%{_sysconfdir}/vulkan/{explicit,implicit}_layer.d/ \
%files devel %files devel
%{_libdir}/pkgconfig/vulkan.pc %{_libdir}/pkgconfig/vulkan.pc
%{_libdir}/*.so %{_libdir}/*.so
%{_libdir}/cmake/VulkanLoader/*.cmake
%changelog %changelog
* Tue Sep 10 2024 José Expósito <jexposit@redhat.com> - 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 <airlied@redhat.com> - 1.3.250.1-1
- Update to 1.3.250.1
* Tue Feb 14 2023 Dave Airlie <airlied@redhat.com> - 1.3.239.0-1
- Update to 1.3.239.0
* Wed Aug 24 2022 Dave Airlie <airlied@redhat.com> - 1.3.224.0-2
- Change to recommends
* Wed Aug 24 2022 Dave Airlie <airlied@redhat.com> - 1.3.224.0-1
- Update to 1.3.224.0
* Mon Jun 20 2022 Dave Airlie <airlied@redhat.com> - 1.3.216.0-1
- Update to 1.3.216.0
* Thu Feb 24 2022 Dave Airlie <airlied@redhat.com> - 1.3.204.0-2
- Fix aarch64 TEXTREL
* Mon Feb 21 2022 Dave Airlie <airlied@redhat.com> - 1.3.204.0-1
- Update to 1.3.204.0
* Mon Feb 01 2021 Dave Airlie <airlied@redhat.com> - 1.2.162.0-1
- Update to 1.2.162.0
* Wed Aug 05 2020 Dave Airlie <airlied@redhat.com> - 1.2.148.0-1
- Update to 1.2.148.0
* Wed Jan 29 2020 Dave Airlie <airlied@redhat.com> - 1.2.131.1-1
- Update to 1.2.131.1
* Sat Dec 07 2019 Dave Airlie <airlied@redhat.com> - 1.1.126.0-2 * Sat Dec 07 2019 Dave Airlie <airlied@redhat.com> - 1.1.126.0-2
- Rebuild for 8.2.0 - Rebuild for 8.2.0