This commit is contained in:
Awni Hannun
2025-10-20 09:51:30 -07:00
parent ec4c85d786
commit 73613c4d15
6 changed files with 45 additions and 6 deletions

View File

@@ -88,6 +88,11 @@ cmake_policy(SET CMP0135 NEW)
add_library(mlx)
# Supress warnings: note: parameter passing for argument of type
# std::pair<float, float> when C++17 is enabled changed to match C++14 in GCC
# 10.1
target_compile_options(mlx PRIVATE -Wno-psabi)
if(MLX_BUILD_CUDA)
enable_language(CUDA)
endif()