Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Build macOS CLI artefacts for arm64 (#352)
Summary: As noted on #345 (comment), that PR did not update the CLI artefacts to build for arm64. I think there’s an opportunity to reduce the amount of separate builds and package both the runtime package and CLI from the same artefacts while also reducing build time, but for now I’d like to ensure the CLI tools at least also come with arm64 slices. Pull Request resolved: #352 Test Plan: Tested on a DTK machine: ``` $ ditto --arch arm64 package/osx-bin/hermes package/osx-bin/hermes-arm64 $ file package/osx-bin/hermes-arm64 package/osx-bin/hermes-arm64: Mach-O 64-bit executable arm64 $ echo "'use strict'; function hello() { print('Hello World'); } hello();" | ./package/osx-bin/hermes-arm64 >> Hello World undefined >> ``` Reviewed By: Huxpro Differential Revision: D23709228 Pulled By: tmikov fbshipit-source-id: 881deab450d4f9005cdc2ce9ce292b1ba46bd455
- Loading branch information