mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-04-29 14:59:39 -04:00
ci: Bump centos gcc
This commit is contained in:
parent
676936845b
commit
fa47baa03b
2 changed files with 5 additions and 3 deletions
|
@ -1,6 +1,6 @@
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
#
|
#
|
||||||
# Copyright (c) 2020-2022 The Bitcoin Core developers
|
# Copyright (c) 2020-present The Bitcoin Core developers
|
||||||
# Distributed under the MIT software license, see the accompanying
|
# Distributed under the MIT software license, see the accompanying
|
||||||
# file COPYING or http://www.opensource.org/licenses/mit-license.php.
|
# file COPYING or http://www.opensource.org/licenses/mit-license.php.
|
||||||
|
|
||||||
|
@ -9,9 +9,9 @@ export LC_ALL=C.UTF-8
|
||||||
export HOST=i686-pc-linux-gnu
|
export HOST=i686-pc-linux-gnu
|
||||||
export CONTAINER_NAME=ci_i686_centos
|
export CONTAINER_NAME=ci_i686_centos
|
||||||
export CI_IMAGE_NAME_TAG="quay.io/centos/amd64:stream9"
|
export CI_IMAGE_NAME_TAG="quay.io/centos/amd64:stream9"
|
||||||
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"
|
export STREAM_GCC_V="12"
|
||||||
|
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"
|
||||||
export PIP_PACKAGES="pyzmq"
|
export PIP_PACKAGES="pyzmq"
|
||||||
export GOAL="install"
|
export GOAL="install"
|
||||||
export NO_WERROR=1 # Suppress error: #warning _FORTIFY_SOURCE > 2 is treated like 2 on this platform [-Werror=cpp]
|
|
||||||
export BITCOIN_CONFIG="-DWITH_ZMQ=ON -DBUILD_GUI=ON -DREDUCE_EXPORTS=ON"
|
export BITCOIN_CONFIG="-DWITH_ZMQ=ON -DBUILD_GUI=ON -DREDUCE_EXPORTS=ON"
|
||||||
export CONFIG_SHELL="/bin/dash"
|
export CONFIG_SHELL="/bin/dash"
|
||||||
|
|
|
@ -93,6 +93,8 @@ fi
|
||||||
if [ -z "$NO_DEPENDS" ]; then
|
if [ -z "$NO_DEPENDS" ]; then
|
||||||
if [[ $CI_IMAGE_NAME_TAG == *centos* ]]; then
|
if [[ $CI_IMAGE_NAME_TAG == *centos* ]]; then
|
||||||
SHELL_OPTS="CONFIG_SHELL=/bin/dash"
|
SHELL_OPTS="CONFIG_SHELL=/bin/dash"
|
||||||
|
# shellcheck disable=SC1090
|
||||||
|
source "/opt/rh/gcc-toolset-${STREAM_GCC_V}/enable"
|
||||||
else
|
else
|
||||||
SHELL_OPTS="CONFIG_SHELL="
|
SHELL_OPTS="CONFIG_SHELL="
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Add table
Reference in a new issue