graal
graal copied to clipboard
Allow language interpreter to run on z/OS and s390x architecture
Allow the language interpreter to function for z/OS platform ie osname="z/OS" arch="s390x" I am guessing that will also allow osname="linux" arch="s390x" also
Thank you for your pull request and welcome to our community! To contribute, please sign the Oracle Contributor Agreement (OCA). The following contributors of this PR have not signed the OCA:
- PR author: kiwi1969
- [email protected] (@kiwi1969)
To sign the OCA, please create an Oracle account and sign the OCA in Oracle's Contributor Agreement Application.
When signing the OCA, please provide your GitHub username. After signing the OCA and getting an OCA approval from Oracle, this PR will be automatically updated.
If you are an Oracle employee, please make sure that you are a member of the main Oracle GitHub organization, and your membership in this organization is public.
Thank you for signing the OCA.
Iām importing this pull request into the Graal internal repository by cherry-picking your commits. You can track the corresponding internal PR via the GitHub mirror: https://github.com/oracle/graal/pull/11390.
In the meantime, you can use the following system properties as a workaround for the issue:
System.setProperty("truffle.UseFallbackRuntime", "true");
System.setProperty("polyglot.engine.userResourceCache", "<path to cache folder>");
System.setProperty("truffle.attach.library", "");
Thanks.
I had a look at your newer implementation and I think it is much more robust and a better solution to what I was proposing.
Good work š
We added -Dpolyglot.engine.allowUnsupportedPlatform=true system property to enable execution on an unsupported platform. In addition to this you will need to set -Dpolyglot.engine.userResourceCache=<cache_folder system property to point to cache folder.
For details see InternalResourceTest#testUnsupportedPlatformEnabledWithExplicitCacheFolder
Fixed by https://github.com/oracle/graal/pull/11390