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

New buildsystem based on gac #73

Merged
merged 1 commit into from
Nov 3, 2019

Conversation

fingolfin
Copy link
Member

@fingolfin fingolfin commented Oct 4, 2019

Stop using autotools, and instead start to use Makefile.gappkg (see gap-system/gap#3683); this has several advantages, e.g. running configure is much quicker (esp. on macOS and Windows), it automatically rebuilds if GAP changed (detected via changes to GAP's sysinfo.gap), and of course there is no need for autoconf, automake, autogen.sh etc., nor need to deal with M4 syntax in cryptic configure.ac scripts

@fingolfin
Copy link
Member Author

Ah well, it turns out that gac does not manage to link C++ kernel extensions in GAP 4.9 and 4.10, so I guess this PR is out of play. Anyway, perhaps can be revisited in the future.

@ChrisJefferson
Copy link
Member

Thanks for this, but it conflicts with the other PR I just merged (sorry if I should have looked at them the other way around)

@fingolfin fingolfin force-pushed the mh/buildsys branch 2 times, most recently from fe82659 to 8073d87 Compare October 27, 2019 10:30
Stop using autotools, and instead start to use Makefile.gappkg (see
<gap-system/gap#3683>); this has several advantages,
e.g. running configure is much quicker (esp. on macOS and Windows), it
automatically rebuilds if GAP changed (detected via changes to GAP's
sysinfo.gap), and of course there is no need for autoconf, automake,
autogen.sh etc., nor need to deal with M4 syntax in cryptic configure.ac
scripts
@fingolfin
Copy link
Member Author

@ChrisJefferson no worries. I actually thought this PR was hopelessly flawed and would not work in GAP 4.10, due to the use of C++ code, but I figured out a trivial fix (namely adding KEXT_LDFLAGS = -lstdc++).

So I've now rebased this, and it seems to work well, at least locally for me and on Travis.

See also gap-packages/json#16 where I made a similar change.

@fingolfin fingolfin changed the title Replace build system, update Travis settings New buildsystem based on gac Oct 27, 2019
@ChrisJefferson ChrisJefferson merged commit 3364764 into gap-packages:master Nov 3, 2019
@fingolfin fingolfin deleted the mh/buildsys branch November 10, 2019 21:38
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