Skip to content
Snippets Groups Projects
Verified Commit bb470eb8 authored by Joshua Balthasar Kobschätzki's avatar Joshua Balthasar Kobschätzki :speech_balloon:
Browse files

chore: add untested setup script for rn.sh

parent 207b2a29
No related branches found
No related tags found
No related merge requests found
#!/bin/bash
# setup env for running ppds benchmarks
# asssumes you run on a blogin node as a normal user
set -xeu
# create main container dir, ppds
cd "$HOME"
mkdir ppds
# create aux dirs
mkdir targets aux logs
# clone src
git clone https://git.tu-berlin.de/sose24-ppds-qp/sose24-ppds-qp-rs.git ppds-qp
# check if rustup is available
if [ -f "$HOME/.cargo/env" ]; then
source "$HOME/.cargo/env"
fi
if ! command -v rustup &> /dev/null
then
echo "Installing rustup"
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- --default-toolchain none -y
source "$HOME/.cargo/env"
fi
# pull tested nightly version
rustup toolchain install nightly-2024-06-24
echo "you are ready to rock, just copy your jobfiles into $(pwd)/aux"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment