Skip to content
Snippets Groups Projects
Commit 8260c255 authored by Lennard Gäher's avatar Lennard Gäher
Browse files

add some setup scripts for consumers of refinedrust

parent 92c77581
No related branches found
No related tags found
No related merge requests found
#!/bin/bash
# Installs RefinedRust in the current opam switch.
# Inputs:
# - REFINEDRUST_ROOT: the root directory of the RefinedRust checkout
cd $REFINEDRUST_ROOT
eval $(opam env)
opam repo add coq-released https://coq.inria.fr/opam/released
opam repo add iris-dev https://gitlab.mpi-sws.org/iris/opam.git
# install deps
opam pin add coq-lambda-rust.dev https://gitlab.mpi-sws.org/lgaeher/lambda-rust.git#rr --no-action -y
export OPAMFLAGS="$OPAMFLAGS -y"
make builddep
#!/bin/bash
# Installs rustup and builds the frontend.
# Inputs:
# - REFINEDRUST_ROOT: the root directory of the RefinedRust checkout
cd $REFINEDRUST_ROOT
cargo install rustup-toolchain-install-master
./rr_frontend/rustup-toolchain
./rr_frontend/refinedrust build
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