Hi all,
I have built world and kernel before and I know how time consuming it can get. So I want to know if the following two solutions can help speed it up safely by cutting on the amount of I/O taking place.
1. I thought of reducing the hard disk access by setting MAKEOBJDIRPREFIX to /tmp (provided it is a TMPFS). I have 4G of ram, so I think it is enough. Is this safe, or can it lead to it not being built correctly?
2. I know that make(1) rebuilds a target only if its dependencies are older than the target itself. So what about not making cleanworld after installing (provided I have enough space), and when I update the source (cvsup), the next make buildworld will rebuilt only the outdated binaries. However, the FreeBSD manual states that not making clean can lead to problems when updating (it does not get too specific).
So, should I put these methods into practice or not?
Thanks in advance.
I have built world and kernel before and I know how time consuming it can get. So I want to know if the following two solutions can help speed it up safely by cutting on the amount of I/O taking place.
1. I thought of reducing the hard disk access by setting MAKEOBJDIRPREFIX to /tmp (provided it is a TMPFS). I have 4G of ram, so I think it is enough. Is this safe, or can it lead to it not being built correctly?
2. I know that make(1) rebuilds a target only if its dependencies are older than the target itself. So what about not making cleanworld after installing (provided I have enough space), and when I update the source (cvsup), the next make buildworld will rebuilt only the outdated binaries. However, the FreeBSD manual states that not making clean can lead to problems when updating (it does not get too specific).
So, should I put these methods into practice or not?
Thanks in advance.