mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-16 13:01:19 +02:00
Merge ElementsProject/elements#1543: Use --break-system-packages for macos CI
72e4e1cf21use break-system-packages for pip (Tom Trevethan) Pull request description: Add --break-system-packages to PIP_PACKAGES in macos CI, to allow for macos-runner images to update homebrew packages. ACKs for top commit: delta1: ACK72e4e1cf21; fixes macos ci task Tree-SHA512: 27dc712309940afde1d21c9f465c244eb49d0d1bb8bbf2faba3bf64d00a63f975943825019cd45f1c32e462ab6b5d74490cb0876aeb5e6397da20e668fff2823
This commit is contained in:
commit
75499e79e8
2 changed files with 4 additions and 2 deletions
|
|
@ -7,7 +7,9 @@
|
|||
export LC_ALL=C.UTF-8
|
||||
|
||||
export HOST=arm64-apple-darwin
|
||||
export PIP_PACKAGES="zmq"
|
||||
# Homebrew's python@3.12 is marked as externally managed (PEP 668).
|
||||
# Therefore, `--break-system-packages` is needed.
|
||||
export PIP_PACKAGES="--break-system-packages zmq"
|
||||
export GOAL="install"
|
||||
# ELEMENTS: add -fno-stack-check to work around clang bug on macos
|
||||
export BITCOIN_CONFIG="--with-gui --with-miniupnpc --with-natpmp --enable-reduce-exports CXXFLAGS=-fno-stack-check"
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@ if [[ $QEMU_USER_CMD == qemu-s390* ]]; then
|
|||
fi
|
||||
|
||||
if [ "$CI_OS_NAME" == "macos" ]; then
|
||||
sudo -H pip3 install --upgrade --ignore-installed pip
|
||||
sudo -H pip3 install --upgrade --break-system-packages --ignore-installed pip
|
||||
# shellcheck disable=SC2086
|
||||
IN_GETOPT_BIN="$(brew --prefix gnu-getopt)/bin/getopt" ${CI_RETRY_EXE} pip3 install --user $PIP_PACKAGES
|
||||
fi
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue