!103 skip gcc value init check

From: @sdlzx 
Reviewed-by: @liqingqing_1229 
Signed-off-by: @liqingqing_1229
This commit is contained in:
openeuler-ci-bot 2022-12-02 10:55:11 +00:00 committed by Gitee
commit f4abb68c29
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
2 changed files with 36 additions and 1 deletions

View 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

View File

@ -2,7 +2,7 @@
Name: boost Name: boost
Version: 1.80.0 Version: 1.80.0
Release: 3 Release: 4
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
@ -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 Patch0: boost-1.78-python-Update-call_method-hpp.patch
# https://github.com/ned14/outcome/commit/66ebdd4e86ab593c8723ee69f6654260de19775e # https://github.com/ned14/outcome/commit/66ebdd4e86ab593c8723ee69f6654260de19775e
Patch1: boost-1.80-outcome-Stop-Boost-regression-tests-complaining-about-no-test-tree.patch 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}-atomic%{?_isa} = %{version}-%{release}
Requires: %{name}-chrono%{?_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 %{_libdir}/*.a
%changelog %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 * Sat Nov 26 2022 Liu Zixian <liuzixian4@huawei.com> - 1.80.0-3
- Fix libquadmath dependency - Fix libquadmath dependency