Skip to content

Commit

Permalink
Update to MLX 974bb54
Browse files Browse the repository at this point in the history
  • Loading branch information
zcbenz committed Dec 7, 2024
1 parent 39c6258 commit 6ce3111
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,11 @@ target_sources(${PROJECT_NAME} PRIVATE ${SOURCE_FILES})
# Use kizunapi.
target_include_directories(${PROJECT_NAME} PRIVATE "deps/kizunapi")

# Work around https://github.com/ml-explore/mlx/pull/1625.
if(${CMAKE_SYSTEM_NAME} MATCHES "Darwin" AND ${CMAKE_SYSTEM_PROCESSOR} MATCHES "x86_64")
set(ACCELERATE_LIBRARY OFF)
endif()

# Link with MLX.
option(MLX_BUILD_TESTS "Build tests for mlx" OFF)
option(MLX_BUILD_EXAMPLES "Build examples for mlx" OFF)
Expand Down
2 changes: 1 addition & 1 deletion deps/mlx
Submodule mlx updated 1 files
+1 −7 CMakeLists.txt

0 comments on commit 6ce3111

Please sign in to comment.