Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
GitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
this is a follow up of #2466 to propose a slightly different setup. it basically introduce a jruby-trufle artifact which can be easily exceluded using the jruby amven artifact. jruby-jars gem takes advantage of it as well, i.e. jruby-core jar there is already truffle free.
the source is split into core/src and truffle/src. some little code changes were needed to get it compliled. the lib/jruby.jar remains as is, dito jruby-complete.jar - just the way it gets build is slightly different. jruby-jars.gem has now three jars one is jruby-truffle.jar, so people want to use truffle need to require this jar as well. the jruby artifacts (org.jruby:jruby, org.jruby:jruby-noasm) can easily exclude truffle via :exclusions => ['org.jruby:jruby-truffle'] declaration.
I updated the patch and cleaned up some dependencies and force pushed to the PR branch.
We need to fix -X+T at command line before we merge this, so truffle remains functional at command line. We can do that either in the launcher (requires jruby-launcher work in C/++) or shade it into lib/jruby.jar.