creams: fix outdated nanos6.toml

This temporal fix allows the experiment to ignore the nanos6.toml in the
git repository, and only set version.dependencies variable.
This commit is contained in:
Rodrigo Arias 2021-03-04 12:45:29 +01:00 committed by Pedro Martinez
parent 8445fb0928
commit 6818b29d02

View File

@ -79,9 +79,22 @@ let
preSrun = '' preSrun = ''
cp -r ${input}/SodTubeBenchmark/* . cp -r ${input}/SodTubeBenchmark/* .
chmod +w -R . chmod +w -R .
rm -f nanos6.toml
''; '';
}; };
exec = {nextStage, conf, ...}: with conf; stages.exec {
inherit nextStage;
env = ''
export NANOS6_CONFIG_OVERRIDE="version.dependencies=regions"
'';
# Remove restarts as is not needed and is huge
post = ''
rm -rf restarts || true
'';
};
# Creams program # Creams program
creams = {nextStage, conf, ...}: with conf; creams = {nextStage, conf, ...}: with conf;
let let
@ -96,7 +109,7 @@ let
# Replace the stdandard srun stage with our own # Replace the stdandard srun stage with our own
srun = customSrun; srun = customSrun;
}; };
} ++ [ creams ]; } ++ [ exec creams ];
in in