Disable OpenCV on riscv64 until fixed upstream
Signed-off-by: David Abdurachmanov <davidlt@rivosinc.com>
This commit is contained in:
parent
63a087b02c
commit
10f39b90d0
@ -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 \
|
||||
|
Loading…
Reference in New Issue
Block a user