SIGN IN SIGN UP

Update llama cmake for custom ops (#10176)

Fix https://github.com/pytorch/executorch/issues/10166

target_link_options_shared_lib has different behavior for macos and
other platforms; seems like whole-archive was causing issues.

Test Plan
`sh .ci/scripts/test_llama_torchao_lowbit.sh`

https://github.com/pytorch/executorch/blob/main/examples/models/llama/README.md#running-with-low-bit-kernels
L
lucylq committed
580942864a480e4975b0e3ef4509485f6a794879
Parent: fc01661
Committed by GitHub <noreply@github.com> on 4/15/2025, 4:10:38 PM