[CoreML][OSS] Integrate with CMake (#64523)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/64523
- Build Pytorch with CoreML delegate - ` USE_PYTORCH_METAL=ON python setup.py install --cmake`
- Build iOS static libs - `IOS_PLATFORM=SIMULATOR USE_COREML_DELEGATE=1 ./scripts/build_ios.sh`
ghstack-source-id: 138324216
Test Plan:
- Test the Helloword example
{F657778559}
Reviewed By: iseeyuan
Differential Revision: D30594041
fbshipit-source-id: 8cece0b2d4b3ef82d3ef4da8c1054919148beb16