#!/bin/sh
# DF-1166 build: userspace harness (unprivileged). amdgpu powerplay is NOT in
# GENERIC and the guest has no AMD GPU, so this proves the primitive at the
# indexing level. Fix compile-validation (apply fix.diff + rebuild
# smu7_hwmgr.o within amdgpu) is performed separately as root -> build.log.
set -e
cd "$(dirname "$0")"
cc -O2 -Wall -Wextra -o harness harness.c
echo "BUILD_EXIT=0"
ls -l harness
