This allows the install-sysroot.py script to run as a hook on an Arm64
platform. This was tested in v8 and allows us to run `gclient sync` natively.
Bug: v8:5075
Change-Id: Ie2f11a5a6e30973be7ab4ef032abb8c3c7e9591b
Reviewed-on: https://chromium-review.googlesource.com/756704
Reviewed-by: John Budorick <jbudorick@chromium.org>
Commit-Queue: John Budorick <jbudorick@chromium.org>
Cr-Commit-Position: refs/heads/master@{#514463}
Since PPC/s390 doesn't have the sysroot files available
on google storage, disabling it so that the script doesn't
cause gclient sync to fail when run on PPC/s390.
R=agrieve@chromium.org
BUG=
LOG=N
Review-Url: https://codereview.chromium.org/2382883003
Cr-Commit-Position: refs/heads/master@{#422014}
Reason for revert:
This causes failures in gclient runhooks on 32 bit machines:
https://build.chromium.org/p/chromium.win/builders/Win7%20%2832%29%20Tests/builds/10626
Log snippet:
running 'E:\b\depot_tools\python276_bin\python.exe src/build/linux/sysroot_scripts/install-sysroot.py
Unrecognized host arch: x86
Original issue's description:
> PPC/s390: [sysroot installer] Disable for host arch PPC/s390
>
> Since PPC/s390 doesn't have the sysroot files available
> on google storage, disabling it so that the script doesn't
> cause gclient sync to fail when run on PPC/s390.
>
> R=agrieve@chromium.org
>
> BUG=
> LOG=N
>
> Committed: https://crrev.com/5e5689bba0a51bad28c08bf3a3820da57a185c3b
> Cr-Commit-Position: refs/heads/master@{#421722}
TBR=agrieve@chromium.org,bjaideep@ca.ibm.com
# Skipping CQ checks because original CL landed less than 1 days ago.
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG=
Review-Url: https://codereview.chromium.org/2376253002
Cr-Commit-Position: refs/heads/master@{#421735}
Since PPC/s390 doesn't have the sysroot files available
on google storage, disabling it so that the script doesn't
cause gclient sync to fail when run on PPC/s390.
R=agrieve@chromium.org
BUG=
LOG=N
Review-Url: https://codereview.chromium.org/2368943005
Cr-Commit-Position: refs/heads/master@{#421722}
OCTEON II boards like the Edge Router Pro are actually MIPS64
processors. So, platform.machine() reports them as "mips64".
BUG=
Review-Url: https://codereview.chromium.org/2061893002
Cr-Commit-Position: refs/heads/master@{#399900}
We ran "python detect_host_arch.py" ~15 times from gyp. Run
detect_host_arch.py directly from from within gyp for faster execution
and since the path is no longer part of the command, the result will
also be cached more often.
The total gain is at best 0.3 seconds. For most people it will be less.
BUG=362075
Review URL: https://codereview.chromium.org/256303003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@275361 0039d316-1c4b-4281-b951-d872f2087c98