-
-
Notifications
You must be signed in to change notification settings - Fork 238
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
An attempt to optionally use the compile server in erlc. #902
base: master
Are you sure you want to change the base?
Conversation
We use the env var ERLC_USE_SERVER to control the behaviour, since erlc already uses that variable. Although this seems to work fine for our project, I am not sure that it works correctly with files generated from .yrl etc.
Yeah it definitely doesn't work for generated files. |
Yes. I did some more fixes so that things like eunit works, but I think that you probably will do a better (correct) implementation anyway, so I think you can ignore this PR. (That said, it works fine for our needs!) |
It's tough to get right so any help is appreciated. |
… files); ensure .app depends on beam files
Ok, I pushed the other changes we did. In our project we have additional generated erl files (which we append to ERL_FILES), and it seems to work. |
Could you provide the Makefile related to the generated files? Or at least the part directly related to that + where the |
Sure, here's the relevant snippet of the Makefile.
|
Thanks! I'll take a look when time allows. Plan is to do this and package changes together as they're both breaking or potentially breaking changes. |
Ok. +1 to the package changes as well! |
We use the env var ERLC_USE_SERVER to control the behaviour, since
erlc already uses that variable.
Although this seems to work fine for our project, I am not sure that
it works correctly with files generated from .yrl etc.