skip gcc value init check
This commit is contained in:
parent
86c2ce4ce7
commit
73e2ba2859
31
boost-1.80-config-skip-gcc-known-issue.patch
Normal file
31
boost-1.80-config-skip-gcc-known-issue.patch
Normal file
@ -0,0 +1,31 @@
|
||||
From 935aa0f43bd0eab6375a9b10c8c0c886be52dc40 Mon Sep 17 00:00:00 2001
|
||||
From: Liu Zixian <liuzixian4@huawei.com>
|
||||
Date: Fri, 2 Dec 2022 16:05:30 +0800
|
||||
Subject: [PATCH] skip gcc known issue
|
||||
|
||||
Signed-off-by: Liu Zixian <liuzixian4@huawei.com>
|
||||
---
|
||||
libs/config/test/config_test.cpp | 2 ++
|
||||
1 file changed, 2 insertions(+)
|
||||
|
||||
diff --git a/libs/config/test/config_test.cpp b/libs/config/test/config_test.cpp
|
||||
index b04e74e14..d717e93e5 100644
|
||||
--- a/libs/config/test/config_test.cpp
|
||||
+++ b/libs/config/test/config_test.cpp
|
||||
@@ -1381,11 +1381,13 @@ int main( int, char *[] )
|
||||
std::cerr << "Failed test for BOOST_NO_CXX11_CHAR32_T at: " << __FILE__ << ":" << __LINE__ << std::endl;
|
||||
++error_count;
|
||||
}
|
||||
+#ifndef __GNUC__
|
||||
if(0 != boost_no_complete_value_initialization::test())
|
||||
{
|
||||
std::cerr << "Failed test for BOOST_NO_COMPLETE_VALUE_INITIALIZATION at: " << __FILE__ << ":" << __LINE__ << std::endl;
|
||||
++error_count;
|
||||
}
|
||||
+#endif
|
||||
if(0 != boost_no_cxx11_constexpr::test())
|
||||
{
|
||||
std::cerr << "Failed test for BOOST_NO_CXX11_CONSTEXPR at: " << __FILE__ << ":" << __LINE__ << std::endl;
|
||||
--
|
||||
2.36.1
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
|
||||
Name: boost
|
||||
Version: 1.80.0
|
||||
Release: 3
|
||||
Release: 4
|
||||
Summary: The free peer-reviewed portable C++ source libraries
|
||||
License: BSL-1.0
|
||||
URL: http://www.boost.org
|
||||
@ -14,6 +14,7 @@ Source0: https://boostorg.jfrog.io/ui/native/main/release/%{version}/sour
|
||||
Patch0: boost-1.78-python-Update-call_method-hpp.patch
|
||||
# https://github.com/ned14/outcome/commit/66ebdd4e86ab593c8723ee69f6654260de19775e
|
||||
Patch1: boost-1.80-outcome-Stop-Boost-regression-tests-complaining-about-no-test-tree.patch
|
||||
Patch9000: boost-1.80-config-skip-gcc-known-issue.patch
|
||||
|
||||
Requires: %{name}-atomic%{?_isa} = %{version}-%{release}
|
||||
Requires: %{name}-chrono%{?_isa} = %{version}-%{release}
|
||||
@ -429,6 +430,9 @@ find libs -name example -exec cp {} boost-example --parents -r \;
|
||||
%{_libdir}/*.a
|
||||
|
||||
%changelog
|
||||
* Fri Dec 02 2022 Liu Zixian <liuzixian4@huawei.com> - 1.80.0-4
|
||||
- Skip gcc value init check
|
||||
|
||||
* Sat Nov 26 2022 Liu Zixian <liuzixian4@huawei.com> - 1.80.0-3
|
||||
- Fix libquadmath dependency
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user