fix(build): link bee-gpu-stress with -lm for sqrt()
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -180,7 +180,7 @@ if [ "$GPU_STRESS_NEED_BUILD" = "1" ]; then
|
|||||||
-I"${CUBLAS_CACHE}/include" \
|
-I"${CUBLAS_CACHE}/include" \
|
||||||
-o "$GPU_STRESS_BIN" \
|
-o "$GPU_STRESS_BIN" \
|
||||||
"${BUILDER_DIR}/bee-gpu-stress.c" \
|
"${BUILDER_DIR}/bee-gpu-stress.c" \
|
||||||
-ldl
|
-ldl -lm
|
||||||
echo "binary: $GPU_STRESS_BIN"
|
echo "binary: $GPU_STRESS_BIN"
|
||||||
else
|
else
|
||||||
echo "=== bee-gpu-stress up to date, skipping build ==="
|
echo "=== bee-gpu-stress up to date, skipping build ==="
|
||||||
|
|||||||
Reference in New Issue
Block a user