Thread (1 message) 1 message, 1 author, 2021-09-24

Re: [PATCH v2] Makefile: make the "sparse" target non-.PHONY

From: Junio C Hamano <hidden>
Date: 2021-09-24 19:37:54

Ævar Arnfjörð Bjarmason [off-list ref] writes:
Would you be OK with just running something like this instead?:

    make -j $(nproc) objects CC=cgcc CFLAGS="-no-compile -Wsparse-error -Wno-pointer-arith -Wno-memcpy-max-count"
Counting both machine and human time cost, I'd rather go with "make
foo.sp", even if it is much slower than before, than having to type
that, or having remember to run a custom script that encapsulates
the above, which is something different from just typing "make".

Of course, I'd be happier if "make sparse" did dependencies right
*and* did not involve real compilation, but if that is beyond our
capability, then so be it --- I do not that deeply care ;-)

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help