Graal for Windows?

Aleksandar Pejović aleksandar.pejovic at oracle.com
Tue Aug 21 00:44:56 UTC 2018


Hi Halimi,

Assuming you’re asking about Java 8, all that’s needed for building Graal on Windows is:
- JVMCI enabled JDK 8 (as Doug mentioned, we’ll be providing it really soon)
- MSVC 2010 SP1 compiler (for native projects, e.g., Truffle NFI)

Cygwin or other bash-like environments are not necessary, unless you want to build JVMCI enabled JDK 8 yourself.

That said, support for the native projects is still ongoing. Which means that at the moment you can only build non-native projects, e.g., by running `mx build --no-native` from `graal\compiler`.

Once everything is built, you should run `mx ideinit` (or IDE specific version) to set up your IDE. In general, IDE support works well, but there might be some Windows specific issues, simply because it hasn’t been used much on Windows yet.

-Aleksandar


From: Doug Simon
Sent: Monday, August 20, 2018 11:45 AM
To: Halimi, Jean-Philippe
Cc: graal-dev at openjdk.java.net; Aleksandar Pejović
Subject: Re: Graal for Windows?

Hi Halimi,

We are very close to having a Windows machine in our CI system. Once that's up and running and gating Graal commits, we will be able to declare Windows a supported platform for *Graal* development and update the relevant documentation.

Aleksandar Pejovic may be able to provide further detail and more precise timelines.

-Doug

> On 20 Aug 2018, at 10:52, Halimi, Jean-Philippe <jean-philippe.halimi at intel.com> wrote:
> 
> Dear all,
> 
> I've successfully been able to build and run the Graal compiler for Linux, but I was hoping to have my IDE setup on Windows, so I tried to get a Windows build. There's a short mention of it in the wiki (here: https://github.com/oracle/graal/blob/master/compiler/README.md, mention of using mx.cmd instead of mx) but the steps are bash-specific and unclear.
> 
> That brings me to a few questions:
> - Is Windows supported for Graal development as of now?
> - Am I expected to use Cygwin (bash) to build it?
> - Is there a tutorial available?
> 
> Thanks for your help,
> 
> Jp 




More information about the graal-dev mailing list