first check if Valgrind supports the architecture
This commit is contained in:
parent
c984481785
commit
758546bf6a
@ -1,13 +1,16 @@
|
||||
%global debug_package %{nil}
|
||||
Name: rapidjson
|
||||
Version: 1.1.0
|
||||
Release: 11
|
||||
Release: 12
|
||||
Summary: small & selft-contained fast JSON parser and generator for C++
|
||||
License: MIT
|
||||
URL: http://miloyip.github.io/rapidjson
|
||||
Source0: https://github.com/miloyip/rapidjson/archive/v%{version}.tar.gz#/rapidjson-%{version}.tar.gz
|
||||
Patch0000: rapidjson-1.1.0-do_not_include_gtest_src_dir.patch
|
||||
BuildRequires: cmake gcc-c++ gtest-devel valgrind
|
||||
BuildRequires: cmake gcc-c++ gtest-devel
|
||||
%ifarch "%{valgrind_arches}"
|
||||
BuildRequires: valgrind
|
||||
%endif
|
||||
|
||||
%description
|
||||
RapidJSON as a fast JSON parser which generator for c++. It`s inspired by
|
||||
@ -88,6 +91,9 @@ cd -
|
||||
%doc %{_pkgdocdir}
|
||||
|
||||
%changelog
|
||||
* Mon Apr 29 2024 yinsist <jianhui.oerv@isrc.iscas.ac.cn> - 1.1.0-12
|
||||
- Valgrind does not support certain architectures like RISC-V, Before depending on Valgrind, first check if Valgrind supports the architecture
|
||||
|
||||
* Fri Aug 25 2023 liyanan <thistleslyn@163.com> - 1.1.0-11
|
||||
- Do not force C++11: gtest 1.13.0 requires at least C++14
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user