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

build times #82

Open
Jake-Gillberg opened this issue Apr 25, 2020 · 5 comments
Open

build times #82

Jake-Gillberg opened this issue Apr 25, 2020 · 5 comments

Comments

@Jake-Gillberg
Copy link
Contributor

Building takes quite a long time and lately has been failing on my measly 2GB ram machine.

Is there a way to have an idris project depend on a pre-compiled target, and a way to publish these targets for the current master branch?

@marcosh
Copy link
Contributor

marcosh commented Apr 27, 2020

@andrevidela maybe you're the best one to answer this

@Jake-Gillberg
Copy link
Contributor Author

Jake-Gillberg commented Apr 27, 2020

For now I just commented out the portions of elba.toml that aren't needed for the pieces that I am working on. This seems like a fine workaround for contribution edits to this library, but not for projects that have idris-ct as a dependency via elba.

@andrevidela
Copy link
Member

andrevidela commented May 8, 2020

Sorry I just saw this.

I just bought a computer with 32Gb of ram.

Just kidding, maybe you can have better chances by compling every file separately from the REPL and at the end run idris --install with the IBCs already compiled.

This will also take a long time but at least it won't fail.

@Jake-Gillberg
Copy link
Contributor Author

Would it make sense to have the build process commit the ibcs to a branch called "compiled" or something?

@andrevidela
Copy link
Member

I don't think so, but maybe we could make an official release with the library precompiled

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

3 participants