#!/bin/sh
# DF-2816 build: compile the triggers in the guest; sync so the binaries
# survive the dirty RB_NOSYNC reboot the PoC performs.
set -e
cc -O2 -Wall -pthread -o /root/race2 /root/race2.c
cc -O2 -Wall -pthread -o /root/sibs  /root/sibs.c
sync
echo "build ok:"
ls -l /root/race2 /root/sibs
