[GHC] #13269: Changes in includes of `addCStub` do not cause recompilation of downstream modules.

#13269: Changes in includes of `addCStub` do not cause recompilation of downstream
modules.
-------------------------------------+-------------------------------------
Reporter: | Owner:
facundo.dominguez |
Type: bug | Status: new
Priority: normal | Milestone:
Component: Template | Version: 8.0.1
Haskell |
Keywords: inline-c | Operating System: Unknown/Multiple
addCStub |
Architecture: | Type of failure: None/Unknown
Unknown/Multiple |
Test Case: | Blocked By:
Blocking: | Related Tickets: 13237
Differential Rev(s): | Wiki Page:
-------------------------------------+-------------------------------------
Failing example:
{{{
// header.h
#include

#13269: Changes in includes of addCStub do not cause recompilation of downstream
modules.
-------------------------------------+-------------------------------------
Reporter: | Owner:
facundo.dominguez |
Type: bug | Status: new
Priority: normal | Milestone:
Component: Template Haskell | Version: 8.0.1
Resolution: | Keywords: inline-c
| addCStub
Operating System: Unknown/Multiple | Architecture:
| Unknown/Multiple
Type of failure: None/Unknown | Test Case:
Blocked By: | Blocking:
Related Tickets: 13237 | Differential Rev(s):
Wiki Page: |
-------------------------------------+-------------------------------------
Description changed by facundo.dominguez:
@@ -63,1 +63,1 @@
- Recompiling we can see that `B.hs` is not rebuilt. And executing the
+ Recompiling we can see that `B.hs` is not rebuilt and executing the
New description:
Failing example:
{{{
// header.h
#include

#13269: Changes in includes of addCStub do not cause recompilation of downstream modules. -------------------------------------+------------------------------------- Reporter: | Owner: facundo.dominguez | Type: bug | Status: new Priority: normal | Milestone: Component: Template Haskell | Version: 8.0.1 Resolution: | Keywords: inline-c | addCStub Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: #13237 | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Changes (by facundo.dominguez): * related: 13237 => #13237 -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/13269#comment:2 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#13269: Changes in includes of addCStub do not cause recompilation of downstream
modules.
-------------------------------------+-------------------------------------
Reporter: | Owner:
facundo.dominguez |
Type: bug | Status: new
Priority: normal | Milestone:
Component: Template Haskell | Version: 8.0.1
Resolution: | Keywords: inline-c
| addCStub addDependentFile
Operating System: Unknown/Multiple | Architecture:
| Unknown/Multiple
Type of failure: None/Unknown | Test Case:
Blocked By: | Blocking:
Related Tickets: #13237 | Differential Rev(s):
Wiki Page: |
-------------------------------------+-------------------------------------
Changes (by facundo.dominguez):
* keywords: inline-c addCStub => inline-c addCStub addDependentFile
@@ -3,1 +3,1 @@
- // header.h
+ // f.c
@@ -23,2 +23,2 @@
- do addCStub "#include \"header.h\""
- addDependentFile "header.h"
+ do addCStub "#include \"f.c\""
+ addDependentFile "f.c"
@@ -52,1 +52,1 @@
- Edit `header.h`:
+ Edit `f.c`:
@@ -54,1 +54,1 @@
- // header.h
+ // f.c
@@ -67,1 +67,1 @@
- [1 of 2] Compiling A ( A.hs, A.o ) [header.h changed]
+ [1 of 2] Compiling A ( A.hs, A.o ) [f.c changed]
New description:
Failing example:
{{{
// f.c
#include

#13269: Changes in foreign code used in TH do not trigger recompilation -------------------------------------+------------------------------------- Reporter: Facundo | Owner: (none) DomÃnguez | Type: bug | Status: new Priority: normal | Milestone: Component: Template Haskell | Version: 8.0.1 Resolution: | Keywords: inline-c | addCStub addDependentFile Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: #13237 | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/13269#comment:4 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler
participants (1)
-
GHC