PHP-Binaries icon indicating copy to clipboard operation
PHP-Binaries copied to clipboard

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

Open dktapps opened this issue 2 years ago • 1 comments

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 avatar Feb 17 '23 13:02 dktapps

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.

dktapps avatar Mar 14 '23 20:03 dktapps