Closed polvalente closed 3 weeks ago
Maybe we keep the .o versioned and not the final one. This should be enough for make to trigger a rebuild whenever the version changes.
There is an issue here in that the .so can be huge, back then it was 300MB, so duplicating that in disk can be too much. I checked and it was like 2MB or something.
I'll keep libexla.so unversioned for simplicity then. The main problem was stale intermediate .o, and that's already solved
There's some weird interplay between how EXLA looks up the rpath if it's the main app or if it's a library. Just copying over the unversioned cache .so seems to be the simplest solution.
This probably doesn't solve the problem of dealing with a stale libexla.so, but the new env var, even in partial mode, will deal with rebuilding everything for a new version