X-Git-Url: https://git.martlubbers.net/?a=blobdiff_plain;f=clean%2F.local%2Fbin%2Finstall_clean.sh;h=59d5e9f4cf719dfcc690f59e6b487f8aba83c732;hb=37a88a14fd119cb8ef43b2f421c268aef436e5f4;hp=e5ee3f1ec06eaff2e07ed878b2853269e6c7233b;hpb=a7d3c9add0dcba3af30b89b3faa9e3b3857bd147;p=dotfiles.git diff --git a/clean/.local/bin/install_clean.sh b/clean/.local/bin/install_clean.sh index e5ee3f1..59d5e9f 100755 --- a/clean/.local/bin/install_clean.sh +++ b/clean/.local/bin/install_clean.sh @@ -3,12 +3,20 @@ set -e DISTRO="https://ftp.cs.ru.nl/Clean/builds/linux-x64/clean-bundle-complete-linux-x64-latest.tgz" TAGS="https://gitlab.science.ru.nl/cloogle/cloogle-tags/-/jobs/artifacts/master/raw/cloogletags?job=build" +CLMMAN="https://gitlab.science.ru.nl/clean-and-itasks/clm/raw/master/clm.1" +CP2CG="https://gitlab.science.ru.nl/clean-and-itasks/cleanprof2callgrind/-/jobs/artifacts/master/raw/cleanprof2callgrind?job=test" CLEAN_HOME="${CLEAN_HOME:-/opt/clean}" echo "Cleaning up the old distro" rm -rf "$CLEAN_HOME"/* echo "Downloading clean" -curl -sS "$DISTRO" | tar -C "$CLEAN_HOME" --strip-components=1 -xz +curl -sSL "$DISTRO" | tar -C "$CLEAN_HOME" --strip-components=1 -xz +echo "Installing manpages" +mkdir -p ~/.local/man/man1 +curl -sSLo ~/.local/man/man1/clm.1 "$CLMMAN" +echo "Downloading cleanprof2callgrind" +curl -sSLo "$CLEAN_HOME/bin/cleanprof2callgrind" "$CP2CG" +chmod +x "$CLEAN_HOME"/bin/cleanprof2callgrind echo "Downloading cloogletags" curl -sSLo "$CLEAN_HOME"/bin/cloogletags "$TAGS" chmod +x "$CLEAN_HOME"/bin/cloogletags @@ -68,53 +76,51 @@ patch /opt/clean/lib/StdEnv/StdGeneric.icl <