From bc418de17c11f0eecff1bec8c2439bfbf5826c71 Mon Sep 17 00:00:00 2001 From: Yinsist Date: Wed, 8 May 2024 12:46:32 +0000 Subject: [PATCH 1/2] No libquadmath-devel libquadmath-static on loongarch64 --- 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 2104b66bf8c55236aca6ee444cd5ea3d081bb494 Mon Sep 17 00:00:00 2001 From: Yinsist Date: Wed, 8 May 2024 12:47:48 +0000 Subject: [PATCH 2/2] gcc does not currently support RISC-V's libquadmath --- 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