graalvm

Discuss GraalVM related topics. Use clojure 1.10.2 or newer for all new projects. Contribute to https://github.com/clj-easy/graal-docs and https://github.com/BrunoBonacci/graalvm-clojure. GraalVM slack: https://www.graalvm.org/slack-invitation/.
victorb 2020-01-06T00:14:18.065800Z

https://github.com/victorb/cljfx-graalvm/issues/1, but is just a dump of output so far

2020-01-06T01:27:42.068600Z

has anyone come up with a simpler way than: https://gist.github.com/sogaiu/e079cd770051685c46ab24b6658effcf to setup a build environment for windows 10 for use with java 8 based graals? i've tried building using the setup for java 11 based graals (vs 2017 + a couple of options -- a one-liner in chocolatey), but that doesn't seem to work for java 8 based graals.

2020-01-06T03:40:51.070600Z

looks like there is a simpler way -- the following seems to work: https://stackoverflow.com/questions/32091593/cannot-install-windows-sdk-7-1-on-windows-10/45784634#45784634 in brief: * choco install windows-sdk-7.1 * install "Microsoft Visual C++ 2010 Service Pack 1 Compiler Update for the Windows SDK 7.1" from http://www.microsoft.com/en-us/download/details.aspx?displaylang=en&id=4422 that appears to be enough -- at least i was able to build clj-kondo successfully

littleli 2020-01-06T18:10:00.072600Z

I wanted to create scoop out of this, but honestly this is far beyond my chi. Would be super cool if there would be docker image (for Windows!) that has all of these preinstalled where one only put some jar or mount volume and binary exe is produced. Unfortunately, that's too much and I don't even have Windows Pro version that's required to run Docker on Windows.

2020-01-06T18:18:55.072800Z

it may be that:

choco install -d windows-sdk-7.1 kb2519277
https://github.community/t5/GitHub-Actions/Building-GraalVM-native-image-on-Windows-cannot-uninstall/m-p/36752

2020-01-06T18:19:08.073200Z

is enough

2020-01-06T18:19:43.073400Z

note that the author of the post seemed to have some issue with existing redistributable removal (not sure if that is important)

borkdude 2020-01-06T08:06:56.071600Z

Might be nice to add to the docs

2020-01-06T13:47:02.071900Z

which docs?

borkdude 2020-01-06T14:27:17.072300Z

the Windows build docs of clj-kondo

2020-01-06T16:34:16.072500Z

ok, PR submitted

borkdude 2020-01-06T19:57:57.074Z

Another cool graal thing: https://github.com/greglook/cljstyle

👀 1
😁 2
🦜 3
greglook 2020-01-06T19:58:48.075Z

building binary-runtime CLI tools with Clojure is realizing a long-awaited dream from my early days with the language

👍 3
borkdude 2020-01-06T19:59:15.075200Z

feel free to add your project here: https://github.com/lread/clj-graal-docs/blob/master/doc/external-resources.md#projects

greglook 2020-01-06T20:00:22.075600Z

ah, neat