#!/usr/bin/env sh
set -e
mkdir -p host-build
c++ -std=c++17 -Wall -Wextra -Werror -pedantic \
  -fsanitize=address,undefined -fno-omit-frame-pointer \
  -Iinclude tests/integration_model_host.cpp \
  -o host-build/integration_model_host
ASAN_OPTIONS=detect_leaks=1 host-build/integration_model_host
echo "PASS host: pressure model, transform sum and deterministic trace digest"
