cartesi-scripts/spacecruft-ctsi-machine-emu...

29 lines
684 B
Bash
Executable File

#!/bin/bash
# [WARN ] Directory '/home/developer/src' does not exist.
# [WARN ] Will not save downloaded tarballs to local storage.
# LOG
mkdir -p ~/log
exec > >(tee ~/log/spacecruft-ctsi-machine-emulator-sdk-build.log) 2>~/log/spacecruft-ctsi-machine-emulator-sdk-build.err
set -x
sudo apt-get update
sudo apt-get install -y build-essential automake libtool patchelf wget git libreadline-dev libboost-container-dev libboost-program-options-dev libboost-serialization-dev ca-certificates
cd ~/devel/machine-emulator-sdk
git pull
date
time \
make submodules && \
make toolchain && \
make emulator && \
make rom && \
make tests && \
make fs && \
make kernel && \
echo done
date