File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed
Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -43,6 +43,12 @@ git checkout-index --all --prefix="$SOLDIR"
4343# shellcheck disable=SC2016
4444SOLDIR=" $SOLDIR " git submodule foreach ' git checkout-index --all --prefix="${SOLDIR}/${sm_path}/"'
4545
46+ # Documentation is pretty heavy and not necessary to build the compiler.
47+ # Especially nlohmann-json has several huge images, which blow up the size of the compressed tarball.
48+ # shellcheck disable=SC2016
49+ SOLDIR=" $SOLDIR " git submodule foreach ' rm -rf "${SOLDIR}/${sm_path}/"doc/'
50+ SOLDIR=" $SOLDIR " git submodule foreach ' rm -rf "${SOLDIR}/${sm_path}/"docs/'
51+
4652# Include the commit hash and prerelease suffix in the tarball
4753echo " $commit_hash " > " ${SOLDIR} /commit_hash.txt"
4854[[ -e prerelease.txt ]] && cp prerelease.txt " ${SOLDIR} /"
You can’t perform that action at this time.
0 commit comments