Hadrian doesn't track included files (via CPP).
Hadrian doesn't track included files (via CPP). I've noticed this:
- with
primops.txt.pp
which now includesbytearray-ops.txt.pp
. If we modify the latter, it won't trigger recompilation. with *.hs-incl files used to include haskell code generated by genprimopcode
For 1, we could probably use CPP's -MD
flag to generate a dependency file.
For 2, it's already taken care of (I've found this while writing this ticket). We need to bootstrap with a GHC >= 8.9.0 in order for -include-cpp-deps
to be used (cf 69c58f8a). Note that !4548 (closed) will help too.