From fac6d990e8df13ac86eb36291e83c123151e6447 Mon Sep 17 00:00:00 2001 From: Mengwei Liu Date: Thu, 11 Apr 2024 14:46:57 -0700 Subject: [PATCH] Fix build-framework-ios CI job (#2996) Summary: As titled. `build_apple_frameworks.sh` is copying all the exported headers out and in #2934 `//executorch/schema:program` is being moved to `exported_deps` and causing `build_apple_frameworks.sh` to not able to copy generated headers `program_generated.h` and `scalar_type_generated.h`. This PR fixes it by moving it back to `deps`. Pull Request resolved: https://github.com/pytorch/executorch/pull/2996 Reviewed By: kirklandsign Differential Revision: D56028952 Pulled By: larryliu0820 fbshipit-source-id: 2cd4999154877b0ac7b49cd1f54d518cba34b2f2 (cherry picked from commit 3b727a785cf3faac498065a80fdc0e24be6c16f7) --- runtime/executor/targets.bzl | 2 ++ 1 file changed, 2 insertions(+) diff --git a/runtime/executor/targets.bzl b/runtime/executor/targets.bzl index 0f451b1a70a..46f997a80ad 100644 --- a/runtime/executor/targets.bzl +++ b/runtime/executor/targets.bzl @@ -84,6 +84,8 @@ def define_common_targets(): "//executorch/runtime/kernel:operator_registry", "//executorch/runtime/platform:platform", "//executorch/schema:extended_header", + ], + deps = [ "//executorch/schema:program", ], visibility = [