Message ID | 1570224076-122697-1-git-send-email-u9012063@gmail.com |
---|---|
State | Accepted |
Delegated to: | Ilya Maximets |
Headers | show |
Series | [ovs-dev,1/2] travis: Fix 32-bit libunwind system build. | expand |
diff --git a/.travis/linux-prepare.sh b/.travis/linux-prepare.sh index 70fd98f715ed..e546d32cb7df 100755 --- a/.travis/linux-prepare.sh +++ b/.travis/linux-prepare.sh @@ -14,3 +14,9 @@ cd .. pip install --disable-pip-version-check --user six flake8 hacking pip install --user --upgrade docutils + +if [ "$M32" ]; then + # 32-bit and 64-bit libunwind can not be installed at the same time. + # This will remove the 64-bit libunwind and install 32-bit version. + sudo apt-get install -y libunwind-dev:i386 +fi