diff --git a/cookbooks/aws-parallelcluster-platform/resources/pyxis/partial/_pyxis_common.rb b/cookbooks/aws-parallelcluster-platform/resources/pyxis/partial/_pyxis_common.rb index 91d5e4107..2312ffe5a 100644 --- a/cookbooks/aws-parallelcluster-platform/resources/pyxis/partial/_pyxis_common.rb +++ b/cookbooks/aws-parallelcluster-platform/resources/pyxis/partial/_pyxis_common.rb @@ -24,7 +24,7 @@ user 'root' code <<-PYXIS_INSTALL set -e - rm -r /tmp/pyxis/* + rm -r /tmp/pyxis git clone --depth 1 --branch #{package_version} https://github.com/NVIDIA/pyxis.git /tmp/pyxis cd /tmp/pyxis CPPFLAGS='-I /opt/slurm/include/' make