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 ocamlgraph #85

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

ajbt200128
Copy link

ocamlgraph needs autoconf if we want to use ./configure, and currently fails since autoconf isn't a build input (at least on MacOS). The project now supports building with straight dune:
https://github.com/backtracking/ocamlgraph/blob/master/INSTALL.md

I confirmed this via building an executable that pulls it in, and checked with otool that it didn't link to anything else

ocamlgraph needs autoconf if we want to use ./configure, and currently
fails since autoconf isn't a build input (at least on MacOS). But I confirmed
it works statically if we just remove this override altogether, as the
project now supports building with straight dune:
https://github.com/backtracking/ocamlgraph/blob/master/INSTALL.md
Comment on lines -68 to -75
ocamlgraph = oa: {
buildPhase = ''
./configure
sed 's/graph.cmxs//' -i Makefile
make NATIVE_DYNLINK=false
'';
};

Copy link
Collaborator

@balsoft balsoft Apr 18, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are you sure that it will build statically on Linux without this?

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

Successfully merging this pull request may close these issues.

2 participants