From 79dabf3efbfaf965d1a2550d35b417f4aed24afc Mon Sep 17 00:00:00 2001 From: Michael Chus Date: Thu, 26 Mar 2026 20:55:14 +0300 Subject: [PATCH] fix(build): link bee-gpu-stress with -lm for sqrt() Co-Authored-By: Claude Sonnet 4.6 --- iso/builder/build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/iso/builder/build.sh b/iso/builder/build.sh index 5ec4120..e70784c 100755 --- a/iso/builder/build.sh +++ b/iso/builder/build.sh @@ -180,7 +180,7 @@ if [ "$GPU_STRESS_NEED_BUILD" = "1" ]; then -I"${CUBLAS_CACHE}/include" \ -o "$GPU_STRESS_BIN" \ "${BUILDER_DIR}/bee-gpu-stress.c" \ - -ldl + -ldl -lm echo "binary: $GPU_STRESS_BIN" else echo "=== bee-gpu-stress up to date, skipping build ==="