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 32bit platform wheels #6

Open
mtreinish opened this issue May 11, 2021 · 2 comments
Open

Add 32bit platform wheels #6

mtreinish opened this issue May 11, 2021 · 2 comments

Comments

@mtreinish
Copy link

It would be great if there were wheels published to PyPI for 32bit platforms for projects that support 32bit platforms. This is primarily a request to just to add builds for i686 manylinux and win32 wheels.

I took a look at doing this but got a bit lost in all the conda specific tooling to do the build and wasn't sure how to setup the machinery to setup a 32 bit conda env. For other projects where I've done this I've used https://github.com/joerick/cibuildwheel/ to build the wheels which automates the builds in CI.

@isuruf
Copy link
Member

isuruf commented May 11, 2021

conda-forge which we are using for builds here, don't support i686 builds anymore. Reason for using conda based builds were because of all the dependencies like LLVM, GMP, MPFR, FLINT that we have to compile. All of these support i686, but they are hard to build. We had scripts to build them and it was becoming harder and harder to maintain them and finally made the switch to conda to manage the dependencies.

@mtreinish
Copy link
Author

Well at least for linux a good chunk of those can be installed from distro packages. For example, if you used the manylinux i686 docker image which is centos based all of those are in the centos package repository (llvm is preinstalled in the manylinux docker image), except for flint I think (which doesn't look like it's terrible to build on linux).

The windows story is more complicated though, there are package managers but they tend to be hit or miss (llvm and gmp probably are easier but the others I doubt we'd find prebuilt binaries). So yeah I guess for win32 wheels the only way to do this would be to support scripts to build every compiled dependency from source which I definitely can see being harder to maintain longer term.

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

No branches or pull requests

2 participants