Skip to content

Commit a23f8c8

Browse files
committed
Merge bitcoin/bitcoin#26234: ci: Allow PIP_PACKAGES on centos
fa6054e ci: Allow PIP_PACKAGES on centos (MacroFake) fac085a ci: Remove unused package (MacroFake) Pull request description: This was added in 7fc5e86 but I can't see a reason why this should be forbidden. This is also needed for other changes (bumping the minimum python version). ACKs for top commit: hebasto: re-ACK fa6054e Tree-SHA512: e8ead9ee00079024eb1e8c6e7b31c78cf2a3392159b444765c2ea9a58bed2a7550bf71083210692a45bb8ed7896cb882b72bf70baa13a2384864b2b510b73005
2 parents b6565b6 + fa6054e commit a23f8c8

File tree

3 files changed

+12
-10
lines changed

3 files changed

+12
-10
lines changed

ci/test/00_setup_env_i686_centos.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@ export LC_ALL=C.UTF-8
99
export HOST=i686-pc-linux-gnu
1010
export CONTAINER_NAME=ci_i686_centos
1111
export DOCKER_NAME_TAG=quay.io/centos/centos:stream8
12-
export DOCKER_PACKAGES="gcc-c++ glibc-devel.x86_64 libstdc++-devel.x86_64 glibc-devel.i686 libstdc++-devel.i686 ccache libtool make git python3 python3-zmq which patch lbzip2 xz procps-ng dash rsync coreutils bison"
12+
export DOCKER_PACKAGES="gcc-c++ glibc-devel.x86_64 libstdc++-devel.x86_64 glibc-devel.i686 libstdc++-devel.i686 ccache libtool make git python3 python3-pip which patch lbzip2 xz procps-ng dash rsync coreutils bison"
13+
export PIP_PACKAGES="pyzmq"
1314
export GOAL="install"
1415
export BITCOIN_CONFIG="--enable-zmq --with-gui=qt5 --enable-reduce-exports"
1516
export CONFIG_SHELL="/bin/dash"

ci/test/00_setup_env_i686_multiprocess.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ export LC_ALL=C.UTF-8
99
export HOST=i686-pc-linux-gnu
1010
export CONTAINER_NAME=ci_i686_multiprocess
1111
export DOCKER_NAME_TAG=ubuntu:20.04
12-
export PACKAGES="cmake python3 python3-pip llvm clang g++-multilib"
12+
export PACKAGES="cmake python3 llvm clang g++-multilib"
1313
export DEP_OPTS="DEBUG=1 MULTIPROCESS=1"
1414
export GOAL="install"
1515
export BITCOIN_CONFIG="--enable-debug CC='clang -m32' CXX='clang++ -m32' LDFLAGS='--rtlib=compiler-rt -lgcc_s'"

ci/test/04_install.sh

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,6 @@ if [[ $QEMU_USER_CMD == qemu-s390* ]]; then
1010
export LC_ALL=C
1111
fi
1212

13-
if [ "$CI_OS_NAME" == "macos" ]; then
14-
sudo -H pip3 install --upgrade pip
15-
# shellcheck disable=SC2086
16-
IN_GETOPT_BIN="/usr/local/opt/gnu-getopt/bin/getopt" ${CI_RETRY_EXE} pip3 install --user $PIP_PACKAGES
17-
fi
18-
1913
# Create folders that are mounted into the docker
2014
mkdir -p "${CCACHE_DIR}"
2115
mkdir -p "${PREVIOUS_RELEASES_DIR}"
@@ -78,9 +72,16 @@ elif [ "$CI_USE_APT_INSTALL" != "no" ]; then
7872
fi
7973
${CI_RETRY_EXE} CI_EXEC apt-get update
8074
${CI_RETRY_EXE} CI_EXEC apt-get install --no-install-recommends --no-upgrade -y "$PACKAGES" "$DOCKER_PACKAGES"
81-
if [ -n "$PIP_PACKAGES" ]; then
75+
fi
76+
77+
if [ -n "$PIP_PACKAGES" ]; then
78+
if [ "$CI_OS_NAME" == "macos" ]; then
79+
sudo -H pip3 install --upgrade pip
80+
# shellcheck disable=SC2086
81+
IN_GETOPT_BIN="/usr/local/opt/gnu-getopt/bin/getopt" ${CI_RETRY_EXE} pip3 install --user $PIP_PACKAGES
82+
else
8283
# shellcheck disable=SC2086
83-
${CI_RETRY_EXE} pip3 install --user $PIP_PACKAGES
84+
${CI_RETRY_EXE} CI_EXEC pip3 install --user $PIP_PACKAGES
8485
fi
8586
fi
8687

0 commit comments

Comments
 (0)