You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The basic process is to define the various OS versions, setup the environment with MPI, an then run the setup.py to build the wheels. Fortunately mpi4py provides a setup-mpi action https://github.com/mpi4py/setup-mpi that will install the specified MPIs into each OS build environment.
cibuildwheel is a python package that will build wheels for all CPython versions specified in the project.toml. See:
The current wheels.yml lists specific OS versions, but we could probably just use windows-latest and macos-latest. Need to check if wheels uploaded to pypi are OS version specific, or if this build feature is just used to check compatibility across systems.
Setup a CI build for the repast4py wheels for Windows and macOS, using Github Actions.
The mpi4py project has a great example build workflow: https://github.com/mpi4py/mpi4py/blob/master/.github/workflows/ci-build.yml
The basic process is to define the various OS versions, setup the environment with MPI, an then run the setup.py to build the wheels. Fortunately mpi4py provides a setup-mpi action https://github.com/mpi4py/setup-mpi that will install the specified MPIs into each OS build environment.
cibuildwheel is a python package that will build wheels for all CPython versions specified in the project.toml. See:
https://github.com/pypa/cibuildwheel?tab=readme-ov-file
https://cibuildwheel.pypa.io/en/1.x/
We can combine the environment setup approach from mpi4py and the cibuildwheel builder to build wheels for all needed OS and CPython versions.
Tasks:
The text was updated successfully, but these errors were encountered: