adoptium / temurin-build

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

Validate cmake builds of OpenJ9 on Windows #2126

Closed sxa closed 3 years ago

sxa commented 3 years ago

cmake support is enabled on most platforms now for OpenJ9 but not Windows (there is one final fix that's going in). We should attempt to run a cmake build to verify that our build systems are set up with a suitable working cmake.

Suggest running a build manually on the machine with cmake enabled as it is for other platforms (--with-cmake at configure time shold do it)

Willsparker commented 3 years ago
Willsparker commented 3 years ago

After installing cmake via Cygwin (admittedly version 3.14.5 ), as well as the non-cygwin version (see the windows playbook in infra), I've been unable to get a working version of cmake on the Softlayer machines - when running cmake via cmd, I get a popup saying The procedure entry point uname_x could not be located in the dynamic link library C:\cygwin64\bin\cyguv-1.dll, followed by a cmake has stopped working error. Installing libcv-devel didn't change anything, and cyguv-1 doesn't appear in the Cygwin setup list.

Due to https://github.com/AdoptOpenJDK/openjdk-infrastructure/issues/1594 , I don't think it's a priority to try and fix this, therefore I'm going to just focus on confirming cmake is okay on the new IBMCloud machines :-)

Willsparker commented 3 years ago

All Windows-build machines should be ready to build OpenJ9 w/ cmake now :+1: