Skip to content

MAINT: Add compile flag to disable voltbl on MSVC 142 #21360

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

Merged
merged 1 commit into from
Apr 21, 2022

Conversation

matthew-brett
Copy link
Contributor

@matthew-brett matthew-brett commented Apr 19, 2022

Add flag to disable the voltab section in the generated library, which
(if present) appears to break mingw-w64 linking.

See:
ocaml/ocaml@0ac7358

and

matthew-brett/dll_investigation#1 (comment)

Add flag to disable the voltab section in the generated library, which
(if present) appears to break mingw-w64 linking.

See:
ocaml/ocaml@0ac7358

and

matthew-brett/dll_investigation#1 (comment)
matthew-brett referenced this pull request Apr 19, 2022
This should disable the voltab section in the generated
DLL, which appears to break mingw-w64 linking.

See:
ocaml/ocaml@0ac7358
@mattip
Copy link
Member

mattip commented Apr 19, 2022

xref #20880. This buys us a little breathing room and could allow using the current vs2019 toolchain for wheels.

@mattip
Copy link
Member

mattip commented Apr 19, 2022

The comment on the ocaml commit says

This information has been enabled to aid emulation of AMD64 on ARM64, so
for now risk slower emulated performance pending direct compilation to
ARM64 on Windows anyway.

I think the risk is acceptable.

@matthew-brett
Copy link
Contributor Author

Right - the risk is only that we continue to get the same emulation performance - for this library specifically - as we would for a VS2017 build. And I suppose there is some hope we will build ARM64 wheels, at some point.

@matthew-brett
Copy link
Contributor Author

Also xref current issue building with VS2017 - #21346

@charris charris changed the title Add compile flag to disable voltbl on MSVC 142 MAINT: Add compile flag to disable voltbl on MSVC 142 Apr 20, 2022
@mattip mattip merged commit a5ae250 into numpy:main Apr 21, 2022
@mattip
Copy link
Member

mattip commented Apr 21, 2022

Thanks @matthew-brett

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

Successfully merging this pull request may close these issues.

2 participants