Misc #21639
closedGuidelines or documentation for porting Ruby to a new platform (z/OS)
Description
Hi Ruby team,
I work on the IBM z/OS platform and am currently working on porting Ruby to it.
I wanted to ask whether there are any existing porting guidelines, documentation, or recommended steps for bringing Ruby up on a new platform.
Current status:
I’ve successfully started building Ruby using the standard ./configure && make flow.
RJIT/YJIT are disabled, but miniruby currently exits silently with no output (miniruby -v).
If there are any references, platform-porting checklists, or recommended practices for handling platform-specific code (especially around TLS, signal handling, and miniruby bring-up), it would be really helpful.
Thanks in advance for your guidance.
Best regards,
Sachin
Updated by mame (Yusuke Endoh) about 14 hours ago
- Status changed from Open to Feedback
Unfortunately, no such guidelines exist. Anyone with access to a z/OS Linux environment will likely need to investigate the code on their own.
By the way, for a long time, @ReiOdaira (Rei Odaira) had been maintaining the CI for Ruby on z/OS Linux, which I believe was on an IBM-provided machine.
The CI ran successfully until May 2024, but began failing consistently after that and has since been removed from the official CI targets.
The tests do appear to still be running, however:
https://rubyci.s3.amazonaws.com/rhel_zlinux/ruby-master/recent.html
I don't know if @ReiOdaira (Rei Odaira) is still with IBM, but I'd suggest trying to contact him for guidance.