File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -59,6 +59,9 @@ def get_cmake_generator(use_clang=True):
5959 parameters = ["-G" , "Visual Studio 15 2017 Win64" ]
6060 if use_clang :
6161 parameters += ["-T" , "LLVM-vs2014" ]
62+ elif sys .platform .startswith ("linux" ):
63+ # do ninja-build on linux for faster builds
64+ parameters = ["-G" , "Ninja" ]
6265
6366 return parameters
6467
Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ linux_initialize() {
3939 fi
4040
4141 printf " > Installing the required packages...\n"
42- sudo apt-get install -qqy python2.7 build-essential python3 python3-pip clang
42+ sudo apt-get install -qqy python2.7 build-essential python3 python3-pip clang ninja-build
4343 if [ $? -ne 0 ] ; then
4444 printf " x Could not install the required dependencies\n"
4545 return 1
You can’t perform that action at this time.
0 commit comments