adoptium / temurin-build

Eclipse Temurin™ build scripts - common across all releases/versions
Apache License 2.0
1.03k stars 249 forks source link

Add jdk8-with-graal build for Windows #767

Open enikao opened 5 years ago

enikao commented 5 years ago

I'd love to see GraalVM-enabled builds on Windows. Ideally, I'd go for JDK8 on Windows 64-bit.

I don't know any details, but there might be a general compatibility issue, as even Oracle does not provide such a build (see bottom of https://www.oracle.com/technetwork/oracle-labs/program-languages/downloads/index.html). We might expect limitations to the Windows versions similar to the ones mentioned on this page.

Might relate to #369

karianna commented 5 years ago

@neomatrix369 - I think you have some Graal builds working already correct? Would be good to integrate them into our pipelines and see what other platforms we can add.

neomatrix369 commented 5 years ago

Not sure if the builds work for Windows yet - I can take a look at it and see if it works. What we build is just the graal compiler - the whole suite would need an install of a number of things on our slave boxes to work. And the last time I saw we had issues installing things on them. Goes back to the ansible scripts for the boxes and being able to test them on a free slave box.

In either case, we won't be able to satisfy @enikao's request fully.

enikao commented 5 years ago

@neomatrix369 What do you mean by "graal compiler"? Unfortunately, the Graal project is a bit inconsistent in its naming.

To my understanding, the main parts of GraalVM are:

(See also https://www.graalvm.org/docs/reference-manual/glossary/)

If I understand the comments on the Oracle download page correctly, they exclude SubstrateVM (and possibly Sulong) from their Windows build; I'd expect the same limitations apply to this endeavor here.

This leaves us with Graal(VM) (which you mentioned to build already), and Polyglot / Truffle + interpreters. The latter are "only" Java libraries, so building seems pretty straightforward (although I never tried it).

In this sense, I don't see that much missing compared to the Oracle preview.

M-Davies commented 4 years ago

@neomatrix369 Any update on this (ref @enikao 's question above)