Compare commits

...

5 Commits

Author SHA1 Message Date
openeuler-ci-bot
f9130e1c5a
!133 gcc does not currently support RISC-V's libquadmath:手动 sync master分支 1.83.0-4 修改和 遗漏的 1.83.0-2 修改
From: @yinist 
Reviewed-by: @liqingqing_1229 
Signed-off-by: @liqingqing_1229
2024-05-10 01:08:49 +00:00
Yinsist
d09a19ed7a gcc does not currently support RISC-V's libquadmath 2024-05-08 13:02:42 +00:00
Yinsist
70007a5fce No libquadmath-devel libquadmath-static on loongarch64 2024-05-08 13:01:43 +00:00
openeuler-ci-bot
f8b12c2142
!130 [sync] PR-128 Support build with clang
From: @luofeng14 
Reviewed-by: @liqingqing_1229 
Signed-off-by: @liqingqing_1229
2024-03-30 07:26:18 +00:00
jammyjellyfish
75903eabca support specify cc 2024-03-30 14:43:36 +08:00

View File

@ -2,7 +2,7 @@
Name: boost
Version: 1.83.0
Release: 1
Release: 4
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 riscv64
# 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=%{__cc}
%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,15 @@ find libs -name example -exec cp {} boost-example --parents -r \;
%{_libdir}/*.a
%changelog
* Sun Apr 28 2024 yinsist <jianhui.oerv@isrc.iscas.ac.cn> - 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 <jammyjellyfish255@outlook.com> - 1.83.0-3
- Support specify CC
* 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