File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change 1
1
#! /usr/bin/env bash
2
2
#
3
- # Copyright (c) 2020-2022 The Bitcoin Core developers
3
+ # Copyright (c) 2020-present The Bitcoin Core developers
4
4
# Distributed under the MIT software license, see the accompanying
5
5
# file COPYING or http://www.opensource.org/licenses/mit-license.php.
6
6
@@ -9,9 +9,9 @@ export LC_ALL=C.UTF-8
9
9
export HOST=i686-pc-linux-gnu
10
10
export CONTAINER_NAME=ci_i686_centos
11
11
export CI_IMAGE_NAME_TAG=" quay.io/centos/amd64:stream9"
12
- export CI_BASE_PACKAGES=" gcc-c++ glibc-devel.x86_64 libstdc++-devel.x86_64 glibc-devel.i686 libstdc++-devel.i686 ccache make git python3 python3-pip which patch lbzip2 xz procps-ng dash rsync coreutils bison e2fsprogs cmake"
12
+ export STREAM_GCC_V=" 12"
13
+ export CI_BASE_PACKAGES=" gcc-toolset-${STREAM_GCC_V} -gcc-c++ glibc-devel.x86_64 gcc-toolset-${STREAM_GCC_V} -libstdc++-devel.x86_64 glibc-devel.i686 gcc-toolset-${STREAM_GCC_V} -libstdc++-devel.i686 ccache make git python3 python3-pip which patch lbzip2 xz procps-ng dash rsync coreutils bison e2fsprogs cmake"
13
14
export PIP_PACKAGES=" pyzmq"
14
15
export GOAL=" install"
15
- export NO_WERROR=1 # Suppress error: #warning _FORTIFY_SOURCE > 2 is treated like 2 on this platform [-Werror=cpp]
16
16
export BITCOIN_CONFIG=" -DWITH_ZMQ=ON -DBUILD_GUI=ON -DREDUCE_EXPORTS=ON"
17
17
export CONFIG_SHELL=" /bin/dash"
Original file line number Diff line number Diff line change 93
93
if [ -z " $NO_DEPENDS " ]; then
94
94
if [[ $CI_IMAGE_NAME_TAG == * centos* ]]; then
95
95
SHELL_OPTS=" CONFIG_SHELL=/bin/dash"
96
+ # shellcheck disable=SC1090
97
+ source " /opt/rh/gcc-toolset-${STREAM_GCC_V} /enable"
96
98
else
97
99
SHELL_OPTS=" CONFIG_SHELL="
98
100
fi
You can’t perform that action at this time.
0 commit comments