mirror of
https://github.com/cp2k/cp2k.git
synced 2026-07-28 22:25:32 -04:00
inplace
This commit is contained in:
parent
bd486b8e57
commit
dd06dd4b38
1 changed files with 1 additions and 2 deletions
|
|
@ -89,8 +89,7 @@ RUN spack external find --all --not-buildable
|
|||
ARG CP2K_VERSION
|
||||
ENV CP2K_VERSION=${CP2K_VERSION:-psmp}
|
||||
COPY ./tools/spack/cp2k_deps_${CP2K_VERSION}.yaml ./
|
||||
RUN sed -e "s/~xpmem/+xpmem/" cp2k_deps_${CP2K_VERSION}.yaml > cp2k_deps_${CP2K_VERSION}_tmp.yaml && \
|
||||
mv cp2k_deps_${CP2K_VERSION}_tmp.yaml cp2k_deps_${CP2K_VERSION}.yaml
|
||||
RUN sed -i -e "s/~xpmem/+xpmem/" cp2k_deps_${CP2K_VERSION}.yaml
|
||||
COPY ./tools/spack/cp2k_dev_repo ${SPACK_PACKAGES_ROOT}/repos/spack_repo/cp2k_dev_repo/
|
||||
RUN spack repo add --scope site ${SPACK_PACKAGES_ROOT}/repos/spack_repo/cp2k_dev_repo/
|
||||
RUN spack env create myenv cp2k_deps_${CP2K_VERSION}.yaml && \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue