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

Remove dynlink and findlib dependencies from goblint-cil library #170

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from

Conversation

sim642
Copy link
Member

@sim642 sim642 commented Jul 24, 2024

In ocsigen/js_of_ocaml#1641 it was pointed out that Gobview is trying to link dynamic library linking (Dynlink), which can (besides that issue) also increase Gobview size because Dynlink somehow includes OCaml compiler libraries.

This is completely unnecessary: the goblint-cil library doesn't use dynlink and findlib at all. Only some CIL executable uses those to detect Features at runtime (as opposed to linking them in with -linkall like we do). This PR splits the Feature module to avoid these dependencies.

@sim642 sim642 modified the milestones: 2.0.4, 2.0.5 Jul 24, 2024
@michael-schwarz
Copy link
Member

Are there ambitions to merge this? It looks like it breaks OS X support?

@sim642
Copy link
Member Author

sim642 commented Nov 25, 2024

I'll re-run the CI to see what the issue was, perhaps just some MacOS CI problem.

I think this should be done because it's silly for (parts of) the OCaml compiler be included when using goblint-cil. But this PR shouldn't be part of the SV-COMP-equivalent release anyway.

@sim642 sim642 modified the milestones: 2.0.5, 2.0.6 Nov 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants