Skip to content

Fix Windows install for onnxruntime (prebuilt zip) and remove broken xgboost Windows step - #50

Merged
mohawk2 merged 3 commits into
PDLPorters:masterfrom
LLC-Technologies-Collier:fix/xgboost-windows
Dec 1, 2026
Merged

mohawk2 merged 3 commits into
PDLPorters:masterfrom
LLC-Technologies-Collier:fix/xgboost-windows

Conversation

@cjac

@cjac cjac commented Dec 1, 2026 •

Copy link
Copy Markdown
Contributor
  • install-dep-onnxruntime: use Microsoft's official prebuilt onnxruntime-win-x64-1.20.1.zip on Windows (the vcpkg port currently 404s trying to download v1.32.0.tar.gz).
  • install-dep-xgboost: remove the Windows step since xgboost is not in vcpkg and has no standalone prebuilt C SDK zip.

@mohawk2 mohawk2 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I like the spirit! But I feel the best way for this is to actually remove the Windows bit if it's not idiomatically supported in a package manager, as here. I don't want to have such a maintenance burden, CI is already hard enough to keep going :-)

Obviously it's good this came to light through testing. If someone does get it into vcpkg, we could revisit.

The same will apply for all of these packages where there isn't idiomatic Windows support.

@mohawk2 mohawk2 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Very enterprising!

@mohawk2 mohawk2 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Sorry, I missed that XGBoost is still getting cmaked. Please either find a similar fix as for onnxruntime, or remove the Windows support :-)

@cjac cjac changed the title install-dep-xgboost: build via CMake on Windows (no vcpkg port) Fix Windows install for onnxruntime (prebuilt zip) and remove broken xgboost Windows step Dec 1, 2026
@mohawk2
mohawk2 merged commit 1f88916 into PDLPorters:master Dec 1, 2026
3 checks passed
@mohawk2

mohawk2 commented Dec 1, 2026

Copy link
Copy Markdown
Member

Thank you!

@cjac

cjac commented Dec 1, 2026

Copy link
Copy Markdown
Contributor Author

Removed the Windows step from install-dep-xgboost as requested, and opened an upstream xgboost port PR at microsoft/vcpkg#55402 so we can re-enable Windows cleanly via vcpkg once merged.

@mohawk2

mohawk2 commented Dec 1, 2026

Copy link
Copy Markdown
Member

Outstanding!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants