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

buildsys: link installed gap executable against libgap and set SYS_DEFAULT_PATHS #5193

Merged
merged 3 commits into from
Nov 14, 2022

Conversation

fingolfin
Copy link
Member

@fingolfin fingolfin commented Nov 5, 2022

When doing make install, install a version of GAP that links against libgap. That gap has SYS_DEFAULT_PATHS set to point to the GAP roots $prefix/lib/gap and $prefix/share/gap. Also adjust the installed sysinfo.gap accordingly.

Resolves #5096

@fingolfin fingolfin added topic: build system release notes: not needed PRs introducing changes that are wholly irrelevant to the release notes backport-to-4.12 labels Nov 5, 2022
@fingolfin fingolfin force-pushed the mh/installed-gap-with-libgap branch from 032a2a1 to 143b7f4 Compare November 6, 2022 20:33
@fingolfin fingolfin changed the title buildsys: link installed gap executable against libgap buildsys: link installed gap executable against libgap and set SYS_DEFAULT_PATHS Nov 6, 2022
@fingolfin fingolfin force-pushed the mh/installed-gap-with-libgap branch 2 times, most recently from 54a85cc to 5c57a0f Compare November 7, 2022 14:17
When doing `make install`, install a version of GAP that links against
libgap. Also adjust the installed sysinfo.gap accordingly.
Also change installed $bindir/gap from a wrapper shell script to a
genuine binary (which works thanks to SYS_DEFAULT_PATHS being set)
@fingolfin fingolfin force-pushed the mh/installed-gap-with-libgap branch from 5c57a0f to ecd066f Compare November 7, 2022 14:31
@fingolfin
Copy link
Member Author

I don't think anyone is likely to review this, so I'll just merge it.

@fingolfin
Copy link
Member Author

Backported to stable-4.12 in afa8fbd plus 97b8a3f plus 96d8bf0

@dimpase
Copy link
Member

dimpase commented Dec 2, 2022

I don't think anyone is likely to review this, so I'll just merge it.

well, why, we're always happy to review stuff related to using GAP in Sage...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport-to-4.12-DONE release notes: not needed PRs introducing changes that are wholly irrelevant to the release notes topic: build system
Projects
None yet
2 participants