- Add --keep-cache option to control whether or not to retain the External/build/Intermediates directory (default not retained). - Export KEEP_CACHE & SKIP_PACKAGING to be available within scripts used by ExternalDependencies Xcode builds. - Move BLD_SPECIFIED to build() instead of build_impl() to avoid updating it from background thread (which will fail). - Update MoltenVK version to 1.2.7 (unrelated). - Add CompilerMSL::Options::replace_recursive_inputs to pipeline cache (unrelated). - Update GitHub CI to Xcode 15.0. - Update Whats_new.md document.
21 lines
571 B
Bash
Executable File
21 lines
571 B
Bash
Executable File
#!/bin/bash
|
|
|
|
if [ "${SKIP_PACKAGING}" = "Y" ]; then exit 0; fi
|
|
|
|
set -e
|
|
|
|
export MVK_EXT_LIB_DST_PATH="${PROJECT_DIR}/External/build/"
|
|
|
|
# Assign symlink to Latest
|
|
ln -sfn "${CONFIGURATION}" "${MVK_EXT_LIB_DST_PATH}/Latest"
|
|
|
|
# Remove the large Intermediates directory if no longer needed
|
|
if [ "${KEEP_CACHE}" != "Y" ]; then
|
|
echo Removing Intermediates library at "${MVK_EXT_LIB_DST_PATH}/Intermediates"
|
|
rm -rf "${MVK_EXT_LIB_DST_PATH}/Intermediates"
|
|
fi
|
|
|
|
# Clean MoltenVK to ensure the next MoltenVK build will use the latest external library versions.
|
|
make --quiet clean
|
|
|