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

Fix compile caching in Docker container to reduce build time #72

Open
LouKordos opened this issue Apr 5, 2021 · 1 comment
Open

Fix compile caching in Docker container to reduce build time #72

LouKordos opened this issue Apr 5, 2021 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@LouKordos
Copy link
Owner

Currently, the entire source code is copied into the docker image context and fully recompiled. This takes up quite some time at this point, and should be fixable by some sort of caching.

For this, look into how CMake and make decides when to recconfigure and recompile, ask Cpplang for specific solutions and look into ccache as a specific solution.

@LouKordos LouKordos added enhancement New feature or request priority Priority enhancements, important for future features labels Apr 5, 2021
@LouKordos LouKordos self-assigned this Apr 5, 2021
@LouKordos
Copy link
Owner Author

Commit e556340 already reduced time spent a lot by not sending plot_data directory to the daemon. This, combined with 9faf950 already reduces docker build time to ~30s, which is acceptable.

@LouKordos LouKordos removed the priority Priority enhancements, important for future features label Apr 18, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant