Skip to content

Commit 046b989

Browse files
committed
Update
[ghstack-poisoned]
2 parents 533901d + 1816540 commit 046b989

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

CMakeLists.txt

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -576,7 +576,7 @@ if(EXECUTORCH_BUILD_EXTENSION_MODULE)
576576
FILES_MATCHING
577577
PATTERN "*.h"
578578
)
579-
list(APPEND _executorch_extensions extension_module_static)
579+
list(APPEND _executorch_extensions extension_module_static)
580580
endif()
581581

582582
if(EXECUTORCH_BUILD_EXTENSION_LLM)
@@ -735,7 +735,10 @@ target_link_libraries(executorch_extensions INTERFACE ${_executorch_extensions})
735735

736736
# A target containing all configured kernels, with selective build, if enabled.
737737
add_library(executorch_kernels INTERFACE)
738-
if(NOT EXECUTORCH_SELECT_OPS_YAML STREQUAL "" OR NOT EXECUTORCH_SELECT_OPS_LIST STREQUAL "" OR NOT EXECUTORCH_SELECT_OPS_MODEL STREQUAL "")
738+
if(NOT EXECUTORCH_SELECT_OPS_YAML STREQUAL ""
739+
OR NOT EXECUTORCH_SELECT_OPS_LIST STREQUAL ""
740+
OR NOT EXECUTORCH_SELECT_OPS_MODEL STREQUAL ""
741+
)
739742
gen_selected_ops(
740743
LIB_NAME
741744
"executorch_selected_kernels"
@@ -837,7 +840,10 @@ if(EXECUTORCH_BUILD_EXECUTOR_RUNNER)
837840
endif()
838841

839842
set(CMAKE_EXECUTABLE_SUFFIX ".html")
840-
target_link_options(executor_runner PUBLIC -sALLOW_MEMORY_GROWTH --embed-file "${WASM_MODEL_DIR}@/")
843+
target_link_options(
844+
executor_runner PUBLIC -sALLOW_MEMORY_GROWTH --embed-file
845+
"${WASM_MODEL_DIR}@/"
846+
)
841847
endif()
842848
endif()
843849

0 commit comments

Comments
 (0)