Disable OpenCV on riscv64 until fixed upstream

Signed-off-by: David Abdurachmanov <davidlt@rivosinc.com>
This commit is contained in:
David Abdurachmanov 2022-11-15 12:37:13 +02:00
parent 63a087b02c
commit 10f39b90d0
Signed by: davidlt
GPG Key ID: 8B7F1DA0E2C9FDBB
1 changed files with 3 additions and 3 deletions

View File

@ -37,7 +37,7 @@ Feature support:
Name: highfive
Version: 2.3.1
Release: %autorelease
Release: %autorelease -e 0.riscv64
Summary: Header-only C++ HDF5 interface
License: Boost
@ -66,7 +66,7 @@ BuildRequires: ninja-build
# Optional but included in Fedora, so we use these
BuildRequires: cmake(eigen3)
BuildRequires: cmake(xtensor)
%ifnarch %{arm32}
%ifnarch %{arm32} riscv64
BuildRequires: cmake(opencv)
%endif
# The -static versions are required by guidelines for tracking header-only
@ -118,7 +118,7 @@ CXXFLAGS="${CXXFLAGS} -Wno-deprecated-declarations"
-DHIGHFIVE_USE_BOOST:BOOL=TRUE \
-DHIGHFIVE_USE_XTENSOR:BOOL=TRUE \
-DHIGHFIVE_USE_EIGEN:BOOL=TRUE \
%ifnarch %{arm32}
%ifnarch %{arm32} riscv64
-DHIGHFIVE_USE_OPENCV:BOOL=TRUE \
%endif
-DHIGHFIVE_EXAMPLES:BOOL=TRUE \