Skip to content

Fix windows build - #325

Closed
clarisma wants to merge 5 commits into
osmcode:masterfrom
clarisma:fix-windows-build
Closed

clarisma wants to merge 5 commits into
osmcode:masterfrom
clarisma:fix-windows-build

Conversation

@clarisma

Copy link
Copy Markdown
Contributor

Uses Ninja as the build system (The default builder has a telemetry process that keeps the build directory locked, which causes an error during cleanup).
Also fixes msvc setup on arm and gets the correct package for lz4 (x64 instead of x86).

Heads up: I can't test this locally, so no guarantees this will work.

@lonvia

lonvia commented Oct 13, 2026 •

Copy link
Copy Markdown
Member

Thanks for looking into this and trying Ninja. Looks like it fails too though: https://github.com/clarisma/pyosmium/actions/runs/38400294853/job/115305879836

@clarisma

Copy link
Copy Markdown
Contributor Author

I've changed it to use a fixed directory. Testing now

@clarisma

Copy link
Copy Markdown
Contributor Author

Giving each build an explicit dir seems to fix it.

@clarisma

Copy link
Copy Markdown
Contributor Author

Looks like it worked!

@lonvia lonvia 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.

Thanks.

Comment thread .gitignore Outdated
Comment thread .github/workflows/build_wheels.yml Outdated
Comment thread .github/workflows/build_wheels.yml Outdated
@lonvia

lonvia commented Oct 15, 2026

Copy link
Copy Markdown
Member

I've merged this now outside Github. I've left out the change for ninja as this was acting up and in the end I prefer trusting the defaults of scikit-build.

Thanks again for getting to the bottom of this.

@lonvia lonvia closed this Oct 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants