From c4e68a9dda40fdae4ac67f6db212e455acfb2f0b Mon Sep 17 00:00:00 2001 From: Wenlong Zhang Date: Thu, 7 Mar 2024 06:51:45 +0000 Subject: [PATCH] No libquadmath-devel libquadmath-static on loongarch64 Signed-off-by: shafeipaozi --- boost.spec | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/boost.spec b/boost.spec index fa280ad..5023667 100644 --- a/boost.spec +++ b/boost.spec @@ -2,7 +2,7 @@ Name: boost Version: 1.83.0 -Release: 1 +Release: 3 Summary: The free peer-reviewed portable C++ source libraries License: BSL-1.0 URL: http://www.boost.org @@ -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 @@ -279,7 +281,7 @@ as that on the Boost web page (http://www.boost.org/doc/libs/%{version_enc}). %autosetup -p1 -n %{name}_%{version_enc} %build -./bootstrap.sh +./bootstrap.sh --with-toolset=%toolchain %define opt_build -d+2 -q %{?_smp_mflags} --no-cmake-config %define opt_feature release debug-symbols=on pch=off %define opt_libs --without-mpi --without-graph_parallel @@ -448,6 +450,13 @@ find libs -name example -exec cp {} boost-example --parents -r \; %{_libdir}/*.a %changelog +* Fri Apr 21 2023 jammyjellyfish - 1.83.0-3 +- Support specify CC +- Signed-off-by: shafeipaozi + +* 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