add color to modeld warning print

This commit is contained in:
Adeeb Shihadeh
2026-09-25 16:15:25 -07:00
parent f474f05928
commit 49bbba371c
+1 -1
View File
@@ -12,7 +12,7 @@ Import('env', 'arch')
# TODO: add GCC support to tinygrad?
# tinygrad's CPU:LLVM backend requires libLLVM, skip the build on PC if it's not available
if arch not in ('comma_arm64', 'Darwin') and ctypes.util.find_library('LLVM') is None:
print("modeld: LLVM not found, skipping tinygrad model compilation")
print("\033[93mmodeld: LLVM not found, skipping tinygrad model compilation. Install LLVM to compile models.\033[0m")
Return()
lenv = env.Clone()