Space required for build

Yuri Pankov yuripv at yuripv.net
Fri Oct 5 10:59:04 UTC 2018


Thomas Mueller wrote:
>> Hello!
>          
>> I have been running short of space when building from source lately.
>          
>> There is 12 GB available in /usr for src and obj , but this doesn't seem
>> enough. Is this too little, or is there anything else wrong with my system?
>          
>> Regards,
>          
>> Per Gunnarsson
> 
> 
> You can use a separate partition or directory, or even a different hard disk with UFS (or ZFS?) partition.
> 
> You would need to set environment variable MAKEOBJDIRPREFIX or use null mount.

And to answer the original question, that's what I have after a build of 
HEAD:

$ du -sh /usr/{obj,src}
5.5G    /usr/obj
1.3G    /usr/src


More information about the freebsd-questions mailing list