mirror of
https://github.com/blender/blender
synced 2026-09-29 04:37:17 +03:00
install_deps: Avoid conflicts on Arch-based systems when gcc-multilib is installed
install_deps can fail due to conflict between gcc (referenced by base-devel) and gcc-multilib if the latter is installed. This avoids the conflict by filtering the contents of base-devel when needed. Reviewers: mont29 Differential Revision: https://developer.blender.org/D1944
This commit is contained in:
parent
3c85e1ca1a
commit
b72aef92c4
1 changed files with 9 additions and 1 deletions
|
|
@ -3342,7 +3342,15 @@ install_ARCH() {
|
|||
OGG_DEV="libogg"
|
||||
THEORA_DEV="libtheora"
|
||||
|
||||
_packages="base-devel git cmake \
|
||||
BASE_DEVEL="base-devel"
|
||||
|
||||
# Avoid conflicts when gcc-multilib is installed
|
||||
pacman -Qi gcc-multilib &>/dev/null
|
||||
if [ $? -eq 0 ]; then
|
||||
BASE_DEVEL=`pacman -Sgq base-devel | sed -e 's/^gcc$/gcc-multilib/g' | paste -s -d' '`
|
||||
fi
|
||||
|
||||
_packages="$BASE_DEVEL git cmake \
|
||||
libxi libxcursor libxrandr libxinerama glew libpng libtiff wget openal \
|
||||
$OPENJPEG_DEV $VORBIS_DEV $OGG_DEV $THEORA_DEV yasm sdl fftw intel-tbb \
|
||||
libxml2 yaml-cpp tinyxml python-requests jemalloc"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue