Skip to content

Rename install.sh to prerequisites.sh #34

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

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

fingolfin
Copy link
Member

This way, GAP's BuildPackages.sh script will automatically execute it, meaning that cddlib will end up being available for more users than without this.

The GH actions CI scripts also use this, so no need for libcdd-dev anymore.

Contains PR #33. Closes PR #33

@fingolfin fingolfin marked this pull request as draft August 11, 2022 09:54
@fingolfin
Copy link
Member Author

OK, I didn't realize it, but this is missing code in configure.ac which checks if prerequisites.sh was run and a working "local" cddlib is present, and if so, uses that automatically, unless the user explicitly specifies --with-cddlib=PATH (similar to what is in NormalizInterface).

And perhaps prerequisites.sh should also check if cddlib is already available, and in that case, do nothing. But doing that in a way that matches the behavior of configure.ac exactly (to avoid situations where prerequisites.sh detects a present cddlib but then configure.ac does not detect it) could be tricky. Ah well.

@fingolfin fingolfin force-pushed the mh/prerequisites.sh branch from c1f72c5 to d81cd9c Compare August 11, 2022 10:12
The BuildPackages.sh script automatically executes `prerequisites.sh`,
as do the GitHub Actions used for Ci tests. The former means that that
CddInterface will end up being available for more users than without
this. The latter means that the GitHub Actions don't need to install
libcdd-dev anymore.
@fingolfin fingolfin force-pushed the mh/prerequisites.sh branch from d81cd9c to d17fdf2 Compare June 23, 2025 20:12
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.

1 participant