Commit b9335968 by Ben Clayton

tasks.json: Switch to using ninja for builds.

Much quicker at incremental builds. Also print when the build has finished. Change-Id: I3bd74ddb501b4a2584fc2cbd9bd85b250ce117be Reviewed-on: https://swiftshader-review.googlesource.com/c/SwiftShader/+/31834Reviewed-by: 's avatarAntonio Maiorano <amaiorano@google.com> Reviewed-by: 's avatarNicolas Capens <nicolascapens@google.com> Tested-by: 's avatarBen Clayton <bclayton@google.com> Kokoro-Presubmit: kokoro <noreply+kokoro@google.com>
parent f60a2d59
...@@ -21,19 +21,19 @@ ...@@ -21,19 +21,19 @@
"osx": { "osx": {
"args": [ "args": [
"-c", "-c",
"make -j$(sysctl -n hw.logicalcpu)" "cmake --build . && echo Done"
] ]
}, },
"linux": { "linux": {
"args": [ "args": [
"-c", "-c",
"make -j$(nproc)" "cmake --build . && echo Done"
] ]
}, },
"windows": { "windows": {
"args": [ "args": [
"-c", "-c",
"make" "cmake --build . && echo Done"
] ]
}, },
"options": { "options": {
...@@ -66,6 +66,7 @@ ...@@ -66,6 +66,7 @@
"command": "cmake", "command": "cmake",
"args": [ "args": [
"..", "..",
"-GNinja",
"-DCMAKE_BUILD_TYPE=${input:buildType}", "-DCMAKE_BUILD_TYPE=${input:buildType}",
"-DWARNINGS_AS_ERRORS=1", "-DWARNINGS_AS_ERRORS=1",
"-DDCHECK_ALWAYS_ON=1" "-DDCHECK_ALWAYS_ON=1"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment