mirror of
https://gitea.wildfiregames.com/0ad/0ad
synced 2026-06-16 05:13:58 -07:00
Spidermonkey build: do not unpack unneeded test files
This change reduces the disk space requirement by 50%, from 1.1 GB down to 564 MB.
It is relevant when building 0AD in resource-constrained environments (e.g. in CI).
(cherry picked from commit 8bd0d0b84f)
Signed-off-by: phosit <phosit@autistici.org>
This commit is contained in:
parent
fb12d00c70
commit
72b56d9fe5
1 changed files with 8 additions and 2 deletions
|
|
@ -9,7 +9,7 @@ cd "$(dirname "$0")"
|
|||
PV=128.13.0
|
||||
FOLDER="mozjs-${PV}"
|
||||
# If same-version changes are needed, increment this.
|
||||
LIB_VERSION="${PV}+wfg3"
|
||||
LIB_VERSION="${PV}+wfg4"
|
||||
LIB_NAME="mozjs128"
|
||||
|
||||
build_archive()
|
||||
|
|
@ -69,7 +69,13 @@ fi
|
|||
|
||||
# unpack
|
||||
rm -Rf "${FOLDER}"
|
||||
"${TAR}" xfJ "${FOLDER}.tar.xz"
|
||||
"${TAR}" xfJ "${FOLDER}.tar.xz" \
|
||||
--exclude=js/src/tests/non262 \
|
||||
--exclude=js/src/tests/test262 \
|
||||
--exclude=js/src/jit-test \
|
||||
--exclude=python/mozperftest \
|
||||
--exclude=testing/web-platform \
|
||||
--exclude=third_party/rust/mp4parse/link-u-avif-sample-images
|
||||
|
||||
# patch
|
||||
(
|
||||
|
|
|
|||
Loading…
Reference in a new issue