enable parallel builds with ninja on appveyor
This commit is contained in:
parent
afb5d842ff
commit
e3a4c9fffa
|
@ -288,7 +288,7 @@ script:
|
|||
export CXX=g++-5 &&
|
||||
export CC=gcc-5 &&
|
||||
cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_FLAGS="-Werror" -DCMAKE_CXX_STANDARD=11 -Dbuild_tests=ON -Dbuild_examples=ON -Dbuild_tools=ON -Dpython-bindings=ON -G Ninja .. &&
|
||||
cmake --build . -- -j2;
|
||||
cmake --build . --parallel 3;
|
||||
fi
|
||||
- cd ..
|
||||
|
||||
|
|
|
@ -93,7 +93,7 @@ build_script:
|
|||
- mkdir build && cd build
|
||||
- if defined cmake (
|
||||
cmake -DCMAKE_CXX_STANDARD=11 -Dbuild_tests=ON -Dbuild_examples=ON -Dbuild_tools=ON -Dpython-bindings=%python% -Dboost-python-module-name="python" -Dskip-python-runtime-test=true -DPython_ADDITIONAL_VERSIONS="2.7" -G "Visual Studio 15 2017 Win64" .. &&
|
||||
cmake --build . --config Release -- -verbosity:minimal
|
||||
cmake --build . --config Release --parallel %NUMBER_OF_PROCESSORS% -- -verbosity:minimal
|
||||
)
|
||||
|
||||
test_script:
|
||||
|
|
Loading…
Reference in New Issue