No libquadmath-devel libquadmath-static on loongarch64
Signed-off-by: shafeipaozi <sunbo.oerv@isrc.iscas.ac.cn>
This commit is contained in:
parent
89be0eb988
commit
c4e68a9dda
13
boost.spec
13
boost.spec
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
Name: boost
|
Name: boost
|
||||||
Version: 1.83.0
|
Version: 1.83.0
|
||||||
Release: 1
|
Release: 3
|
||||||
Summary: The free peer-reviewed portable C++ source libraries
|
Summary: The free peer-reviewed portable C++ source libraries
|
||||||
License: BSL-1.0
|
License: BSL-1.0
|
||||||
URL: http://www.boost.org
|
URL: http://www.boost.org
|
||||||
@ -56,8 +56,10 @@ BuildRequires: python3-devel python3-unversioned-command
|
|||||||
BuildRequires: openssl-devel
|
BuildRequires: openssl-devel
|
||||||
# optional libraries for iostreams
|
# optional libraries for iostreams
|
||||||
BuildRequires: bzip2-devel libzstd-devel xz-devel zlib-devel
|
BuildRequires: bzip2-devel libzstd-devel xz-devel zlib-devel
|
||||||
|
%ifnarch loongarch64
|
||||||
# optional library for multiprecision
|
# optional library for multiprecision
|
||||||
BuildRequires: libquadmath-devel libquadmath-static
|
BuildRequires: libquadmath-devel libquadmath-static
|
||||||
|
%endif
|
||||||
# optional library for python3
|
# optional library for python3
|
||||||
BuildRequires: python3-numpy
|
BuildRequires: python3-numpy
|
||||||
# optional library for regex
|
# 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}
|
%autosetup -p1 -n %{name}_%{version_enc}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
./bootstrap.sh
|
./bootstrap.sh --with-toolset=%toolchain
|
||||||
%define opt_build -d+2 -q %{?_smp_mflags} --no-cmake-config
|
%define opt_build -d+2 -q %{?_smp_mflags} --no-cmake-config
|
||||||
%define opt_feature release debug-symbols=on pch=off
|
%define opt_feature release debug-symbols=on pch=off
|
||||||
%define opt_libs --without-mpi --without-graph_parallel
|
%define opt_libs --without-mpi --without-graph_parallel
|
||||||
@ -448,6 +450,13 @@ find libs -name example -exec cp {} boost-example --parents -r \;
|
|||||||
%{_libdir}/*.a
|
%{_libdir}/*.a
|
||||||
|
|
||||||
%changelog
|
%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
|
* Thu Jan 25 2024 chenhaixiang <chenhaixiang3@huawei.com> - 1.83.0-1
|
||||||
- Update to 1.83.0
|
- Update to 1.83.0
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user