<GitHub57>
jruby/master 3fe1cc2 Charles Oliver Nutter: Use actual racc/parser.rb from MRI 2.3. For #4603.
hobodave_ has joined #jruby
hobodave has quit [Ping timeout: 240 seconds]
camlow325 has quit [Ping timeout: 246 seconds]
camlow325 has joined #jruby
Specialist has joined #jruby
<nirvdrum>
Aethenelle, headius: I don't suppose you know how the TypeAliases classes in jnr-ffi are created, do you?
<Aethenelle>
probably similar to FFI... should be a rake task
<Aethenelle>
let me look...
<nirvdrum>
I didn't see anything. But I agree it looks like it should be generated.
<nirvdrum>
If I need to build it by hand, I can. I just don't want to be working against it all.
<Aethenelle>
ogod...
<Aethenelle>
use the rake task in ffi (might also be one in jffi)
<Aethenelle>
it'll get you to a file that should be fairly easy to parse and generate this thing from.
<Aethenelle>
looks like only FFI... gen/Rakefile
<nirvdrum>
Aethenelle: Thanks.
<nirvdrum>
I wouldn't have thought to check out the FFI repo.
camlow325 has quit [Ping timeout: 246 seconds]
<Aethenelle>
even easier...
<Aethenelle>
rake types_conf
<nirvdrum>
Aethenelle: I see you commit to ffi/ffi as well. Would it be helpful for me to generate sparc64-linux files for you?
<Aethenelle>
yes
<Aethenelle>
yes, please
<nirvdrum>
Is there any more to it than generating the platform files? After doing so, I ran "bundle exec rake" and all 4,845 tests passed.
<Aethenelle>
reminds me.. I have a PR that I need to get into jruby before I pull into FFI...
bbrowning is now known as bbrowning_away
<Aethenelle>
nope... though, knowing the tests pass is pretty nice
<nirvdrum>
I was a bit surprised.
<nirvdrum>
The jnr-ffi tests have been a bit of a nightmare.
<nirvdrum>
Evidently they do a bunch of unaligned memory operations and that segfaults on Solaris, at the very least.
<nirvdrum>
Aethenelle: I see ext/ffi_c/libffi/doc/libffi.info is modified. But it looks like a bunch of control character changes. Is it safe to ignore that?
donV has quit [Quit: donV]
<Aethenelle>
yes... that's part of libffi
<Aethenelle>
the ffi test suite is pretty comprehensive... only a few tests missing really... those known missing aren't easy to test.