mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-19 13:27:35 +02:00
Merge pull request #1400 from psgreco/master-fixbuild
Fix build in master with newer environments
This commit is contained in:
commit
d7efd310f8
12 changed files with 40 additions and 5 deletions
|
|
@ -215,6 +215,7 @@ task:
|
||||||
env:
|
env:
|
||||||
<< : *CIRRUS_EPHEMERAL_WORKER_TEMPLATE_ENV
|
<< : *CIRRUS_EPHEMERAL_WORKER_TEMPLATE_ENV
|
||||||
FILE_ENV: "./ci/test/00_setup_env_native_tsan.sh"
|
FILE_ENV: "./ci/test/00_setup_env_native_tsan.sh"
|
||||||
|
MAKEJOBS: "-j2" # Avoid excessive memory use due to MSan
|
||||||
|
|
||||||
task:
|
task:
|
||||||
name: '[MSan, depends] [focal]'
|
name: '[MSan, depends] [focal]'
|
||||||
|
|
@ -224,7 +225,6 @@ task:
|
||||||
env:
|
env:
|
||||||
<< : *CIRRUS_EPHEMERAL_WORKER_TEMPLATE_ENV
|
<< : *CIRRUS_EPHEMERAL_WORKER_TEMPLATE_ENV
|
||||||
FILE_ENV: "./ci/test/00_setup_env_native_msan.sh"
|
FILE_ENV: "./ci/test/00_setup_env_native_msan.sh"
|
||||||
MAKEJOBS: "-j4" # Avoid excessive memory use due to MSan
|
|
||||||
|
|
||||||
task:
|
task:
|
||||||
name: '[ASan + LSan + UBSan + integer, no depends] [jammy]'
|
name: '[ASan + LSan + UBSan + integer, no depends] [jammy]'
|
||||||
|
|
@ -236,7 +236,6 @@ task:
|
||||||
env:
|
env:
|
||||||
<< : *CIRRUS_EPHEMERAL_WORKER_TEMPLATE_ENV
|
<< : *CIRRUS_EPHEMERAL_WORKER_TEMPLATE_ENV
|
||||||
FILE_ENV: "./ci/test/00_setup_env_native_asan.sh"
|
FILE_ENV: "./ci/test/00_setup_env_native_asan.sh"
|
||||||
MAKEJOBS: "-j4" # Avoid excessive memory use
|
|
||||||
|
|
||||||
task:
|
task:
|
||||||
name: '[fuzzer,address,undefined,integer, no depends] [jammy]'
|
name: '[fuzzer,address,undefined,integer, no depends] [jammy]'
|
||||||
|
|
|
||||||
|
|
@ -1458,6 +1458,12 @@ if test "$use_external_signer" != "no"; then
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
AC_MSG_CHECKING([whether Boost.Process can be used])
|
AC_MSG_CHECKING([whether Boost.Process can be used])
|
||||||
|
TEMP_CXXFLAGS="$CXXFLAGS"
|
||||||
|
dnl Boost 1.78 requires the following workaround.
|
||||||
|
dnl See: https://github.com/boostorg/process/issues/235
|
||||||
|
CXXFLAGS="$CXXFLAGS -Wno-error=narrowing"
|
||||||
|
TEMP_CPPFLAGS="$CPPFLAGS"
|
||||||
|
CPPFLAGS="$CPPFLAGS $BOOST_CPPFLAGS"
|
||||||
TEMP_LDFLAGS="$LDFLAGS"
|
TEMP_LDFLAGS="$LDFLAGS"
|
||||||
dnl Boost 1.73 and older require the following workaround.
|
dnl Boost 1.73 and older require the following workaround.
|
||||||
LDFLAGS="$LDFLAGS $PTHREAD_CFLAGS"
|
LDFLAGS="$LDFLAGS $PTHREAD_CFLAGS"
|
||||||
|
|
@ -1465,6 +1471,8 @@ if test "$use_external_signer" != "no"; then
|
||||||
[have_boost_process="yes"],
|
[have_boost_process="yes"],
|
||||||
[have_boost_process="no"])
|
[have_boost_process="no"])
|
||||||
LDFLAGS="$TEMP_LDFLAGS"
|
LDFLAGS="$TEMP_LDFLAGS"
|
||||||
|
CPPFLAGS="$TEMP_CPPFLAGS"
|
||||||
|
CXXFLAGS="$TEMP_CXXFLAGS"
|
||||||
AC_MSG_RESULT([$have_boost_process])
|
AC_MSG_RESULT([$have_boost_process])
|
||||||
if test "$have_boost_process" = "yes"; then
|
if test "$have_boost_process" = "yes"; then
|
||||||
use_external_signer="yes"
|
use_external_signer="yes"
|
||||||
|
|
|
||||||
|
|
@ -5,6 +5,7 @@
|
||||||
#ifndef BITCOIN_CHAINPARAMSBASE_H
|
#ifndef BITCOIN_CHAINPARAMSBASE_H
|
||||||
#define BITCOIN_CHAINPARAMSBASE_H
|
#define BITCOIN_CHAINPARAMSBASE_H
|
||||||
|
|
||||||
|
#include <cstdint>
|
||||||
#include <memory>
|
#include <memory>
|
||||||
#include <string>
|
#include <string>
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -6,9 +6,10 @@
|
||||||
#ifndef BITCOIN_NODE_UI_INTERFACE_H
|
#ifndef BITCOIN_NODE_UI_INTERFACE_H
|
||||||
#define BITCOIN_NODE_UI_INTERFACE_H
|
#define BITCOIN_NODE_UI_INTERFACE_H
|
||||||
|
|
||||||
|
#include <cstdint>
|
||||||
#include <functional>
|
#include <functional>
|
||||||
#include <memory>
|
|
||||||
#include <string>
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
|
||||||
class CBlockIndex;
|
class CBlockIndex;
|
||||||
enum class SynchronizationState;
|
enum class SynchronizationState;
|
||||||
|
|
|
||||||
|
|
@ -22,6 +22,9 @@
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <algorithm>
|
#include <algorithm>
|
||||||
|
#include <limits>
|
||||||
|
#include <stdexcept>
|
||||||
|
#include <utility>
|
||||||
#ifdef ARENA_DEBUG
|
#ifdef ARENA_DEBUG
|
||||||
#include <iomanip>
|
#include <iomanip>
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
|
|
|
||||||
|
|
@ -5,11 +5,11 @@
|
||||||
#ifndef BITCOIN_SUPPORT_LOCKEDPOOL_H
|
#ifndef BITCOIN_SUPPORT_LOCKEDPOOL_H
|
||||||
#define BITCOIN_SUPPORT_LOCKEDPOOL_H
|
#define BITCOIN_SUPPORT_LOCKEDPOOL_H
|
||||||
|
|
||||||
#include <stdint.h>
|
#include <cstddef>
|
||||||
#include <list>
|
#include <list>
|
||||||
#include <map>
|
#include <map>
|
||||||
#include <mutex>
|
|
||||||
#include <memory>
|
#include <memory>
|
||||||
|
#include <mutex>
|
||||||
#include <unordered_map>
|
#include <unordered_map>
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
||||||
|
|
@ -12,7 +12,16 @@
|
||||||
// For details see https://github.com/bitcoin/bitcoin/pull/22348.
|
// For details see https://github.com/bitcoin/bitcoin/pull/22348.
|
||||||
#define __kernel_entry
|
#define __kernel_entry
|
||||||
#endif
|
#endif
|
||||||
|
#if defined(__GNUC__)
|
||||||
|
// Boost 1.78 requires the following workaround.
|
||||||
|
// See: https://github.com/boostorg/process/issues/235
|
||||||
|
#pragma GCC diagnostic push
|
||||||
|
#pragma GCC diagnostic ignored "-Wnarrowing"
|
||||||
|
#endif
|
||||||
#include <boost/process.hpp>
|
#include <boost/process.hpp>
|
||||||
|
#if defined(__GNUC__)
|
||||||
|
#pragma GCC diagnostic pop
|
||||||
|
#endif
|
||||||
#endif // ENABLE_EXTERNAL_SIGNER
|
#endif // ENABLE_EXTERNAL_SIGNER
|
||||||
|
|
||||||
#include <boost/test/unit_test.hpp>
|
#include <boost/test/unit_test.hpp>
|
||||||
|
|
|
||||||
|
|
@ -6,6 +6,7 @@
|
||||||
#define BITCOIN_UTIL_BIP32_H
|
#define BITCOIN_UTIL_BIP32_H
|
||||||
|
|
||||||
#include <attributes.h>
|
#include <attributes.h>
|
||||||
|
#include <cstdint>
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -9,6 +9,7 @@
|
||||||
|
|
||||||
#include <algorithm>
|
#include <algorithm>
|
||||||
#include <array>
|
#include <array>
|
||||||
|
#include <cstdint>
|
||||||
#include <cstring>
|
#include <cstring>
|
||||||
#include <locale>
|
#include <locale>
|
||||||
#include <sstream>
|
#include <sstream>
|
||||||
|
|
|
||||||
|
|
@ -6,7 +6,16 @@
|
||||||
#include <util/system.h>
|
#include <util/system.h>
|
||||||
|
|
||||||
#ifdef ENABLE_EXTERNAL_SIGNER
|
#ifdef ENABLE_EXTERNAL_SIGNER
|
||||||
|
#if defined(__GNUC__)
|
||||||
|
// Boost 1.78 requires the following workaround.
|
||||||
|
// See: https://github.com/boostorg/process/issues/235
|
||||||
|
#pragma GCC diagnostic push
|
||||||
|
#pragma GCC diagnostic ignored "-Wnarrowing"
|
||||||
|
#endif
|
||||||
#include <boost/process.hpp>
|
#include <boost/process.hpp>
|
||||||
|
#if defined(__GNUC__)
|
||||||
|
#pragma GCC diagnostic pop
|
||||||
|
#endif
|
||||||
#endif // ENABLE_EXTERNAL_SIGNER
|
#endif // ENABLE_EXTERNAL_SIGNER
|
||||||
|
|
||||||
#include <chainparamsbase.h>
|
#include <chainparamsbase.h>
|
||||||
|
|
|
||||||
|
|
@ -6,6 +6,7 @@
|
||||||
#define BITCOIN_ZMQ_ZMQABSTRACTNOTIFIER_H
|
#define BITCOIN_ZMQ_ZMQABSTRACTNOTIFIER_H
|
||||||
|
|
||||||
|
|
||||||
|
#include <cstdint>
|
||||||
#include <memory>
|
#include <memory>
|
||||||
#include <string>
|
#include <string>
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -7,6 +7,8 @@
|
||||||
|
|
||||||
#include <zmq/zmqabstractnotifier.h>
|
#include <zmq/zmqabstractnotifier.h>
|
||||||
|
|
||||||
|
#include <cstdint>
|
||||||
|
|
||||||
class CBlockIndex;
|
class CBlockIndex;
|
||||||
|
|
||||||
class CZMQAbstractPublishNotifier : public CZMQAbstractNotifier
|
class CZMQAbstractPublishNotifier : public CZMQAbstractNotifier
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue