Skip to content

Commit

Permalink
install-deps (Arch): use gcc-fortran-multilib if multilib
Browse files Browse the repository at this point in the history
  • Loading branch information
Rufflewind committed Sep 15, 2017
1 parent 9c2ef7f commit 84b2e0a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions install-deps
Original file line number Diff line number Diff line change
Expand Up @@ -288,12 +288,12 @@ elif [[ "$(uname)" == 'Linux' ]]; then
ipython qt4 qt5-webkit || exit 1
pacman -Sl multilib &>/dev/null
if [[ $? -ne 0 ]]; then
gcc_package="gcc"
multilib=
else
gcc_package="gcc-multilib"
multilib=-multilib
fi
sudo pacman -S --quiet --noconfirm --needed \
${gcc_package} gcc-fortran || exit 1
gcc${multilib} gcc-fortran${multilib} || exit 1
# if openblas is not installed yet
pacman -Qs openblas &> /dev/null
if [[ $? -ne 0 ]]; then
Expand Down

0 comments on commit 84b2e0a

Please sign in to comment.