File tree Expand file tree Collapse file tree 1 file changed +17
-0
lines changed Expand file tree Collapse file tree 1 file changed +17
-0
lines changed Original file line number Diff line number Diff line change
1
+ #! /bin/bash
2
+ # Installs dependencies, builds Silverfish, and places it into your path
3
+ # Be sure to validate the Rust and LLVM install scripts we invoke below!
4
+ sudo apt install build-essential --yes
5
+ curl https://sh.rustup.rs -sSf | sh
6
+ source $HOME /.cargo/env
7
+ sudo bash -c " $( wget -O - https://apt.llvm.org/llvm.sh) "
8
+ LLVM_VERSION=9
9
+ sudo update-alternatives --install /usr/bin/clang clang /usr/bin/clang-$LLVM_VERSION 100
10
+ sudo update-alternatives --install /usr/bin/llvm-config llvm-config /usr/bin/llvm-config-$LLVM_VERSION 100
11
+ sudo apt install libc++-dev libc++abi-dev --yes
12
+ git clone https://github.com/gwsystems/silverfish.git
13
+ cd silverfish
14
+ cargo build --release
15
+ mkdir -p $HOME /bin
16
+ cp -t $HOME /bin target/release/silverfish
17
+ source $HOME /bin
You can’t perform that action at this time.
0 commit comments