Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Haskell build system misses some changes #45

Closed
EliasC opened this issue Jan 20, 2015 · 3 comments
Closed

Haskell build system misses some changes #45

EliasC opened this issue Jan 20, 2015 · 3 comments

Comments

@EliasC
Copy link
Contributor

EliasC commented Jan 20, 2015

Changes made to src/back/CodeGen/Program.hs were not caught by the build system and I had to make clean in order to make it pass. It might have been a hiccup of some sort, but I thought I should submit this as a heads up.

@kaeluka
Copy link
Contributor

kaeluka commented Jan 20, 2015

(I noticed you had given the path src/CodeGen/Program.hs, this file doesn't exist. I edited your report. Does this happen to explain the 'bug' you're seeing?)

I can not confirm this bug. I ran:

$ touch src/back/CodeGen/Program.hs; make
...
[29 of 31] Compiling CodeGen.Program ( src/back/CodeGen/Program.hs, dist/build/encorec/encorec-tmp/CodeGen/Program.o )
...

To be super thorough, I used the powers of emacs to do the same thing for all .hs files in src and the result was that all files where recompiled after running touch FILE; make

@EliasC
Copy link
Contributor Author

EliasC commented Jan 20, 2015

Does this happen to explain the 'bug' you're seeing?

No, that's just sloppiness from my side!

According to what I remember, things looked like they recompiled but we kept seeing the same strange behavior (output-files being named "Foo".pony.c rather than Foo.pony.c) until we re-built from scratch. On the other hand, according to your thorough testing, everything seems to recompile like it should, so I'll close this, blaming that one time on cosmic radiation.

@EliasC EliasC closed this as completed Jan 20, 2015
@kaeluka
Copy link
Contributor

kaeluka commented Jan 20, 2015

huh, that's weird. We should keep it in mind then. Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants