Stream: t-compiler/help

Topic: disk usage


Samrat Man Singh (Apr 16 2020 at 14:57, on Zulip):

Is there anything folks here do to minimize disk usage while developing? Or clean out old cached builds? I have a smallish SSD(256GB) and I'm constantly running out of space.

eddyb (Apr 16 2020 at 15:01, on Zulip):

find build/x86_64-unknown-linux-gnu/stage*-* -type f -mtime +30 -delete might be useful

eddyb (Apr 16 2020 at 15:01, on Zulip):

(30 there is in days. it deletes files older than a month)

eddyb (Apr 16 2020 at 15:01, on Zulip):

also make sure you're not building stage2

eddyb (Apr 16 2020 at 15:03, on Zulip):

so when testing, you should run ./x.py test --stage 1 src/test/ui for example

Last update: Jan 22 2021 at 13:30UTC