No libquadmath-devel libquadmath-static on loongarch64

Signed-off-by: shafeipaozi <sunbo.oerv@isrc.iscas.ac.cn>
This commit is contained in:
Wenlong Zhang 2024-03-07 06:51:45 +00:00 committed by shafeipaozi
parent 89be0eb988
commit c4e68a9dda

View File

@ -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 <jammyjellyfish255@outlook.com> - 1.83.0-3
- Support specify CC
- Signed-off-by: shafeipaozi <sunbo.oerv@isrc.iscas.ac.cn>
* Sat Mar 2 2024 Wenlong Zhang <zhangwenlong@loongson.cn> - 1.83.0-2
- No libquadmath-devel libquadmath-static on loongarch64
* Thu Jan 25 2024 chenhaixiang <chenhaixiang3@huawei.com> - 1.83.0-1
- Update to 1.83.0