diff --git a/fil-proofs-tooling/scripts/run-remote.sh b/fil-proofs-tooling/scripts/run-remote.sh index d40c93e62..04ffc9391 100755 --- a/fil-proofs-tooling/scripts/run-remote.sh +++ b/fil-proofs-tooling/scripts/run-remote.sh @@ -16,6 +16,9 @@ _metrics_dir=/tmp/metrics/\$_one_day_from_now find /tmp/metrics/ -maxdepth 1 -mindepth 1 -type d -printf "%f\n" \ | xargs -I {} bash -c 'if (({} < \$(date +%s))) ; then rm -rf /tmp/metrics/{} ; fi' 2> /dev/null +# Make sure hwloc library is available on the remote host. +apt-get -y -q install libhwloc-dev > /dev/null 2>&1 + # Make sure rust is installed on the remote host. curl https://sh.rustup.rs -sSf | sh -s -- -y > /dev/null 2>&1 source $HOME/.cargo/env /dev/null 2>&1