commit | 6d63c3c1500a02f440dad5d907787466469c6534 | [log] [tgz] |
---|---|---|
author | Brian Ryner <bryner@google.com> | Tue Apr 20 04:15:31 2021 |
committer | LUCI CQ <infra-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Apr 20 04:15:31 2021 |
tree | 729607581de08e307e4c289de08cdb0e200afbd0 | |
parent | 5623836a96415c72d91f8f35bac65d96fbe2672e [diff] |
Add support for cross-compiling to Mac ARM64 from Mac x86-64. This CL includes changes to the recipe, ncurses, and cpython38. Follow-up CLs will address other packages, such as Python 2.7 and 3.9. Bug: 1184767 Change-Id: I077c1933adf7a59024a368ec9f757ac1caae4cb3 Reviewed-on: https://chromium-review.googlesource.com/c/infra/infra/+/2807198 Reviewed-by: Owen Rodley <orodley@chromium.org> Reviewed-by: Nico Weber <thakis@chromium.org> Commit-Queue: Brian Ryner <bryner@google.com> Cr-Commit-Position: refs/heads/master@{#40255}
Testing Welcome to the Chrome Infra repository!
Wondering where to start? Check out General Chrome Infrastructure documentation. In particular, to check out this repo and the rest of the infrastructure code, follow the instructions here. The rest of this page is specific to this repo.
sys.path
modifications.from infra.path_hacks.common import <stg>
is actually getting <stg>
from build/scripts/common.git push origin <updated hash>:deployed
git push
commandIf you've added a new module, run your tests with test.py:
*_test.py
files to this directory.Double-check that your tests are getting picked up when you want them to be: ./test.py test <path-to-package>
.
Tests still not getting picked up by test.py? Double-check to make sure you have __init__.py
files in each directory of your module so Python recognizes it as a package.
The preferred style is PEP8 with two-space indent; that is, the Chromium Python style, except functions use lowercase_with_underscores
. Use yapf (git cl format
) to autoformat new code.