Fix cmake

This commit is contained in:
rocking
2024-10-24 11:44:55 +00:00
parent 1e6814a6bd
commit 1684d71a3f

View File

@@ -15,8 +15,8 @@ list(APPEND TILE_RMSNORM2D_FWD_COMPILE_OPTIONS -Wno-undefined-func-template -Wno
target_compile_options(${TILE_RMSNORM2D_FWD} PRIVATE ${TILE_RMSNORM2D_FWD_COMPILE_OPTIONS})
set(EXAMPLE_RMSNORM2D_FWD "tile_example_rmsnorm2d_fwd")
add_executable(EXAMPLE_RMSNORM2D_FWD EXCLUDE_FROM_ALL example_rmsnorm2d_fwd.cpp)
target_compile_options(EXAMPLE_RMSNORM2D_FWD PRIVATE ${TILE_RMSNORM2D_FWD_COMPILE_OPTIONS})
add_executable(${EXAMPLE_RMSNORM2D_FWD} EXCLUDE_FROM_ALL example_rmsnorm2d_fwd.cpp)
target_compile_options(${EXAMPLE_RMSNORM2D_FWD} PRIVATE ${TILE_RMSNORM2D_FWD_COMPILE_OPTIONS})
# TODO: we have to turn off this global prop, otherwise the progress bar generated
# by cmake will print too many files, execvp: /bin/sh: Argument list too long