From b73911d674ba8e079da7d6409ac6fdcfc27a6720 Mon Sep 17 00:00:00 2001 From: David Minton Date: Fri, 11 Aug 2023 14:13:15 -0400 Subject: [PATCH] More updates to Dockerfile to get it closer to being able to do a complete build --- Dockerfile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index a4455013f..bc08c09b1 100644 --- a/Dockerfile +++ b/Dockerfile @@ -33,7 +33,6 @@ RUN if [ "$BUILDIMAGE" = "intel/oneapi-hpckit:2023.1.0-devel-ubuntu20.04" ]; the echo "conda activate swiftest-build-env" >> ~/.bashrc && \ /bin/bash -lic "${SCRIPT_DIR}/build_dependencies.sh GNU"; \ fi - # Compile the Swiftest project COPY ./cmake/ ./cmake/ COPY ./src/ ./src/ @@ -44,4 +43,8 @@ COPY ./environment.yml ./ COPY ./pyproject.toml ./ COPY ./requirements.txt ./ COPY ./version.txt ./ +ENV CPATH="/swiftest/lib" +ENV LD_LIBRARY_PATH="${CPATH}/lib:${LD_LIBRARY_PATH}" +ENV LIBS="-lhdf5_hl -lhdf5 -lz" +ENV CMAKE_ARGS="-DBUILD_SHARED_LIBS=OFF" RUN pip install . \ No newline at end of file