tools/ci: ensure removing python and openssl related commands
Signed-off-by: Petro Karashchenko <petro.karashchenko@gmail.com>
This commit is contained in:
parent
f9d4a47889
commit
03614d60ee
1 changed files with 8 additions and 1 deletions
|
@ -448,7 +448,6 @@ function u-boot-tools {
|
|||
if ! type mkimage &> /dev/null; then
|
||||
case ${os} in
|
||||
Darwin)
|
||||
rm -f /usr/local/bin/openssl
|
||||
brew install u-boot-tools
|
||||
;;
|
||||
Linux)
|
||||
|
@ -563,6 +562,14 @@ case ${os} in
|
|||
install="arm-gcc-toolchain arm64-gcc-toolchain avr-gcc-toolchain binutils bloaty elf-toolchain gen-romfs gperf kconfig-frontends mips-gcc-toolchain python-tools riscv-gcc-toolchain rust xtensa-esp32-gcc-toolchain u-boot-tools wasi-sdk c-cache"
|
||||
mkdir -p "${tools}"/homebrew
|
||||
export HOMEBREW_CACHE=${tools}/homebrew
|
||||
# https://github.com/apache/arrow/issues/15025
|
||||
rm -f /usr/local/bin/2to3* || :
|
||||
rm -f /usr/local/bin/idle3* || :
|
||||
rm -f /usr/local/bin/pydoc3* || :
|
||||
rm -f /usr/local/bin/python3* || :
|
||||
rm -f /usr/local/bin/python3-config || :
|
||||
# same for openssl
|
||||
rm -f /usr/local/bin/openssl || :
|
||||
;;
|
||||
Linux)
|
||||
install="arm-clang-toolchain arm-gcc-toolchain arm64-gcc-toolchain avr-gcc-toolchain binutils bloaty clang-tidy gen-romfs gperf kconfig-frontends mips-gcc-toolchain python-tools riscv-gcc-toolchain rust rx-gcc-toolchain sparc-gcc-toolchain xtensa-esp32-gcc-toolchain u-boot-tools wasi-sdk c-cache"
|
||||
|
|
Loading…
Reference in a new issue