Make generally runs from the .OBJDIR, so using relative paths improves
namecache lookups.
This can be disabled in /etc/src-env.conf with:
RELOBJTOP= ${OBJTOP}
RELSRCTOP= ${SRCTOP}Sponsored by: Dell EMC Isilon
This uses RELOBJTOP added in rS325190
Differential D12839
Use relative object directories where possible. Authored by bdrewery on Oct 31 2017, 12:16 AM. Tags None Referenced Files
Subscribers
Details Make generally runs from the .OBJDIR, so using relative paths improves This can be disabled in /etc/src-env.conf with: RELOBJTOP= ${OBJTOP}
RELSRCTOP= ${SRCTOP}Sponsored by: Dell EMC Isilon This uses RELOBJTOP added in rS325190 Ran buildworld, installworld, buildkernel, installkernel, DIRDEPS_BUILD
Diff Detail
Event TimelineComment Actions I'm fine with this change. It's pretty straightforward.
Comment Actions Hmm, I rather liked the absolute paths that ${.OBJDIR} and ${OBJTOP} introduced. I find relative path output during builds a bit obfuscating. How much performance gain does this change deliver, in exchange for more obscurity? Comment Actions I can do some measurements. I could compromise and only enable this for META_MODE since it records all files that are touched and the CWD in the meta file. That makes debugging feasible. | ||||||||||||||||||||||||||||||||||||||||||||