Get up and running with Kimi, GLM, MiniMax, DeepSeek, gpt-oss, Qwen, Gemma and other models.
Harden for deps file being empty (or short)
Daniel Hiltgen3dc1bb6a3548
diff --git a/llm/generate/gen_linux.sh b/llm/generate/gen_linux.shindex 0b8cb3447..c182b2a5d 100755--- a/llm/generate/gen_linux.sh+++ b/llm/generate/gen_linux.sh@@ -194,6 +194,12 @@ if [ -d "${ROCM_PATH}" ]; thenfor dep in $(ldd "${BUILD_DIR}/lib/libext_server.so" | grep "=>" | cut -f2 -d= | cut -f2 -d' ' | grep -e rocm -e amdgpu -e libtinfo ); doecho "${dep}" >> "${BUILD_DIR}/lib/deps.txt"done+ # bomb out if for some reason we didn't get a few deps+ if [ $(cat "${BUILD_DIR}/lib/deps.txt" | wc -l ) -lt 8 ] ; then+ cat "${BUILD_DIR}/lib/deps.txt"+ echo "ERROR: deps file short"+ exit 1+ ficompress_libsfi