Skip to content

WIP: Force recompilation based on file checksum

Breno Leitao requested to merge leitao/ghc:up into master

This patch adds a new compilation parameter that checks for the source code checksum and compare it with the previous interface. If they are the same, does not recompile, even if the source code timestamp changed.

In order to do so, a new interface field was added, which contains the checksum (aka Fingerprint) of the source code(s).

This new parameter is called "hash-recomp"

Fixes #16495 (closed).

PS: This is not a MR for merge, but for initial review.

Edited by Ben Gamari

Merge request reports