Skip to content

Commit f13cb03

Browse files
committed
lint
1 parent 56b11ca commit f13cb03

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

CMakeLists.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -683,10 +683,10 @@ if(EXECUTORCH_BUILD_PTHREADPOOL AND EXECUTORCH_BUILD_CPUINFO)
683683
endif()
684684

685685
if(EXECUTORCH_BUILD_KERNELS_TORCHAO)
686-
if (NOT TARGET cpuinfo)
686+
if(NOT TARGET cpuinfo)
687687
message(FATAL_ERROR "EXECUTORCH_BUILD_KERNELS_TORCHAO requires EXECUTORCH_BUILD_CPUINFO be set ON")
688688
endif()
689-
if (NOT TARGET pthreadpool)
689+
if(NOT TARGET pthreadpool)
690690
message(FATAL_ERROR "EXECUTORCH_BUILD_KERNELS_TORCHAO requires EXECUTORCH_BUILD_PTHREADPOOL be set ON")
691691
endif()
692692

@@ -719,7 +719,7 @@ if(EXECUTORCH_BUILD_KERNELS_TORCHAO)
719719
DESTINATION ${_common_include_directories}
720720
)
721721
# If using KleidiAI and XNNPACK has not installed it already, install it
722-
if (TORCHAO_BUILD_KLEIDIAI AND NOT (EXECUTORCH_BUILD_XNNPACK AND EXECUTORCH_XNNPACK_ENABLE_KLEIDI))
722+
if(TORCHAO_BUILD_KLEIDIAI AND NOT (EXECUTORCH_BUILD_XNNPACK AND EXECUTORCH_XNNPACK_ENABLE_KLEIDI))
723723
install(
724724
TARGETS kleidiai
725725
EXPORT ExecuTorchTargets

examples/models/llama/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ if(TARGET custom_ops)
115115
list(APPEND link_libraries custom_ops)
116116
endif()
117117

118-
if (TARGET torchao_ops_executorch)
118+
if(TARGET torchao_ops_executorch)
119119
executorch_target_link_options_shared_lib(torchao_ops_executorch)
120120
list(APPEND link_libraries torchao_ops_executorch)
121121
endif()

0 commit comments

Comments
 (0)