mirror of
https://github.com/checkpoint-restore/criu
synced 2025-08-22 18:07:57 +00:00
15 lines
480 B
Bash
15 lines
480 B
Bash
|
#!/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")/../../
|
||
|
# TODO change dev branch to master once PR is merged
|
||
|
git clone --depth=1 https://github.com/checkpoint-restore/criu-image-streamer.git -b dev
|
||
|
|
||
|
# Compile
|
||
|
cd criu-image-streamer
|
||
|
make BUILD=debug # debug build compiles faster than release mode (2x faster)
|