Re: git: 4dbc7835cdfc - main - mips: Turn off LLVM MIPS targets by default
- In reply to: Ed Maste : "Re: git: 4dbc7835cdfc - main - mips: Turn off LLVM MIPS targets by default"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 14 Dec 2021 18:55:20 UTC
On Tue, Dec 14, 2021 at 11:43 AM Ed Maste <emaste@freebsd.org> wrote: > On Tue, 14 Dec 2021 at 13:27, John Baldwin <jhb@freebsd.org> wrote: > > > > This breaks NO_CLEAN=yes builds in I think a lot of object files. > > ... > > Perhaps we should be generating those header files in OBJDIR (and use a > move-if-changed > > scheme to avoid bumping the date if the contents haven't changed) so > that make can handle > > these changes? > > Seems reasonable if that change is straightforward, but we could also > just add a special case in tools/build/depend-cleanup.sh to handle > this. depend-cleanup can be fairly liberal, e.g. delete *.def. > Yea, we have no good way to prevent breakage for things like this short of moving the changing data into a file so dependencies can be tracked. I'm agnostic on the method. I'm also not sure I know of a good way to fix this short of doing a make clean if any of the mips .o files are present. In removing mips, I'm generally uninterested in making sure no clean works over that event because it is a one-shot. But am happy to work with others that are interested to mitigate the damage. Warner