[build] chmod +x scripts + only upgrade gcc on ubuntu precise (12.04)
This commit is contained in:
8
scripts/install_build_deps_linux.sh
Normal file → Executable file
8
scripts/install_build_deps_linux.sh
Normal file → Executable 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
2
scripts/install_build_deps_osx.sh
Normal file → Executable 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
|
||||
Reference in New Issue
Block a user