nixpkgs/pkgs/development/python-modules/mlx/disable-accelerate.patch
2024-02-05 14:13:56 +11:00

14 lines
419 B
Diff

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 2d6bef9..d099673 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -104,7 +104,7 @@ elseif (MLX_BUILD_METAL)
${QUARTZ_LIB})
endif()
-find_library(ACCELERATE_LIBRARY Accelerate)
+#find_library(ACCELERATE_LIBRARY Accelerate)
if (MLX_BUILD_ARM AND ACCELERATE_LIBRARY)
message(STATUS "Accelerate found ${ACCELERATE_LIBRARY}")
set(MLX_BUILD_ACCELERATE ON)