From 00f7535f329fd7d1b68a65d3c2db7fbb6c2d1756 Mon Sep 17 00:00:00 2001 From: Bill Hollings Date: Wed, 23 Sep 2020 14:55:13 -0400 Subject: [PATCH 1/2] 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. --- fetchDependencies | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/fetchDependencies b/fetchDependencies index 28bd8d79..f34c0fcd 100755 --- a/fetchDependencies +++ b/fetchDependencies @@ -37,8 +37,11 @@ # Build the external libraries in Debug mode, which may be useful when debugging # and tracing calls into those libraries. # +# --parallel-build +# Build the external libraries in parallel using background processes. +# # --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 # "path" specifies a directory path to a KhronosGroup/glslang repository. @@ -79,7 +82,7 @@ BLD_MACOS="" BLD_SPECIFIED="" XC_CONFIG="Release" XC_BUILD_VERBOSITY="-quiet" -XC_USE_BCKGND="Y" +XC_USE_BCKGND="" V_HEADERS_ROOT="" SPIRV_CROSS_ROOT="" GLSLANG_ROOT="" @@ -130,6 +133,10 @@ while (( "$#" )); do XC_CONFIG="Debug" shift 1 ;; + --parallel-build) + XC_USE_BCKGND="Y" + shift 1 + ;; --no-parallel-build) XC_USE_BCKGND="" shift 1 From eb706ea40c346cd14731793c335ad70883812d14 Mon Sep 17 00:00:00 2001 From: Bill Hollings Date: Wed, 23 Sep 2020 15:04:52 -0400 Subject: [PATCH 2/2] Update What's New document. --- Docs/Whats_New.md | 1 + 1 file changed, 1 insertion(+) diff --git a/Docs/Whats_New.md b/Docs/Whats_New.md index 001246a7..57419d78 100644 --- a/Docs/Whats_New.md +++ b/Docs/Whats_New.md @@ -52,6 +52,7 @@ Released 2020/09/28 within each descriptor set. - `vkCmdCopyImage` on macOS flush non-coherent image memory before copy operation. - Re-add support for bitcode generation on *iOS* and *tvOS*. +- `fetchDependencies` builds serially by default for better build script integration. - Combine `MoltenVKSPIRVToMSLConverter` and `MoltenVKGLSLToSPIRVConverter` frameworks into a single `MoltenVKShaderConverter` framework. - Fix Metal validation error when occlusion query and renderpass are in separate