Fork me on GitHub
#babashka
<
2019-12-06
>
sogaiu01:12:37

had some success compiling a somewhat reduced-in-capability babashka using graal 19.3.0 java 11 on windows 10 it does appear that vs 2017 (+ a couple of options via the installer) are necessary for building (unlike for java 8 based graal things which have so far used windows 7.1 sdk) there are some steps regarding the vs 2017 setup starting here: <https://github.com/borkdude/babashka/issues/138#issuecomment-562369045> haven't figured out the automation part, but there is a lead among the comments ^ @borkdude @lee

borkdude07:12:09

Thanks! It was @filipematossilva who is interested in the Windows build as well

Filipe Silva12:12:32

oh wow I did not expect so much movement on the bb windows binary issue!

sogaiu13:12:43

the secret was that a fair bit had been worked on already :)

Filipe Silva14:12:11

so like a nucleation point

sogaiu15:12:48

nice expression :thumbsup:

Filipe Silva12:12:19

you're having trouble installing vs in an automated way?

Filipe Silva12:12:05

I think at some point I did something of the sort... let me see

Filipe Silva12:12:51

choco install visualstudio2019buildtools --version 16.1.2.0 --no-progress --package-parameters "--add Microsoft.VisualStudio.Workload.VCTools --add Microsoft.VisualStudio.Component.VC.Tools.x86.x64 --add Microsoft.Component.VC.Runtime.UCRTSDK --add Microsoft.VisualStudio.Component.Windows10SDK.17763"

Filipe Silva12:12:01

I used this once to get VS installed on a CI

Filipe Silva12:12:22

this was just the built tools though, not the full VS

Filipe Silva12:12:48

but that seems to be the syntax to do it with choco

Filipe Silva12:12:57

btw you testing bb on windows? I can help you get a windows ci going

sogaiu13:12:54

@filipematossilva it's really good to hear you've got this sort of thing working before :thumbsup: we came across those or similar docs, but (afaik) haven't tried yet.

sogaiu17:12:04

@borkdude adapting @filipematossilva's info, here's a sketch of a command:

choco install visualstudio2017community --no-progress --package-parameters "--add Microsoft.VisualStudio.Component.VC.Tools.ARM64 --add Microsoft.VisualStudio.Component.VC.CMake.Project"
there might be something missing, but that's a start

sogaiu17:12:22

possibly it is better to have version info, in which case:

choco install visualstudio2017community --version 15.9.17.0 --no-progress --package-parameters "--add Microsoft.VisualStudio.Component.VC.Tools.ARM64 --add Microsoft.VisualStudio.Component.VC.CMake.Project"

sogaiu17:12:56

added the info to the issue