blob: 8ace3a657075beb6d3bc7e23f2835f25eb5d0f64 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
#!/bin/bash
set -eux
# Install Rust toolchain
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
# Clone criu-image-streamer in a sibling directory of the criu project directory
cd "$(dirname "$0")"/../../
git clone --depth=1 https://github.com/checkpoint-restore/criu-image-streamer.git
# Compile
cd criu-image-streamer
make BUILD=debug # debug build compiles faster than release mode (2x faster)
|