frost-beta / node-mlx

Machine learning framework for Node.js.
MIT License
172 stars 5 forks source link

tries to use ninja if it exists #3

Closed alefminus closed 1 month ago

alefminus commented 1 month ago

I had to add -m:

    package.json: build: use makefiles even if ninja exists

diff --git a/package.json b/package.json
index 3a68623..771af3b 100644
--- a/package.json
+++ b/package.json
@@ -7,7 +7,7 @@
   "scripts": {
     "install": "node install.js",
     "prepack": "tsc",
-    "build": "cmake-js build",
+    "build": "cmake-js build -m",
     "pretest": "tsc",
     "test": "tsx tests/run.ts"
   },
zcbenz commented 1 month ago

Thanks for noticing this! I have committed it at 3171c58.