interplane.Get Omega
Read in your language

physics-mv

FORGE: request-bound machine realization, providers and verification for AienOS. Host, simulated and GB10 hardware paths have separate evidence.

Brought by drakestapleton

branch main Branches Tags History

physics-mv / m15 / build.sh

21 lines · 566 bytes Raw Blame History
1#!/bin/sh
2# m15/build.sh -- Build script for Milestone 15 PHYSICS_ACCELERATOR_LINK host tools
3set -eu
4
5M15_DIR=$(cd "$(dirname "$0")" && pwd -P)
6ROOT_DIR=$(cd "$M15_DIR/.." && pwd -P)
7OUT_DIR="$M15_DIR/build"
8
9CC=${CC:-gcc}
10CFLAGS="-O2 -std=c11 -Wall -Wextra -Werror -I$M15_DIR -I$ROOT_DIR"
11
12mkdir -p "$OUT_DIR"
13
14echo "[*] Building m15tool..."
15"$CC" $CFLAGS -o "$OUT_DIR/m15tool" \
16 "$M15_DIR/tools/m15tool.c" \
17 "$M15_DIR/physics_accel.c" \
18 "$M15_DIR/physics_accel_native.c" \
19 "$ROOT_DIR/sha256_clean.c"
20
21echo "[*] Build successful: $OUT_DIR/m15tool"