Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ensure that only one Vulkan ICD manifest is present. #96

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 8 additions & 3 deletions nvidia-driver.spec
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

Name: nvidia-driver
Version: 440.59
Release: 1%{?dist}
Release: 2%{?dist}
Summary: NVIDIA's proprietary display driver for NVIDIA graphic cards
Epoch: 3
License: NVIDIA License
Expand Down Expand Up @@ -276,16 +276,18 @@ install -p -m 0644 nvidia-application-profiles-%{version}-rc \

%endif

%ifarch x86_64

%if 0%{?fedora} || 0%{?rhel} >= 7
# Vulkan loader
install -p -m 0644 nvidia_icd.json %{buildroot}%{_datadir}/vulkan/icd.d/nvidia_icd.%{_target_cpu}.json
install -p -m 0644 nvidia_icd.json %{buildroot}%{_datadir}/vulkan/icd.d/
%endif

%ifarch x86_64
%if 0%{?fedora} || 0%{?rhel} >= 8
# Vulkan layer
install -p -m 0644 nvidia_layers.json %{buildroot}%{_datadir}/vulkan/implicit_layer.d/
%endif

%endif

# EGL loader
Expand Down Expand Up @@ -451,6 +453,9 @@ appstream-util validate-relax --nonet %{buildroot}%{_metainfodir}/com.nvidia.dri
%{_libdir}/libnvidia-ml.so.%{version}

%changelog
* Tue Feb 14 2020 Jens Peters <[email protected]> - 3:440.59-2
- Ensure that only one Vulkan ICD manifest is present.

* Tue Feb 04 2020 Simone Caronni <[email protected]> - 3:440.59-1
- Update to 440.59.

Expand Down