depot/third_party/nixpkgs/pkgs/development/python-modules/mlx/disable-accelerate.patch
Default email c7cb07f092 Project import generated by Copybara.
GitOrigin-RevId: 1536926ef5621b09bba54035ae2bb6d806d72ac8
2024-02-29 21:09:43 +01:00

13 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)