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

smten tool fails if .hi files are in the wrong place #15

Open
ruhler opened this issue Oct 29, 2013 · 0 comments
Open

smten tool fails if .hi files are in the wrong place #15

ruhler opened this issue Oct 29, 2013 · 0 comments

Comments

@ruhler
Copy link
Owner

ruhler commented Oct 29, 2013

For example:

  1. compile Foo.hs using smten in a subdirectory called dir.
    This produces Foo.hi in the same directory as Foo.hs, and Smten/Compiled/Foo.hs in the subdirectory dir.
  2. compile Foo.hs again using smten in a subdirectory called dir2. This fails.

It fails because ghc sees Foo.hi and thinks it doesn't have to compile Foo.hs again, but it can't find Smten/Compiled/Foo.hs, because it's in a different directory.

Possible fix: the smten tool should automatically put the .hi files from stage 1in the same place as the Smten dir.

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

1 participant