fetchDependencies builds serially by default.
Building in parallel does not significantly improve performance, and makes it more difficult to integrate calling fetchDependencies from a larger build script, because of the need to trap and kill child processes on an error.
This commit is contained in:
parent
37fb85f1d7
commit
00f7535f32
@ -37,8 +37,11 @@
|
|||||||
# Build the external libraries in Debug mode, which may be useful when debugging
|
# Build the external libraries in Debug mode, which may be useful when debugging
|
||||||
# and tracing calls into those libraries.
|
# and tracing calls into those libraries.
|
||||||
#
|
#
|
||||||
|
# --parallel-build
|
||||||
|
# Build the external libraries in parallel using background processes.
|
||||||
|
#
|
||||||
# --no-parallel-build
|
# --no-parallel-build
|
||||||
# Build the external libraries serially instead of in parallel using background processes.
|
# Build the external libraries serially instead of in parallel. This is the default.
|
||||||
#
|
#
|
||||||
# --glslang-root path
|
# --glslang-root path
|
||||||
# "path" specifies a directory path to a KhronosGroup/glslang repository.
|
# "path" specifies a directory path to a KhronosGroup/glslang repository.
|
||||||
@ -79,7 +82,7 @@ BLD_MACOS=""
|
|||||||
BLD_SPECIFIED=""
|
BLD_SPECIFIED=""
|
||||||
XC_CONFIG="Release"
|
XC_CONFIG="Release"
|
||||||
XC_BUILD_VERBOSITY="-quiet"
|
XC_BUILD_VERBOSITY="-quiet"
|
||||||
XC_USE_BCKGND="Y"
|
XC_USE_BCKGND=""
|
||||||
V_HEADERS_ROOT=""
|
V_HEADERS_ROOT=""
|
||||||
SPIRV_CROSS_ROOT=""
|
SPIRV_CROSS_ROOT=""
|
||||||
GLSLANG_ROOT=""
|
GLSLANG_ROOT=""
|
||||||
@ -130,6 +133,10 @@ while (( "$#" )); do
|
|||||||
XC_CONFIG="Debug"
|
XC_CONFIG="Debug"
|
||||||
shift 1
|
shift 1
|
||||||
;;
|
;;
|
||||||
|
--parallel-build)
|
||||||
|
XC_USE_BCKGND="Y"
|
||||||
|
shift 1
|
||||||
|
;;
|
||||||
--no-parallel-build)
|
--no-parallel-build)
|
||||||
XC_USE_BCKGND=""
|
XC_USE_BCKGND=""
|
||||||
shift 1
|
shift 1
|
||||||
|
Loading…
x
Reference in New Issue
Block a user