#!/bin/sh
# DF-1163 build: userspace harness (unprivileged). amdgpu gfx_v7_0 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 + build amdgpu.ko with
# gfx_v7_0.o) 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
