forked from KhronosGroup/MoltenVK
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request KhronosGroup#2047 from billhollings/reduce-deps-di…
…sk-space Reduce disk space consumed after running fetchDependencies.
- Loading branch information
Showing
8 changed files
with
42 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,20 @@ | ||
#!/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 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters