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

Refactor windows stuff #548

Merged
merged 5 commits into from
Dec 23, 2024
Merged

Refactor windows stuff #548

merged 5 commits into from
Dec 23, 2024

Conversation

nosracd
Copy link
Contributor

@nosracd nosracd commented Dec 9, 2024

Blocked by #547 (based off of its branch). This PR:

  • Refactors the Windows jobs to no longer install or copy DLLs around before running the tests (I think this was made unnecessary by Add PEP-517 Support #521 refactoring the build targets to statically link)
  • Refactors CI to no longer build with -DPython_FIND_REGISTRY=NEVER (doesn't seem to be necessary currently, although I kept the advice in WinSpecific/README.md). I'd be fine with keeping it around as a guard though.
  • Refactors the Python module's tests to use TemporaryDirectory rather than NamedTemporaryFile (it was creating a file then overwriting it, which resulted in permissions errors on Windows)
  • Adds a CI job to build a Windows wheel. This is something that has been requested (lcm-python wheels for windows #526). Although I'm unsure how useful this particular wheel. It's still limited to an MSYS environment.
  • Refactors WinSpecific/README.md to give some shell commands for installing LCM's dependencies in an MSYS environment. It seems that is a common source of issues, so hopefully this makes it easier to get started.

@nosracd nosracd requested a review from ihilt December 9, 2024 19:33
@nosracd nosracd self-assigned this Dec 9, 2024
@nosracd nosracd force-pushed the refactor/windows branch 2 times, most recently from 11ba3c7 to f3354c1 Compare December 17, 2024 16:17
include shell commands to make it easier to install the correct dependencies
make a note about Java
remove restriction on installing LCM before using it; that's no longer necessary since statically linking more stuff
@nosracd nosracd changed the title Draft: Refactor windows stuff Refactor windows stuff Dec 23, 2024
@nosracd nosracd merged commit 50026ef into lcm-proj:master Dec 23, 2024
47 checks passed
@nosracd nosracd deleted the refactor/windows branch December 23, 2024 15:20
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