Skip to content

Commit

Permalink
picking up merged key4hep-spack externals
Browse files Browse the repository at this point in the history
  • Loading branch information
Federico Meloni committed Jan 10, 2025
1 parent d650065 commit 22b9739
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .key4hep-commit
Original file line number Diff line number Diff line change
@@ -1 +1 @@
334aa25cf90cbbaf693ac29509d4d7b790effecb
4b46ee141dabde811a047ca635ca73605b704144
8 changes: 4 additions & 4 deletions AlmaLinux9/Dockerfile-externals
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@ ARG REPOSITORY=madbaron
FROM ${REPOSITORY}/mucoll-spack:${VERSION}-alma9

# Picking specific key4hep commit
ARG KEY4HEP_COMMIT=05c425828d340d0c1263fbc47203e6f88c07735d
ARG KEY4HEP_COMMIT=4b46ee141dabde811a047ca635ca73605b704144

RUN source /opt/setup_spack.sh && \
REPOPATH=${SPACK_ROOT}/var/key4hep-spack && \
git clone -b base-environment --single-branch https://github.com/key4hep/key4hep-spack ${REPOPATH} && \
git clone -b main --single-branch https://github.com/key4hep/key4hep-spack ${REPOPATH} && \
if [ -n "${KEY4HEP_COMMIT}" ]; then \
cd ${REPOPATH}; \
git checkout ${KEY4HEP_COMMIT}; \
Expand Down Expand Up @@ -52,5 +52,5 @@ RUN source ${HOME}/setup_env.sh && \
spack clean -a

RUN source ${HOME}/setup_env.sh && \
echo "source ${SPACK_ENV}/.spack-env/view/setup.sh" > /opt/setup_k4base.sh && \
echo "alias setup_k4base=\"source /opt/setup_k4base.sh\"" >> /etc/profile.d/aliases.sh
echo "source ${SPACK_ENV}/.spack-env/view/setup.sh" > /opt/setup_k4_externals.sh && \
echo "alias setup_k4_externals=\"source /opt/setup_k4_externals.sh\"" >> /etc/profile.d/aliases.sh

0 comments on commit 22b9739

Please sign in to comment.