mirror of https://github.com/google/oss-fuzz.git
[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:
parent
7101ec4d4b
commit
a392e2fd09
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue