Commit 2528e684 authored by Ben Gamari's avatar Ben Gamari 🐢 Committed by Marge Bot

driver: Include debug level in the recompilation check hash

Fixes #17586.
parent d03dec8f
Pipeline #14095 passed with stages
in 468 minutes and 56 seconds
......@@ -61,7 +61,7 @@ fingerprintDynFlags dflags@DynFlags{..} this_mod nameio =
ticky =
map (`gopt` dflags) [Opt_Ticky, Opt_Ticky_Allocd, Opt_Ticky_LNE, Opt_Ticky_Dyn_Thunk]
flags = (mainis, safeHs, lang, cpp, paths, prof, ticky)
flags = ((mainis, safeHs, lang, cpp), (paths, prof, ticky, debugLevel))
in -- pprTrace "flags" (ppr flags) $
computeFingerprint nameio flags
include $(TOP)/mk/
include $(TOP)/mk/
"$(TEST_HC)" $(TEST_HC_OPTS) -o T17586 ./T17586.hs
"$(TEST_HC)" $(TEST_HC_OPTS) -o T17586 ./T17586.hs -g3
main :: IO ()
main = putStrLn "hello world"
[1 of 1] Compiling Main ( T17586.hs, T17586.o )
Linking T17586 ...
hello world
[1 of 1] Compiling Main ( T17586.hs, T17586.o ) [flags changed]
Linking T17586 ...
hello world
test('T17586', normal, makefile_test, [])
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment