Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for Windows Redist DLL as Adoptium DevKit #3981

Merged
merged 5 commits into from
Oct 9, 2024

Conversation

andrew-m-leonard
Copy link
Contributor

@andrew-m-leonard andrew-m-leonard commented Oct 8, 2024

@andrew-m-leonard andrew-m-leonard self-assigned this Oct 8, 2024
@github-actions github-actions bot added aarch Issues that affect or relate to the aarch ARCHITECTURE windows Issues that affect or relate to the WINDOWS OS labels Oct 8, 2024
Copy link
Member

@sxa sxa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd really prefer (even if we have this as a fallback) for it to be done in the playbooks so it is consistently on the machines instead of being dynamically downloaded. I don't really want to introduce more non-hermetic parts of the build process if possible.

@andrew-m-leonard
Copy link
Contributor Author

andrew-m-leonard commented Oct 8, 2024

I'd really prefer (even if we have this as a fallback) for it to be done in the playbooks so it is consistently on the machines instead of being dynamically downloaded. I don't really want to introduce more non-hermetic parts of the build process if possible.

@sxa
It's the same as Linux devkit, so the ansible playbooks can install locally into:

/usr/local/devkit/vs2022_redist_14.40.33807_10.0.26100.0

and will only pull if not on the build machine

(except maybe I need a more Windows based path!)

@github-actions github-actions bot added jenkins Issues that enhance or fix our jenkins server testing Issues that enhance or fix our test suites labels Oct 8, 2024
@andrew-m-leonard
Copy link
Contributor Author

@sxa Where would you suggest for the local files on Windows ?

@sxa
Copy link
Member

sxa commented Oct 8, 2024

@sxa It's the same as Linux devkit, so the ansible playbooks can install locally into:
/usr/local/devkit/vs2022_redist_14.40.33807_10.0.26100.0
and will only pull if not on the build machine

Yeah /usr/local would probably end up under c:\cygwin64 which isn't ideal.

To be honest unless we want to create some new directory under C:\program Files or C:\devkit I'd kinda be happy putting it under C:\openjdk (where we've prototyped it) so I guess one of those three options.

FYI @steelhead31 since he was involved in some of these discussions.

@andrew-m-leonard
Copy link
Contributor Author

@sxa It's the same as Linux devkit, so the ansible playbooks can install locally into:
/usr/local/devkit/vs2022_redist_14.40.33807_10.0.26100.0
and will only pull if not on the build machine

Yeah /usr/local would probably end up under c:\cygwin64 which isn't ideal.

To be honest unless we want to create some new directory under C:\program Files or C:\devkit I'd kinda be happy putting it under C:\openjdk (where we've prototyped it) so I guess one of those three options.

FYI @steelhead31 since he was involved in some of these discussions.

Yes, I think given it's Windows, defaulting to say c:\openjdk as a local search location is probably fine. i'll update PR with that change, thanks

@andrew-m-leonard
Copy link
Contributor Author

Infra issue to extract onto Adoptium build nodes: adoptium/infrastructure#3772

Copy link
Member

@sxa sxa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved now that the infrastructure issue is in flight and this will be a backup option for that :-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
aarch Issues that affect or relate to the aarch ARCHITECTURE jenkins Issues that enhance or fix our jenkins server testing Issues that enhance or fix our test suites windows Issues that affect or relate to the WINDOWS OS
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Microsoft STL redistributable found in JDK is out of date
4 participants