Skip to content

Commit

Permalink
Add petsc4py build requirements (#3197)
Browse files Browse the repository at this point in the history
  • Loading branch information
garth-wells committed May 5, 2024
1 parent 8d38aa1 commit 29410b1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion docker/Dockerfile.test-env
Original file line number Diff line number Diff line change
Expand Up @@ -150,10 +150,12 @@ RUN if [ "$MPI" = "mpich" ]; then \
# - First set of packages are required to build and run DOLFINx Python.
# - Second set of packages are recommended and/or required to build
# documentation or run tests.
# - Final set of packages are required to build petsc4py
RUN pip3 install --break-system-packages --no-cache-dir --upgrade setuptools pip && \
pip3 install --break-system-packages --no-cache-dir cffi numba numpy==${NUMPY_VERSION} scikit-build-core[pyproject] && \
pip3 install --break-system-packages --no-cache-dir --no-build-isolation mpi4py && \
pip3 install --break-system-packages --no-cache-dir breathe clang-format cmakelang jupytext matplotlib mypy myst-parser nanobind==${NANOBIND_VERSION} pytest pytest-xdist ruff scipy sphinx sphinx_rtd_theme types-setuptools
pip3 install --break-system-packages --no-cache-dir breathe clang-format cmakelang jupytext matplotlib mypy myst-parser nanobind==${NANOBIND_VERSION} pytest pytest-xdist ruff scipy sphinx sphinx_rtd_theme types-setuptools && \
pip3 install --break-system-packages --no-cache-dir cython wheel

# Install KaHIP
RUN wget -nc --quiet https://github.com/kahip/kahip/archive/v${KAHIP_VERSION}.tar.gz && \
Expand Down

0 comments on commit 29410b1

Please sign in to comment.