- Update to version 7.4.0:
+ improving support for legacy GCC and validate_utf16_as_ascii
- Changes from version 7.3.6:
+ trim_partial_utf16() should handle length=1 regularly
- Changes from version 7.3.5:
+ Improving the performance of simdutf::find and adding a
benchmark for simdutf::find.
- Changes from version 7.3.4:
+ Read count is incorrect when using
last_chunk_handling::stop_before_partial
- Changes from version 7.3.3:
+ This patch release fixes minor documentation issues, an issue
with UTF-8 BOM detection and an issue with stop_before_partial
last chunk handling.
- Changes from version 7.3.2:
+ adding tests to check feature macros
+ adding a nice to_well_formed benchmark
- Changes from version 7.3.1:
+ Fix macOS build by replacing --gc-sections with -dead_strip
+ reduce the binary size under macos
+ adds some documentation for std::span overloads
+ Support macOS cross-compilation with Clang in osxcross
+ adding emscripten build test
+ Fix MSVC noexcept analysis warnings
+ Implement lsx + lasx find function
+ CMake: Guard shell-based tests with SIMDUTF_TESTS
+ Implement rvv find function
- Changes from version 7.3.0:
+ _safe variant of convert_utf16_to_utf8
OBS-URL: https://build.opensuse.org/request/show/1306946
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/simdutf?expand=0&rev=3
83 lines
2.0 KiB
RPMSpec
83 lines
2.0 KiB
RPMSpec
#
|
|
# spec file for package simdutf
|
|
#
|
|
# Copyright (c) 2025 SUSE LLC and contributors
|
|
#
|
|
# All modifications and additions to the file contributed by third parties
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
# upon. The license for this file, and modifications and additions to the
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
# license for the pristine package is not an Open Source License, in which
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
# published by the Open Source Initiative.
|
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
|
#
|
|
|
|
|
|
%define lib_ver 26.0.0
|
|
%define so_ver 26
|
|
Name: simdutf
|
|
Version: 7.4.0
|
|
Release: 0
|
|
Summary: Unicode validation and transcoding at billions of characters per second
|
|
|
|
License: Apache-2.0 AND BSD-3-Clause
|
|
URL: https://github.com/simdutf/simdutf
|
|
Source0: %{name}-%{version}.tar.zst
|
|
|
|
BuildRequires: cmake
|
|
BuildRequires: c++_compiler
|
|
|
|
%description
|
|
Unicode (UTF8, UTF16, UTF32) validation and transcoding at billions of
|
|
characters per second using SSE2, AVX2, NEON, AVX-512.
|
|
|
|
%package -n lib%{name}%so_ver
|
|
Summary: Shared libraries for %{name}
|
|
|
|
%description -n lib%{name}%so_ver
|
|
The package contains shared libraries.
|
|
|
|
%package devel
|
|
Summary: Development files for %{name}
|
|
Requires: lib%{name}%so_ver = %{version}
|
|
|
|
%description devel
|
|
The package contains libraries and header files for developing applications
|
|
that use %{name}.
|
|
|
|
%prep
|
|
%autosetup -p1
|
|
|
|
%build
|
|
%cmake \
|
|
-DCMAKE_BUILD_TYPE=Release \
|
|
-DSIMDUTF_BENCHMARKS=OFF \
|
|
-DSIMDUTF_TOOLS=OFF
|
|
%cmake_build
|
|
|
|
%install
|
|
%cmake_install
|
|
|
|
%ldconfig_scriptlets -n lib%{name}%so_ver
|
|
|
|
%check
|
|
%ctest
|
|
|
|
%files -n lib%{name}%so_ver
|
|
%license LICENSE-APACHE
|
|
%doc AUTHORS README.md
|
|
%{_libdir}/lib%{name}.so.%{lib_ver}
|
|
%{_libdir}/lib%{name}.so.%{so_ver}
|
|
|
|
%files devel
|
|
%{_includedir}/%{name}.h
|
|
%{_includedir}/%{name}
|
|
%{_libdir}/cmake/%{name}
|
|
%{_libdir}/lib%{name}.so
|
|
%{_libdir}/pkgconfig/%{name}.pc
|
|
|
|
%changelog
|