File tree 3 files changed +4
-4
lines changed
3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ From: containers/basic/{{ OS_DISTRO }}-{{ OS_VERSION }}-{{ MPI_IMPLEMENTATION }}
35
35
nProcs=$(nproc)
36
36
/bin/bash -c "cd /opt/foam/foam-extend-{{ FRAMEWORK_VERSION }} && source etc/bashrc && ./Allwmake.firstInstall -j $nProcs"
37
37
rm -rf /opt/foam/foam-extend-{{ FRAMEWORK_VERSION }}/tutorials/*
38
- FRAMEWORK_COMMIT_HASH=$(git -C /opt/foam/foam-extend-{{ OF_VERSION }} rev-parse HEAD)
38
+ FRAMEWORK_COMMIT_HASH=$(git -C /opt/foam/foam-extend-{{ FRAMEWORK_VERSION }} rev-parse HEAD)
39
39
jq --arg app openfoam --arg commit $FRAMEWORK_COMMIT_HASH \
40
40
--arg branch {{ FRAMEWORK_GIT_REF }} \
41
41
'.[$app] |= if . == null then
Original file line number Diff line number Diff line change 98
98
--build-arg MPI_IMPLEMENTATION={{ item.1.mpi.implementation }} \
99
99
--build-arg MPI_VERSION={{ item.1.mpi.version }} \
100
100
--build-arg FRAMEWORK_VERSION={{ item.1.framework.version }} \
101
- --build-arg FRAMEWORK_GIT_REF={{ item.1.framework.branch | default('default') }} \
101
+ --build-arg FRAMEWORK_GIT_REF={{ item.1.framework.git_ref | default('default') }} \
102
102
{{ original_dir }}/containers/basic/{{ item.0 }}.sif \
103
103
{{ playbook_dir }}/basic/{{ item.1.framework.definition }}.def
104
104
else
Original file line number Diff line number Diff line change @@ -26,8 +26,8 @@ containers:
26
26
# mpi:
27
27
# implementation: openmpi
28
28
# version: 4.1.5
29
- # openfoam :
30
- # fork : foam-extend
29
+ # framework :
30
+ # definition : foam-extend
31
31
# version: 5.0
32
32
# git_ref: master # optional (default: default)
33
33
# This section builds final containers in containers/projects
You can’t perform that action at this time.
0 commit comments