From 42042bdc7cb6020938289e210ef8e1746a5c3d39 Mon Sep 17 00:00:00 2001 From: Yinsist Date: Wed, 8 May 2024 13:01:43 +0000 Subject: [PATCH 1/2] No libquadmath-devel libquadmath-static on loongarch64 (cherry picked from commit 70007a5fce50149f1d4af964354200ed803cef37) --- boost.spec | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/boost.spec b/boost.spec index 1b4e0aa..fdf4baa 100644 --- a/boost.spec +++ b/boost.spec @@ -56,8 +56,10 @@ BuildRequires: python3-devel python3-unversioned-command BuildRequires: openssl-devel # optional libraries for iostreams BuildRequires: bzip2-devel libzstd-devel xz-devel zlib-devel +%ifnarch loongarch64 # optional library for multiprecision BuildRequires: libquadmath-devel libquadmath-static +%endif # optional library for python3 BuildRequires: python3-numpy # optional library for regex @@ -451,6 +453,9 @@ find libs -name example -exec cp {} boost-example --parents -r \; * Thu Mar 14 2024 jammyjellyfish - 1.83.0-3 - Support specify CC +* Sat Mar 2 2024 Wenlong Zhang - 1.83.0-2 +- No libquadmath-devel libquadmath-static on loongarch64 + * Thu Jan 25 2024 chenhaixiang - 1.83.0-1 - Update to 1.83.0 -- Gitee From d7149f6ec555f5d750a4a1e81c6c32acc47f990a Mon Sep 17 00:00:00 2001 From: Yinsist Date: Wed, 8 May 2024 13:02:42 +0000 Subject: [PATCH 2/2] gcc does not currently support RISC-V's libquadmath (cherry picked from commit d09a19ed7a3390d91d000af194de916f6fa972cd) --- boost.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/boost.spec b/boost.spec index fdf4baa..ebb3b83 100644 --- a/boost.spec +++ b/boost.spec @@ -2,7 +2,7 @@ Name: boost Version: 1.83.0 -Release: 2 +Release: 4 Summary: The free peer-reviewed portable C++ source libraries License: BSL-1.0 URL: http://www.boost.org @@ -56,7 +56,7 @@ BuildRequires: python3-devel python3-unversioned-command BuildRequires: openssl-devel # optional libraries for iostreams BuildRequires: bzip2-devel libzstd-devel xz-devel zlib-devel -%ifnarch loongarch64 +%ifnarch loongarch64 riscv64 # optional library for multiprecision BuildRequires: libquadmath-devel libquadmath-static %endif @@ -450,6 +450,9 @@ find libs -name example -exec cp {} boost-example --parents -r \; %{_libdir}/*.a %changelog +* Sun Apr 28 2024 yinsist - 1.83.0-4 +- Disable libquadmath dependency for RISC-V as gcc does not currently support RISC-V's libquadmath + * Thu Mar 14 2024 jammyjellyfish - 1.83.0-3 - Support specify CC -- Gitee