aboutsummaryrefslogtreecommitdiff
path: root/robher-aosp.yaml
diff options
context:
space:
mode:
authorVishal Bhoj <vishal.bhoj@linaro.org>2017-09-11 15:48:50 +0530
committerRob Herring <rob.herring@linaro.org>2017-10-24 19:14:59 +0000
commit18e027f55909868a876695bb69b0889a8c92b65d (patch)
tree2371979cd3559da1fedc57c798aa449f0a8dd0fd /robher-aosp.yaml
parent9fb67a45b0ac6bc53c036e0fa98516090b951454 (diff)
robher: delete sources after build to save space
Change-Id: I00f2352bffac13ceb0ebf18769929d9b566e9108 Signed-off-by: Vishal Bhoj <vishal.bhoj@linaro.org>
Diffstat (limited to 'robher-aosp.yaml')
-rw-r--r--robher-aosp.yaml3
1 files changed, 3 insertions, 0 deletions
diff --git a/robher-aosp.yaml b/robher-aosp.yaml
index 9bc7d68c..5878857c 100644
--- a/robher-aosp.yaml
+++ b/robher-aosp.yaml
@@ -101,6 +101,9 @@
lunch linaro_x86_64-userdebug
make -k -j"$(nproc)" gallium_dri i915_dri i965_dri libGLES_mesa || { true; failed=1; }
+ # Delete sources after build to save space
+ rm -rf art/ dalvik/ kernel/ bionic/ developers/ libcore/ sdk/ bootable/ development/ libnativehelper/ system/ build/ device/ test/ build-info/ docs/ packages/ toolchain/ .ccache/ external/ pdk/ tools/ compatibility/ frameworks/ platform_testing/ vendor/ cts/ hardware/ prebuilts/ linaro*
+
###### Don't care about artifacts for now ######
echo "Build for mesa rev ${rev} finished - ret ${failed}"
exit ${failed}