Link stdc++fs

Resolves: https://issues.redhat.com/browse/RHEL-54288
This commit is contained in:
José Expósito 2024-09-13 12:58:39 +02:00
parent 030fadf337
commit 4e2bcaa20f

View File

@ -1,6 +1,6 @@
Name: vulkan-tools
Version: 1.3.283.0
Release: 1%{?dist}
Release: 2%{?dist}
Summary: Vulkan tools
License: ASL 2.0
@ -49,7 +49,8 @@ tar -xvf %{SOURCE1} -C volk --strip-components=1
# Instead, add vulkan-volk as a subproject
echo "add_subdirectory(volk)" >> CMakeLists.txt
%cmake3 -GNinja -DCMAKE_BUILD_TYPE=Release -DGLSLANG_INSTALL_DIR=%{_prefix}
%cmake3 -GNinja -DCMAKE_BUILD_TYPE=Release -DGLSLANG_INSTALL_DIR=%{_prefix} \
-DCMAKE_CXX_STANDARD_LIBRARIES="-lstdc++fs"
%cmake3_build
@ -62,6 +63,10 @@ echo "add_subdirectory(volk)" >> CMakeLists.txt
%{_bindir}/*
%changelog
* Fri Sep 13 2024 José Expósito <jexposit@redhat.com> - 1.3.283.0-2
- Link stdc++fs
Resolves: https://issues.redhat.com/browse/RHEL-54288
* Wed Sep 11 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-54288