Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 13 May 2022 18:40:48 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 263880] make clean, cleandir doesn't clean /usr/obj
Message-ID:  <bug-263880-227-HUXX2gn4bn@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-263880-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-263880-227@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D263880

--- Comment #3 from Jonathan Vasquez <jon@xyinn.org> ---
Since I reported this, I've discovered the "NO_CLEAN" option (-DNO_CLEAN) w=
hich
seems to answer my previous question regarding /usr/obj and speeding up the
builds as mentioned in the docs. I think the man page could use a little bi=
t of
clarification, and also the handbook. I'll submit a patch to the handbook f=
or:

https://docs.freebsd.org/en/books/handbook/cutting-edge/#makeworld (24.6.4.=
1.
Performing a Clean Build)

to note that the build system does an automatic cleaning at the start of ev=
ery
build unless this option is specific. Although I do also know that user may
need to be careful when rebuilding with artifacts in /usr/obj since I've
noticed in weird instances it could lead to some weirdness during runtime of
those newly compiled binaries (at least in other OSes, I'm not sure how muc=
h I
should worry about that in FreeBSD though.. especially if also using ccache=
).

https://forums.freebsd.org/threads/make-buildworld-speed-up-possibilities.7=
3127/

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-263880-227-HUXX2gn4bn>