fix generate-code caching by indicating that the binary is an executable
Pull Request resolved: https://github.com/pytorch/pytorch/pull/79625
Per Josiah Gaskin's followup on
https://www.internalfb.com/intern/qa/365579, using $(exe ...) instead
of $(location ...) should address the caching behavior.
@override-unit-failures
(Note: this ignores all push blocking failures!)
Differential Revision: [D36970846](https://our.internmc.facebook.com/intern/diff/D36970846/)
**NOTE FOR REVIEWERS**: This PR has internal Facebook specific changes or comments, please review them on [Phabricator](https://our.internmc.facebook.com/intern/diff/D36970846/)!
Approved by: https://github.com/malfet
Author
Michael Andreas Dagitses