Skip to content

Commit

Permalink
Change cloning of the libcimpp repo to allow fetching of commits
Browse files Browse the repository at this point in the history
Signed-off-by: Leonardo Carreras <leonardo.carreras@eonerc.rwth-aachen.de>
  • Loading branch information
leonardocarreras committed Dec 11, 2024
1 parent d4e962e commit bbcc1d5
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 5 deletions.
1 change: 0 additions & 1 deletion cmake/FetchCIMpp.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ set(CIMPP_BUILD_DOC OFF)
include(FetchContent)
FetchContent_Declare(cimpp-module
GIT_REPOSITORY https://github.com/sogno-platform/libcimpp.git
GIT_SHALLOW TRUE
GIT_PROGRESS TRUE
GIT_TAG ${CIMPP_COMMIT}
)
Expand Down
2 changes: 1 addition & 1 deletion packaging/Docker/Dockerfile.dev
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ RUN pip3 install -r requirements.txt

# Install CIMpp from source
RUN cd /tmp && \
git clone --recurse-submodules --depth 1 https://github.com/cim-iec/libcimpp.git && \
git clone --recurse-submodules https://github.com/cim-iec/libcimpp.git && \
mkdir -p libcimpp/build && cd libcimpp/build && \
git checkout ${CIMPP_COMMIT} && \
cmake ${CMAKE_OPTS} ..\
Expand Down
2 changes: 1 addition & 1 deletion packaging/Docker/Dockerfile.dev-debian
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ RUN pip3 install -r requirements.txt

## Install CIMpp from source
RUN cd /tmp && \
git clone --recurse-submodules --depth 1 https://github.com/cim-iec/libcimpp.git && \
git clone --recurse-submodules https://github.com/cim-iec/libcimpp.git && \
mkdir -p libcimpp/build && cd libcimpp/build && \
git checkout ${CIMPP_COMMIT} && \
cmake ${CMAKE_OPTS} .. \
Expand Down
4 changes: 2 additions & 2 deletions packaging/Docker/Dockerfile.manylinux
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ RUN dnf -y debuginfo-install \

# Build & Install sundials
RUN cd /tmp && \
git clone --branch v3.2.1 --recurse-submodules --depth 1 https://github.com/LLNL/sundials.git && \
git clone --branch v3.2.1 --recurse-submodules https://github.com/LLNL/sundials.git && \
mkdir -p sundials/build && cd sundials/build && \
cmake ${CMAKE_OPTS} .. \
-DCMAKE_BUILD_TYPE=Release && \
Expand All @@ -69,7 +69,7 @@ RUN pip3 install -r requirements-manylinux.txt

# Install CIMpp from source
RUN cd /tmp && \
git clone --recurse-submodules --depth 1 https://github.com/cim-iec/libcimpp.git && \
git clone --recurse-submodules https://github.com/cim-iec/libcimpp.git && \
mkdir -p libcimpp/build && cd libcimpp/build && \
git checkout ${CIMPP_COMMIT} && \
cmake ${CMAKE_OPTS} .. \
Expand Down

0 comments on commit bbcc1d5

Please sign in to comment.