Merge bitcoin/bitcoin#21812: ci: Enable D_GLIBCXX_DEBUG for multiprocess task

fa44f5119a0b412f0d46cad02f638727d140b451 ci: Clarify that previous_releases task is using DEBUG (MarcoFalke)
fad0f21c3caba129106799fe6c14aff323ef99f2 ci: Use clang in multiprocess task to avoid OOM (MarcoFalke)
faeabef4f386009847a0f91041d44e6f31eec618 ci: Enable D_GLIBCXX_DEBUG for multiprocess task (MarcoFalke)

Pull request description:

  Enable `-D_GLIBCXX_DEBUG` via the depends `DEBUG` flag. Also `--enable-debug` to get debug symbols in traces.

ACKs for top commit:
  hebasto:
    ACK fa44f5119a0b412f0d46cad02f638727d140b451, I have reviewed the code and it looks OK, I agree it can be merged, and CI is green.

Tree-SHA512: ab2a216bb44ee462f9dd181ec9025962502bd4201a1118ff52b6a193398e7ea3ca465a45a5eb341e308758fc3ef34ea3521f8a1f85ed64478ef3c1f6c1b8b141
This commit is contained in:
fanquake 2021-05-04 19:18:09 +08:00 committed by Konstantin Akimov
parent 334496ea7e
commit 86b76d19b6
No known key found for this signature in database
GPG Key ID: 2176C4A5D01EA524
2 changed files with 5 additions and 5 deletions

View File

@ -87,7 +87,7 @@ task:
FILE_ENV: "./ci/test/00_setup_env_i686_centos.sh" FILE_ENV: "./ci/test/00_setup_env_i686_centos.sh"
task: task:
name: '[previous releases, uses qt5 dev package and some depends packages] [unsigned char] [focal]' name: '[previous releases, uses qt5 dev package and some depends packages, DEBUG] [unsigned char] [focal]'
# For faster CI feedback, immediately schedule a task that compiles most modules # For faster CI feedback, immediately schedule a task that compiles most modules
<< : *CREDITS_TEMPLATE << : *CREDITS_TEMPLATE
<< : *GLOBAL_TASK_TEMPLATE << : *GLOBAL_TASK_TEMPLATE
@ -132,7 +132,7 @@ task:
FILE_ENV: "./ci/test/00_setup_env_native_fuzz.sh" FILE_ENV: "./ci/test/00_setup_env_native_fuzz.sh"
task: task:
name: '[multiprocess] [focal]' name: '[multiprocess, DEBUG] [focal]'
<< : *GLOBAL_TASK_TEMPLATE << : *GLOBAL_TASK_TEMPLATE
container: container:
image: ubuntu:focal image: ubuntu:focal

View File

@ -7,8 +7,8 @@
export LC_ALL=C.UTF-8 export LC_ALL=C.UTF-8
export CONTAINER_NAME=ci_native_multiprocess export CONTAINER_NAME=ci_native_multiprocess
export PACKAGES="cmake python3" export PACKAGES="cmake python3 llvm clang"
export DEP_OPTS="MULTIPROCESS=1" export DEP_OPTS="DEBUG=1 MULTIPROCESS=1"
export GOAL="install" export GOAL="install"
export BITCOIN_CONFIG="--with-boost-process" export BITCOIN_CONFIG="--with-boost-process --enable-debug CC=clang CXX=clang++" # Use clang to avoid OOM
export TEST_RUNNER_ENV="BITCOIND=dash-node" export TEST_RUNNER_ENV="BITCOIND=dash-node"