-
Notifications
You must be signed in to change notification settings - Fork 642
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
make does recompile everything, even without changes #1821
Comments
I rebuild using “cabal install” rather than make (although that’s all ‘make’ does), and this doesn’t happen (it would make development essentially impossible if it did, after all). Which files are you editing? Edwin. On 2 Jan 2015, at 13:10, Norbert Melzer [email protected] wrote:
|
In the worst case? Not even a single one and cabal decides to recompile the Anyway, so far I modified repl, option AST and main (don't remember exact
|
Something came to my mind right now, might this happen because I'm using a cabal sandbox? |
Could be, I don't use a sandbox myself. Anyone else noticed this? In any case, this is highly unlikely to be a problem with Idris' build system - if anything, it is more likely to be a problem with cabal. |
If we can nail it down to either sandboxing or a specific cabal version, I
|
OK, nailed it down to be not even The following happened:
After changing this settings back to default I was able to build idris in a couple of seconds, as expected. Anyway, thank you for pointing me to searching the issue with cabal instead of your build script. So we can close this one. |
I wanted to contribute a small piece of code (#1071, a low hanging fruit, not ready yet).
After every change I do recompile idris using
make
, which seems to rebuild the whole project, even if only one or two source files changed.This takes quite an huge amount of time (~5 minutes) on my machine:
CPU: Intel® Core™ i5-4210M CPU @ 2.60GHz × 4
RAM: 8 GiB
The text was updated successfully, but these errors were encountered: