2020-12-26 14:14:24 +01:00
|
|
|
#!/bin/bash -e
|
|
|
|
set -e
|
|
|
|
|
2020-12-26 14:35:09 +01:00
|
|
|
if [[ "$OPERATING_SYSTEM_NAME" == "linux" ]]; then
|
2020-12-26 15:56:33 +01:00
|
|
|
echo "==Linux===="
|
2021-06-22 16:25:59 +02:00
|
|
|
sudo apt-get update
|
2021-09-14 15:03:15 +02:00
|
|
|
sudo apt-get install -y make gperf \
|
|
|
|
ccache python3 python3-pip php-cli \
|
2021-09-11 12:27:22 +02:00
|
|
|
build-essential gcc-multilib g++-multilib
|
2021-03-16 13:09:45 +01:00
|
|
|
|
2020-12-26 14:35:09 +01:00
|
|
|
elif [[ "$OPERATING_SYSTEM_NAME" == "osx" ]]; then
|
2020-12-26 15:56:33 +01:00
|
|
|
echo "==OSX======"
|
2023-04-26 17:15:47 +02:00
|
|
|
brew update
|
2023-04-26 17:08:10 +02:00
|
|
|
brew install gperf cmake openssl coreutils
|
2023-04-26 16:42:09 +02:00
|
|
|
brew install openjdk
|
2023-04-26 17:15:47 +02:00
|
|
|
brew install freetype gd libtiff
|
2020-12-26 14:35:09 +01:00
|
|
|
elif [[ "$OPERATING_SYSTEM_NAME" == "windows" ]]; then
|
2020-12-26 15:56:33 +01:00
|
|
|
echo "==Windows=="
|
2021-09-14 15:03:15 +02:00
|
|
|
#choco install visualstudio2019buildtools --version=16.10.4.0 --allow-downgrade --package-parameters "--passive"
|
|
|
|
#choco install visualstudio2019-workload-vctools
|
2020-12-26 15:56:33 +01:00
|
|
|
choco install base64
|
2021-09-14 01:55:55 +02:00
|
|
|
choco install gperf
|
2020-12-26 15:56:33 +01:00
|
|
|
choco install strawberryperl
|
2020-12-26 14:14:24 +01:00
|
|
|
else
|
2020-12-26 15:56:33 +01:00
|
|
|
echo "Unrecognized os: $OPERATING_SYSTEM_NAME"
|
|
|
|
exit 1
|
2020-12-26 14:14:24 +01:00
|
|
|
fi
|
2021-09-14 02:13:12 +02:00
|
|
|
|
|
|
|
cd ./scripts/core/
|
|
|
|
./install-dependencies.sh
|
|
|
|
cd ../../
|