Files
yaze/scripts/agents/smoke-build.sh
scawful e36d81f357 fix(linux): add missing yaze_gfx_render dependency to yaze_gfx_debug
Fixes linker error on Linux where yaze_gfx_debug.a (performance_dashboard.cc)
was calling AtlasRenderer::Get() and AtlasRenderer::GetStats() but wasn't
linking against yaze_gfx_render which contains atlas_renderer.cc.

Root cause: yaze_gfx_debug was only linking to yaze_gfx_types and
yaze_gfx_resource, missing the yaze_gfx_render dependency.

This also fixes the undefined reference errors for HttpServer methods
which were already properly included in the agent.cmake source list.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-20 01:38:55 -05:00

20 lines
388 B
Bash

#!/usr/bin/env bash
# Quick smoke build for a given preset in an isolated directory with timing info.
set -euo pipefail
if [[ $# -lt 1 ]]; then
echo "Usage: $0 <preset> [build_dir]" >&2
exit 1
fi
PRESET="$1"
START=$(date +%s)
cmake --preset "$PRESET"
cmake --build --preset "$PRESET"
END=$(date +%s)
ELAPSED=$((END - START))
echo "Smoke build '$PRESET' completed in ${ELAPSED}s"