Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion apptainer/hippo-release.def
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Bootstrap: oras
From: quay.io/ukaea/hippo:dev-{{ MPI }}-of{{ OPENFOAM_VERSION }}-0ec4697e70
From: quay.io/ukaea/hippo:dev-{{ MPI }}-of{{ OPENFOAM_VERSION }}-c65686e666

%files
.git /opt/hippo/.git
Expand Down
4 changes: 2 additions & 2 deletions scripts/install-openfoam.sh
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ THIRDPARTY_DIR="${OUT_DIR}/ThirdParty-${VERSION}"
# Fetch and patch OpenFOAM
mkdir -p "${OPENFOAM_DIR}"
if [ ! -d "${OPENFOAM_DIR}/.git" ]; then
git clone --depth=1 https://github.com/OpenFOAM/OpenFOAM-${VERSION}.git "${OPENFOAM_DIR}"
git clone --depth=1 -b version-${VERSION} https://github.com/OpenFOAM/OpenFOAM-${VERSION}.git "${OPENFOAM_DIR}"
fi
git -C "${OPENFOAM_DIR}" apply "${SCRIPT_DIR}/openfoam.patch"

Expand All @@ -95,7 +95,7 @@ fi

mkdir -p "${THIRDPARTY_DIR}"
if [ ! -d "${THIRDPARTY_DIR}/.git" ]; then
git clone --depth=1 https://github.com/OpenFOAM/ThirdParty-${VERSION}.git "${THIRDPARTY_DIR}"
git clone --depth=1 -b version-${VERSION} https://github.com/OpenFOAM/ThirdParty-${VERSION}.git "${THIRDPARTY_DIR}"
fi
(
cd "${THIRDPARTY_DIR}" \
Expand Down
Loading