lib/Tools/ghc_setup
author Fabian Huch <huch@in.tum.de>
Mon, 04 Mar 2024 16:20:57 +0100
changeset 79765 a478fc5cd5bd
parent 69930 b5286c564861
permissions -rwxr-xr-x
partially revert f1f08ca40d96: benchmark data needs to be present before timing data is loaded;

#!/usr/bin/env bash
#
# Author: Makarius
#
# DESCRIPTION: setup Glasgow Haskell Compiler via Stack

set -e

isabelle_stack setup
isabelle_stack ghc -- --version
echo -n "$(standard_path "$(isabelle_stack path --compiler-exe)")" > "$ISABELLE_STACK_ROOT/ISABELLE_GHC_EXE-$ISABELLE_PLATFORM_FAMILY"