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

compile.sh library cache: autoconf, cmake etc need to be run again if install prefix changed #157

Open
dktapps opened this issue Feb 17, 2023 · 1 comment

Comments

@dktapps
Copy link
Member

dktapps commented Feb 17, 2023

One use case for caching is to reuse compiled dependencies for binaries installed in different locations.

Currently, the library caching only works if the prefix did not change.

dktapps added a commit that referenced this issue Mar 14, 2023
make will decide whether to rebuild stuff for us
fixes #157
@dktapps
Copy link
Member Author

dktapps commented Mar 14, 2023

It turns out that changing prefix path causes most libraries to do a full recompile, rendering the cache mostly useless. We can track the target install path and avoid reconfiguring if it's unchanged, but it's less than ideal.

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