-
Notifications
You must be signed in to change notification settings - Fork 102
Use lagom from system libraries? #55
Comments
Yeah, this would be a big help when packaging. Thanks in advance for your consideration! |
That would require CMake changes to find_package(Lagom) before trying to FetchContent. Given how quickly Lagom libraries change though, I'm not sure how valuable that would be. There's absolutely no promise of a stable ABI for those libraries. |
Lagom has no stable API. If you package lagom and ladybird in different packages - both need to be on the same git commit - otherwise, the loader will not even load the main elf. You need to think of lagom as private API or ladybird. |
When I packaged |
Perhaps, but there are no versions of Lagom or Ladybird at the moment, only |
I understand this and we can cope fine with unstable ABI in Gentoo. There's two issues though:
|
I created #62 that adds some CMake install rules that more or less encode the "Lagom libraries are private impl libraries of serenity" concept in code. I personally think there's some serious refactoring needed to the Lagom CMakeLists in the serenity repository before it will be less awkward to share the libraries between several packages, but maybe it's less work than I think to get something workable for the more unstable distros. The main issue being, for cross-compiling like for the Andrioid port I made the fact we have Host libraries and target libraries that end up having the same imported name caused me to change the |
It looks like lagom is already being dynamically linked, so what would it take to build ladybird with a globally installed copy of lagom instead of requiring the serenity source directly?
The text was updated successfully, but these errors were encountered: