Skip to content

Run frontier MoE models on hardware you already own — pure C, zero deps, experts streamed from disk. Tiny engine, immense model. 🐦

C

setup.sh: detect libomp by dylib presence, not brew prefix (false-positive fix by fabio-rovai, #47)

JustVugg1bdaeee82ed1
diff --git a/c/setup.sh b/c/setup.sh
index 12fc5003..c220bd16 100755
--- a/c/setup.sh
+++ b/c/setup.sh
@@ -15,7 +15,7 @@ Darwin)
command -v clang >/dev/null || { echo "manca clang (xcode-select --install)"; exit 1; }
echo " clang: $(clang --version | head -1) · $(sysctl -n hw.ncpu) core"
echo -n " OpenMP: "
- if brew --prefix libomp >/dev/null 2>&1; then echo "ok (libomp)"
+ if [ -f "$(brew --prefix libomp 2>/dev/null)/lib/libomp.dylib" ]; then echo "ok (libomp)"
else echo "libomp assente -> build single-thread (consigliato: brew install libomp)"; fi
;;
MINGW*|MSYS*)