redict/deps/jemalloc/scripts/linux/before_install.sh
2023-05-01 15:38:08 +03:00

14 lines
284 B
Bash

#!/bin/bash
set -ev
if [[ "$TRAVIS_OS_NAME" != "linux" ]]; then
echo "Incorrect \$TRAVIS_OS_NAME: expected linux, got $TRAVIS_OS_NAME"
exit 1
fi
if [[ "$CROSS_COMPILE_32BIT" == "yes" ]]; then
sudo apt-get update
sudo apt-get -y install gcc-multilib g++-multilib
fi