-
Notifications
You must be signed in to change notification settings - Fork 63
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
TruffleRuby support #189
Comments
I would be rather surprised if this worked. Rice is pretty strongly linked to how Ruby itself is implemented, and makes at least one or two internal calls (e.g. Or, to put it shortly, only MRI is supported. |
I am wondering if I could add to truffleruby the internal calls that rice requires. I started looking into it, but got a compilation problem. I submitted an issue: oracle/truffleruby#3357. I will keep you posted. |
FYI, I just submitted oracle/truffleruby#3363, that implements the rb_frame_method_id_and_class in Truffleruby. The patch seems to get rice, and in turn torch.rb, to work with Truffleruby. |
In my quest of getting torch.rb to work, have been trying to build rice on top of TruffleRuby (truffleruby+graalvm-23.0.0 installed with rbenv+ruby-build on my M1 Mac) but I ran into some linking issues:
And that is even after I manually changed CMakeLists.txt to include header dirs and library files:
I am rather lost at the moment. Do you have any ideas / suggestions on how to move on from here?
The text was updated successfully, but these errors were encountered: