-
Notifications
You must be signed in to change notification settings - Fork 139
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
Generate and use a config.h header #1088
Conversation
f8ceefd
to
552e0ef
Compare
This works with TruffleRuby with oracle/truffleruby#3140, so let's wait that merges and then we can merge this. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah this looks good. I actually changed my mind on the src/yarp.c
changes though, would you be able to revert those only? Other than that, I think this is good to go. Let me know when the truffleruby PR is merged.
Do you mean defining (BTW this PR should remove those |
Specifically I mean using the |
Ah sure, happy to change that back to |
Should I remove the arguments to AC_INIT as well then to not define any |
I think they get defined as empty in that case. But yeah feel free. |
Done.
Indeed, so I left them in, otherwise they are empty strings. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah this looks good
@eregon is this good to go or are we waiting on truffleruby? |
Let's wait the TruffleRuby PR merges to not break the CI here. |
https://github.com/oracle/truffleruby/actions/runs/5415357250/jobs/9843509793?pr=3140
Not sure why it this error happens there and not in other places. I'll try a trivial fix. |
@eregon strange - probably needs to be |
Yeah, that goes further, but there are more errors: https://github.com/oracle/truffleruby/actions/runs/5416543973/jobs/9846399623?pr=3140 |
OK it repros on 20.04: https://github.com/ruby/yarp/actions/runs/5416596186/jobs/9846527321?pr=1088 |
Thanks! |
Co-authored-by: Benoit Daloze <[email protected]>
* This was causing problems because mx in TruffleRuby sometimes does `make clean` before `make`. * The list of generated files was outdated.
* In CRuby the template files are committed, and this Makefile is not used, instead common.mk is used.
* It gives different compiler warnings.
The TruffleRuby PR merged, CI is green on rerun, I'll merge |
Useful for #1041
Related to #1051