mirror of
https://github.com/ml-explore/mlx.git
synced 2025-07-06 17:31:13 +08:00
formatting fix
This commit is contained in:
parent
c327cdab47
commit
d5cfa0a2b0
@ -28,7 +28,8 @@ macro(mlx_build_metallib)
|
|||||||
# Collect compile options
|
# Collect compile options
|
||||||
set(MTLLIB_COMPILE_OPTIONS -Wall -Wextra -fno-fast-math -Wno-c++17-extensions)
|
set(MTLLIB_COMPILE_OPTIONS -Wall -Wextra -fno-fast-math -Wno-c++17-extensions)
|
||||||
if(MLX_METAL_DEBUG OR MTLLIB_DEBUG)
|
if(MLX_METAL_DEBUG OR MTLLIB_DEBUG)
|
||||||
set(MTLLIB_COMPILE_OPTIONS ${MTLLIB_COMPILE_OPTIONS} -gline-tables-only -frecord-sources)
|
set(MTLLIB_COMPILE_OPTIONS ${MTLLIB_COMPILE_OPTIONS} -gline-tables-only
|
||||||
|
-frecord-sources)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
# Prepare metallib build command
|
# Prepare metallib build command
|
||||||
|
Loading…
Reference in New Issue
Block a user