clang/mac/arm: make package.py runnable on arm
We won't need this on the bots soon, but it's useful for running
the script locally to collect data like
- Use a newer cmake that has a universal binary
- Don't run all tests on arm since not all of them pass yet
- Minor adjustments to some conditionals
At some point, we'll have to explicitly set the default triple,
since at the moment the cross-built arm clang has a default intel
triple, but the arm-built arm clang has a default arm triple.
(Chromium's build passes an explicit triple, so it doesn't affect
No behavior change when running the script on an intel machine.
Reviewed-by: Hans Wennborg <email@example.com>
Commit-Queue: Nico Weber <firstname.lastname@example.org>
Auto-Submit: Nico Weber <email@example.com>
2 files changed