Skip to content

Commit

Permalink
Install all dependencies needed to run tests. (#3475)
Browse files Browse the repository at this point in the history
  • Loading branch information
jhale committed Oct 21, 2024
1 parent 4116cca commit 4cee286
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docker/Dockerfile.end-user
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ ONBUILD RUN cd dolfinx && \
cd ../python && \
PETSC_ARCH=linux-gnu-real64-32 pip -v install \
--config-settings=cmake.build-type="${DOLFINX_CMAKE_BUILD_TYPE}" --config-settings=install.strip=false --no-build-isolation --check-build-dependencies \
--target /usr/local/dolfinx-real/lib/python${PYTHON_VERSION}/dist-packages --no-dependencies --no-cache-dir . && \
--target /usr/local/dolfinx-real/lib/python${PYTHON_VERSION}/dist-packages --no-dependencies --no-cache-dir '.[test]' && \
git clean -fdx && \
cd ../ && \
mkdir -p build-complex && \
Expand All @@ -103,7 +103,7 @@ ONBUILD RUN cd dolfinx && \
cd ../python && \
PETSC_ARCH=linux-gnu-complex128-32 pip -v install \
--config-settings=cmake.build-type="${DOLFINX_CMAKE_BUILD_TYPE}" --config-settings=install.strip=false --no-build-isolation --check-build-dependencies \
--target /usr/local/dolfinx-complex/lib/python${PYTHON_VERSION}/dist-packages --no-dependencies --no-cache-dir .
--target /usr/local/dolfinx-complex/lib/python${PYTHON_VERSION}/dist-packages --no-dependencies --no-cache-dir '.[test]'

# Real by default.
ONBUILD ENV PKG_CONFIG_PATH=/usr/local/dolfinx-real/lib/pkgconfig:$PKG_CONFIG_PATH \
Expand Down

0 comments on commit 4cee286

Please sign in to comment.