Skip to content

Hadrian doesn't track included files (via CPP).

Hadrian doesn't track included files (via CPP). I've noticed this:

  1. with primops.txt.pp which now includes bytearray-ops.txt.pp. If we modify the latter, it won't trigger recompilation.
  2. 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.

Edited by Sylvain Henry
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information