-
-
Notifications
You must be signed in to change notification settings - Fork 901
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
Autotools gumbo #3221
base: main
Are you sure you want to change the base?
Autotools gumbo #3221
Conversation
- Implement a minimal autotools build for libgumbo. - Make `rake gumbo:test` use the same libgumbo.a used to build the nokogiri extension. - Make changes to `gumbo-parser/src` trigger a rebuild of libgumbo.
81c8a76
to
845d7cb
Compare
- remove the `rebuild-libgumbo` target which is probably not needed once #3220 is merged - avoid downloading googletest when just running `rake compile` - update the Manifest check to ignore new gumbo-parser/ files - simplify the 'host' variable in gumbo.rake, since we're only using it in development (and not cross-compiling) - put back the libgumbo $libs, $LIBPATH, and include flags modifications - make sure libgumbo is built static
33b3156
to
c47b232
Compare
I'm a little concerned about introducing autoconf to the development build process; I made some additional changes to help run it better in CI, but I think we probably also need to add a test job that installs the gem on a system without autoconf just to make sure we're packaging everything correctly. |
c47b232
to
f36ee54
Compare
and make sure autoconf is installed in the basic ubuntu container in CI
f36ee54
to
6e6b368
Compare
@stevecheckoway I wonder if we should split gumbo out into a separate repository? While it might make integration testing a little bit harder,
Just an idle thought on a Saturday morning. |
@stevecheckoway Bumping this in case you have any thoughts on what I suggested? I'm not sure how to unblock this one right now. |
What problem is this PR intended to solve?
See conversation at #2718, this simplifies how we build libgumbo both during installation (extconf) and during development.
Primary author is @stevecheckoway
Have you included adequate test coverage?
Existing test coverage should be fine.
Does this change affect the behavior of either the C or the Java implementations?
No behavior changes.