Compare commits

...

2 Commits

Author SHA1 Message Date
David Abdurachmanov a7019b8589
Disable intrinsics on riscv64
Signed-off-by: David Abdurachmanov <davidlt@rivosinc.com>
2023-12-30 19:05:58 +02:00
David Abdurachmanov 72a3a8e10d
Make available on riscv64
Signed-off-by: David Abdurachmanov <davidlt@rivosinc.com>
2023-12-30 18:39:17 +02:00
1 changed files with 5 additions and 2 deletions

View File

@ -1,13 +1,13 @@
Name: libunicode
Version: 0.4.0
Release: %autorelease
Release: %autorelease -e 0.riscv64
Summary: Modern C++20 Unicode Library
License: Apache-2.0
URL: https://github.com/contour-terminal/libunicode
Source0: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz
Patch0: libunicode-fix-catch-in-cmake.patch
ExclusiveArch: x86_64 aarch64
ExclusiveArch: x86_64 aarch64 riscv64
BuildRequires: gcc-c++
BuildRequires: cmake
@ -43,6 +43,9 @@ The %{name}-tools package contains tools about %{name}.
%cmake \
-GNinja \
-DCMAKE_BUILD_TYPE=Release \
%ifarch riscv64
-DLIBUNICODE_USE_INTRINSICS=OFF \
%endif
-DLIBUNICODE_UCD_DIR=%{_datadir}/unicode/ucd \
%cmake_build