Auto merge of #18220 - cosmo0920:detect-aarch64-in-mach, r=jdm

Handle aarch64 cpu_type in mach

<!-- Please describe your changes on the following line: -->
This is a PR for #18217.

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: -->
- [ ] `./mach build -d` does not report any errors
- [ ] `./mach test-tidy` does not report any errors
- [ ] These changes fix #__ (github issue number if applicable).

<!-- Either: -->
- [ ] There are tests for these changes OR
- [x] These changes do not require tests because this patch is mach build tool fix.

<!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.-->

<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/18220)
<!-- Reviewable:end -->
This commit is contained in:
bors-servo 2017-08-24 11:10:52 -05:00 committed by GitHub
commit 6eb46b1a39

View file

@ -67,6 +67,8 @@ def host_triple():
cpu_type = "x86_64"
elif cpu_type == "arm":
cpu_type = "arm"
elif cpu_type == "aarch64":
cpu_type = "aarch64"
else:
cpu_type = "unknown"