Jan is an open source alternative to ChatGPT that runs 100% offline on your computer.
build(engine): follow toolkit symlinks when locating the runtime
Akarshan Biswasf2a2b3a8c2e6
diff --git a/src-tauri/build-utils/stage-engine.sh b/src-tauri/build-utils/stage-engine.shindex 3c49d0f80..7f3e84a9c 100755--- a/src-tauri/build-utils/stage-engine.sh+++ b/src-tauri/build-utils/stage-engine.sh@@ -133,7 +133,7 @@ roots=("${CUDA_PATH:-}" "${CUDA_HOME:-}")LIBDIR=""for root in "${roots[@]}"; do[ -n "$root" ] && [ -d "$root" ] || continue- hit="$(find -H "$root" -maxdepth 3 -iname "$first" -print -quit 2>/dev/null)"+ hit="$(find -L "$root" -maxdepth 4 -iname "$first" -print -quit 2>/dev/null)"if [ -n "$hit" ]; then LIBDIR="$(dirname "$hit")"; break; fidone[ -n "$LIBDIR" ] || {