Debian Codegraph @

debian/patches/boost-1.76.0-fix_multiprecision_issue_419-ppc64le.patch

raw symbols SCIP
1 Descriptionscip-debian debian mysql-8.0 8.0.46-1 `mysql-8.0`/patches/`boost-1.76.0-fix_multiprecision_issue_419-ppc64le.patch`#Description.: Fix ppc64el FTBFS due to boost issue
2 Update intrinsic usage config for Intel gcc to fix ppc64el builds with boost.
3 Authorscip-debian debian mysql-8.0 8.0.46-1 `mysql-8.0`/patches/`boost-1.76.0-fix_multiprecision_issue_419-ppc64le.patch`#Author.: John Maddock <[email protected]scip-debian . . . identity/`[email protected]`.>
4 Originscip-debian debian mysql-8.0 8.0.46-1 `mysql-8.0`/patches/`boost-1.76.0-fix_multiprecision_issue_419-ppc64le.patch`#Origin.: upstream, https://github.com/boostorg/multiprecision/pull/421
5 Bugscip-debian debian mysql-8.0 8.0.46-1 `mysql-8.0`/patches/`boost-1.76.0-fix_multiprecision_issue_419-ppc64le.patch`#Bug.: https://github.com/boostorg/multiprecision/issues/419
6 Last-Updatescip-debian debian mysql-8.0 8.0.46-1 `mysql-8.0`/patches/`boost-1.76.0-fix_multiprecision_issue_419-ppc64le.patch`#Last-Update.: 2022-08-09
7 ---
8 This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
9 --- a/boost/boost_1_77_0/boost/multiprecision/cpp_int/intel_intrinsics.hppscip-debian debian mysql-8.0 8.0.46-1 `mysql-8.0`/upstream/`boost/boost_1_77_0/boost/multiprecision/cpp_int/intel_intrinsics.hpp`:
10 +++ b/boost/boost_1_77_0/boost/multiprecision/cpp_int/intel_intrinsics.hppscip-debian debian mysql-8.0 8.0.46-1 `mysql-8.0`/upstream/`boost/boost_1_77_0/boost/multiprecision/cpp_int/intel_intrinsics.hpp`:
11 @@ -19,7 +19,11 @@
12 // If this is GCC/clang, then check that the actual intrinsic exists:
13 //
14 #if defined(__has_builtin) && defined(__GNUC__)
15 -#if !__has_builtin(__builtin_ia32_addcarryx_u64) && defined(BOOST_MP_HAS_IMMINTRIN_H) && !(defined(BOOST_GCC) && (__GNUC__ >= 9))
16 +#if !__has_builtin(__builtin_ia32_addcarryx_u64) && defined(BOOST_MP_HAS_IMMINTRIN_H) \
17 + && !(defined(BOOST_GCC) && (__GNUC__ >= 9) \
18 + && (defined(__amd64__) || defined(__amd64) || defined(__x86_64__) || defined(__x86_64)\
19 + || defined(i386) || defined(__i386) || defined(__i386__) || defined(_M_AMD64) \
20 + || defined(_M_X64) || defined(__amd64__) || defined(_M_X64)))
21 #undef BOOST_MP_HAS_IMMINTRIN_H
22 #endif
23 #elif defined(BOOST_MP_HAS_IMMINTRIN_H) && defined(__GNUC__) && !(defined(BOOST_GCC) && (__GNUC__ >= 9))