mlx repaired

This commit is contained in:
Angel Ortigosa Perez
2026-01-25 14:53:53 +01:00
parent edc4144d38
commit ccde6227cb
20 changed files with 1037 additions and 61 deletions

View File

@@ -117,6 +117,14 @@ You can pass build [options](./docs/index.md#available-options) to cmake, e.g: `
You can find an example makefile in the documentation [here](https://github.com/codam-coding-college/MLX42/blob/master/docs/Basics.md).
#### Bindings (Python, etc)
MLX42 currently has a [Python FFI binding](./ffi/python/README.md) available.
In order to get it working you need to build the library first as shown above.
The only change is that you need to enable the option `BUILD_SHARED_LIBS` when building with cmake:
```bash
cmake -B build -DBUILD_SHARED_LIBS=ON && cmake --build build --parallel
```
----
## For MacOS: