From 10f39b90d08c27bf31fa8f8138e479637ace5944 Mon Sep 17 00:00:00 2001 From: David Abdurachmanov Date: Tue, 15 Nov 2022 12:37:13 +0200 Subject: [PATCH] Disable OpenCV on riscv64 until fixed upstream Signed-off-by: David Abdurachmanov --- highfive.spec | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/highfive.spec b/highfive.spec index 9954223..860495e 100644 --- a/highfive.spec +++ b/highfive.spec @@ -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 \