(I'm poking at this as part of the Hasura collaboration, hoping to experiment with frontends)
I've built the referenced ghc branch, but when i try to do:
cabal build all -w $(readlink -f ../ghc-for-ghc-debug/inplace/bin/ghc-stage2)
I'm getting a lot of errors like:
cbits/stub.cpp:76:46: error:
error: ‘Task’ has not been declared
void stopAllCapabilities (Capability **pCap, Task *task);
^~~~
|
76 | void stopAllCapabilities (Capability **pCap, Task *task);
| ^
cbits/stub.cpp:77:58: error:
error: ‘Task’ has not been declared
void releaseAllCapabilities(uint32_t n, Capability *cap, Task *task);
^~~~
|
77 | void releaseAllCapabilities(uint32_t n, Capability *cap, Task *task);
| ^
cbits/stub.cpp:176:8: error:
error: ‘RtsPaused’ does not name a type
static RtsPaused r_paused;
^~~~~~~~~
|
176 | static RtsPaused r_paused;
| ^
cbits/stub.cpp: In function ‘void pause_mutator()’:
cbits/stub.cpp:183:3: error:
error: ‘r_paused’ was not declared in this scope
r_paused = rts_pause();
^~~~~~~~
|
183 | r_paused = rts_pause();
| ^
I tried fiddling with include dirs but wasn't making much progress.
(I'm poking at this as part of the Hasura collaboration, hoping to experiment with frontends)
I've built the referenced ghc branch, but when i try to do:
I'm getting a lot of errors like:
I tried fiddling with include dirs but wasn't making much progress.