Add vulkan

This commit is contained in:
Christopher N. Hesse 2019-09-13 22:20:23 +02:00 committed by Nicolas Chauvet
parent a7f630433d
commit 6376b30194
1 changed files with 6 additions and 1 deletions

View File

@ -51,6 +51,7 @@
%bcond_without clp
%bcond_without va
%bcond_without java
%bcond_without vulkan
%global srcname opencv
%global abiver 4.1
@ -170,6 +171,7 @@ BuildRequires: lapack-devel
BuildRequires: ant
BuildRequires: java-devel
}
%{?with_vulkan:BuildRequires: vulkan-headers}
Requires: opencv-core%{_isa} = %{version}-%{release}
@ -316,6 +318,7 @@ popd
%{?with_clp: -DWITH_CLP=ON } \
%{?with_va: -DWITH_VA=ON } \
%{!?with_vtk: -DWITH_VTK=OFF} \
%{?with_vulkan: -DWITH_VULKAN=ON -DVULKAN_INCLUDE_DIRS=%{_includedir}/vulkan } \
..
# -DENABLE_CXX11=ON \
@ -451,9 +454,11 @@ popd
* Fri Sep 13 2019 Sérgio Basto <sergio@serjux.com> - 4.1.0-1
- Update opencv to 4.1.0
* Fri Sep 13 2019 Christopher N. Hesse <raymanfx@gmail.com> - 4.1.0-0
- Enable vulkan compute backend
* Fri Sep 13 2019 Sérgio Basto <sergio@serjux.com> - 3.4.6-9
- Reenable pylint and vtk, they are working now.
* Wed Sep 11 2019 Mamoru TASAKA <mtasaka@fedoraproject.org> - 3.4.6-8
- F-32: remove vtk gcdm dependency for now because they have broken dependency
(bug 1751406)