[build] chmod +x scripts + only upgrade gcc on ubuntu precise (12.04)

This commit is contained in:
Dane Springmeyer
2014-05-29 10:46:32 -07:00
parent e0df8c5a19
commit e0dacd465b
2 changed files with 6 additions and 4 deletions

8
scripts/install_build_deps_linux.sh Normal file → Executable file
View File

@@ -1,7 +1,9 @@
#!/usr/bin/env bash
sudo add-apt-repository --yes ppa:ubuntu-toolchain-r/test
sudo apt-get update -qq
if [[ `lsb_release -r` =~ "12.04" ]]; then
sudo add-apt-repository --yes ppa:ubuntu-toolchain-r/test
fi
sudo apt-get update -y
sudo apt-get -y install gcc-4.8 g++-4.8
sudo apt-get -y install pkg-config nodejs cmake automake libtool xutils-dev
sudo apt-get -y install pkg-config nodejs cmake automake libtool xutils-dev git
sudo apt-get -y install libxi-dev libglu1-mesa-dev x11proto-randr-dev x11proto-xext-dev libxrandr-dev x11proto-xf86vidmode-dev libxxf86vm-dev libxcursor-dev

2
scripts/install_build_deps_osx.sh Normal file → Executable file
View File

@@ -1,3 +1,3 @@
#!/usr/bin/env bash
brew install autoconf automake libtool makedepend cmake pkg-config node
brew install autoconf automake libtool makedepend cmake pkg-config node git