[skia] Build SwiftShader with Ninja. (#3979)

Ninja monitors the load and not just the number of processes, so can
hopefully build faster without overloading.
This commit is contained in:
bungeman 2020-06-12 17:43:58 -04:00 committed by GitHub
parent 7101ec4d4b
commit a392e2fd09
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -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