mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-01 14:11:15 +00:00
create-subprojects-cache: Remove git gc call
The repos on github/gitlab are mostly pruned when we clone them now, so we can remove the manual gc and make the build faster. Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5629>
This commit is contained in:
parent
abda8d362a
commit
7e6cb3e15f
1 changed files with 0 additions and 6 deletions
|
@ -8,11 +8,5 @@ git -C /gstreamer submodule update --init --depth=1
|
||||||
meson subprojects download --sourcedir /gstreamer
|
meson subprojects download --sourcedir /gstreamer
|
||||||
./ci/scripts/handle-subprojects-cache.py --build --cache-dir /subprojects /gstreamer/subprojects/
|
./ci/scripts/handle-subprojects-cache.py --build --cache-dir /subprojects /gstreamer/subprojects/
|
||||||
|
|
||||||
# Run git gc to prune unwanted refs and reduce the size of the image
|
|
||||||
for i in $(find /subprojects/ -mindepth 1 -maxdepth 1 -type d);
|
|
||||||
do
|
|
||||||
git -C $i gc --aggressive || true;
|
|
||||||
done
|
|
||||||
|
|
||||||
# Now remove the gstreamer clone
|
# Now remove the gstreamer clone
|
||||||
rm -rf /gstreamer
|
rm -rf /gstreamer
|
||||||
|
|
Loading…
Reference in a new issue