Skip to content

Commit fb45e19

Browse files
authored
Disable executor_runner for iOS builds (#10435)
### Summary Fixes an issue introduced in #10320 ### Test plan CI ``` $ ./scripts/build_apple_frameworks.sh --Release --Debug --coreml --custom --mps --optimized --portable --quantized --xnnpack ```
1 parent 5805786 commit fb45e19

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

CMakeLists.txt

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -665,7 +665,10 @@ install(FILES tools/cmake/executorch-config.cmake DESTINATION lib/cmake/ExecuTor
665665
#
666666
# executor_runner: Host tool that demonstrates program execution.
667667
#
668-
option(EXECUTORCH_BUILD_EXECUTOR_RUNNER "Build the executor_runner executable" ON)
668+
cmake_dependent_option(
669+
EXECUTORCH_BUILD_EXECUTOR_RUNNER "Build the executor_runner executable" ON
670+
"NOT CMAKE_TOOLCHAIN_IOS" OFF
671+
)
669672

670673
# Add googletest if any test targets should be built
671674
if(BUILD_TESTING)

0 commit comments

Comments
 (0)