Skip to content

Build Linux and macOS binary wheels#4248

Open
jhale wants to merge 73 commits into
mainfrom
jhale/build-wheels-mac
Open

Build Linux and macOS binary wheels#4248
jhale wants to merge 73 commits into
mainfrom
jhale/build-wheels-mac

Conversation

@jhale

@jhale jhale commented Jun 26, 2026

Copy link
Copy Markdown
Member

These wheels are compatible with Python 3.12+ via abi3 and contain SuperLU_DIST and Scotch (no PETSc).

No MPI libraries or executables are included - on Linux users can use any MPICH-like ABI and on macOS any OpenMPI ABI.

Example of use:

# download the platform wheelhouse artifact and unzip
pip install fenics_*.whl
pip install mpich # openmpi on macOS

All tests pass.

This can be streamlined further once MPI5 ABI is available and we can produce one wheel per platform.

In the short term we can setup our own repo at fenicsproject.org and advertise through the README, and then push to pypi.org for 0.12 if we're happy.

Probably won't go for Windows too much maintenance - let's improve the conda packages further.

Artifacts here:

https://github.com/FEniCS/dolfinx/actions/runs/28248343437

cd dolfinx && git clean -fdx && cd ../
python -m venv venv-test
source venv-test/bin/activate
PIP_EXTRA_INDEX_URL="file://${GITHUB_WORKSPACE}/simple" pip install openmpi fenics-dolfinx[test]
cd dolfinx && git clean -fdx && cd ../
python -m venv venv-test
source venv-test/bin/activate
PIP_EXTRA_INDEX_URL="file://${GITHUB_WORKSPACE}/simple" pip install openmpi fenics-dolfinx[test]
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