SIGN IN SIGN UP

Fix missing prim_ops symbols for executorch OSS build (#1594)

Summary:
The symbols in kernels/prim_ops might be dropped because it's in `executorch` lib directly, and we didn't have `--whole-archive` flag for that. Use `target_link_options_shared_lib` for `executorch` as well.

Also add `executorch` to `xnn_executor_runner` to avoid duplicated srcs.

Pull Request resolved: https://github.com/pytorch/executorch/pull/1594

Test Plan: fb: `cmake-out/executor_runner --model_path stories110M.pte`

Reviewed By: larryliu0820

Differential Revision: D52857451

Pulled By: kirklandsign

fbshipit-source-id: 0aaa8909cfd73bdfed4bba95c74d396e2ff31efd
H
Hansong Zhang committed
41fe5d2e0cdde32460b6393b1d987993850f6641
Parent: bd024e5
Committed by Facebook GitHub Bot <facebook-github-bot@users.noreply.github.com> on 1/18/2024, 1:30:20 AM