From a392e2fd091fd95bb23399e21c6afd4515049e44 Mon Sep 17 00:00:00 2001 From: bungeman Date: Fri, 12 Jun 2020 17:43:58 -0400 Subject: [PATCH] [skia] Build SwiftShader with Ninja. (#3979) Ninja monitors the load and not just the number of processes, so can hopefully build faster without overloading. --- projects/skia/build.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/projects/skia/build.sh b/projects/skia/build.sh index 3e78b0445..2cc4b61e9 100644 --- a/projects/skia/build.sh +++ b/projects/skia/build.sh @@ -39,10 +39,10 @@ else else exit 1 fi - CFLAGS= CXXFLAGS="-stdlib=libc++" cmake .. -D$CMAKE_SANITIZER=1 + CFLAGS= CXXFLAGS="-stdlib=libc++" cmake .. -GNinja -DCMAKE_MAKE_PROGRAM="$SRC/depot_tools/ninja" -D$CMAKE_SANITIZER=1 fi -make -j14 libGLESv2 libEGL +$SRC/depot_tools/ninja libGLESv2 libEGL cp libGLESv2.so libEGL.so $OUT export SWIFTSHADER_LIB_PATH=$OUT