Comments (3)
Historically the Graal/Truffle project tries to be as IDE agnostic as possible. The same applies to build systems. However to achieve such independency the project invented its own build system called MX.
I fully understand that MX is a barrier to adoption to external people, but after nine month of close experience with the tool I can say that it is working well and is certainly faster than Maven. I don't expect there to be enough will to change the current status quo.
Btw. if you want a bit more standards based build system, you can get it by calling:
$ mx ideinit
then there are going to be truffle/com.oracle.*/build.xml
files which can be consumed by Ant:
$ ant clean jar -f truffle/com.oracle.truffle.api/build.xml
from graal.
We understand the desire for a standard build system. However, in addition to @jtulach explanation above, there is currently too much investment and dependence on mx by Truffle and all other graalvm projects to consider switching away from it at this point.
Note that if you're only wanting to use Truffle as an external dependency, you can already do so as shown by jruby:
https://github.com/jruby/jruby/blob/master/truffle/pom.xml#L41-L62
If you want to use snapshots you use:
https://github.com/jruby/jruby/blob/truffle-head/truffle/pom.xml#L70-L73
from graal.
Thanks for the details explanation folks.
from graal.
Related Issues (20)
- ScriptEngine does not support `require()`
- [GR-57127] Native Image generated by `native-image` tool is not working with ZoomBA project HOT 4
- [GR-56749] Missing Documentation Video/Tutorial HOT 2
- Failure to build libgraal on OpenJDK change
- [GR-56882] PLDI 2017, June 18-23, Barcelona, Spain presentation and video unavailable. HOT 4
- Cannot convert "1682293037722628098'(1anguage: Java, type: com.oracle.truffle.api.strings.Trufflestring) to Java type "java.lang .0bject[]':Unsupported target type HOT 3
- Got ClassNotFoundException while building native image with grpc-netty-shaded HOT 2
- native-image-configure tool is throwing a ClassCastException on latest Oracle EA Build HOT 5
- Getting Error: Missing CAP cache value for: NativeCodeInfo:RISCV64LibCHelperDirectives:StructInfo:CPUFeatures HOT 3
- Exception in thread "main" java.lang.IllegalArgumentException: invalid type parameter: void HOT 1
- Using GraalVM with JBOSS/Wildfly throws warning: does not support runtime compilation HOT 4
- GraalVM Fatal error reported via JNI: Could not allocate library name HOT 1
- [GR-57252] Improve error message when trying to build static image on unsupported platforms
- NPE in com.oracle.truffle.runtime.hotspot.HotSpotTruffleRuntimeAccess.createRuntime(): "jdk.internal.module.Modules.JLA" is null
- [Feature Request] Turn off truffle compilation dynamically
- [GR-57284] `JAVA_TOOL_OPTIONS` environment variable in native executables HOT 1
- JavaFX native image doesnt work on different cpu (both windows and 64 bit) HOT 1
- Provide graaljs that's useable across JDK versions 11 through 22 by backporting #7510 HOT 1
- Unable to use GDB to debug the actual value of variables in GraalVM Native Image HOT 1
- [GR-57347] Create a Snapcraft package for Ideal Graph Visualizer
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from graal.