Граф коммитов

11 Коммитов

Автор SHA1 Сообщение Дата
Raul Tambre 0fdfe6341a //build: Convert print statements to Python 3 style
Ran "2to3 -w -n -f print ./base" and manually added imports.
There are no intended behaviour changes.

Bug: 941669
Change-Id: Ie2830e213eae3a5d7753ce503020e02811b726d1
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1585890
Commit-Queue: Raul Tambre <raul@tambre.ee>
Reviewed-by: Nico Weber <thakis@chromium.org>
Reviewed-by: Dirk Pranke <dpranke@chromium.org>
Auto-Submit: Raul Tambre <raul@tambre.ee>
Cr-Original-Commit-Position: refs/heads/master@{#658917}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 9e24293bf2459779641201495baa3b2ae9d13cd9
2019-05-12 06:11:07 +00:00
Wang Qing 98161d0038 [MIPS64] Add mips64 for detect_host_arch and sysroot_mips64 download in DEPS.
Bug: 872560
Change-Id: I58fbd5b4252eb6eae69e13a81ac5638cd27a83ec
R: thakis@chromium.org
Reviewed-on: https://chromium-review.googlesource.com/1189518
Reviewed-by: Dirk Pranke <dpranke@chromium.org>
Commit-Queue: 汪 清 <wangqing-hf@loongson.cn>
Cr-Original-Commit-Position: refs/heads/master@{#588775}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: d25f7ccf720e520da83e610ba44b1b1274554927
2018-09-05 06:01:04 +00:00
Pierre Langlois 15ff94c12f Arm64: Fix host architecture detection
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-Original-Commit-Position: refs/heads/master@{#514463}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: f7b393110c0bc58f4fde7589397b5f931a18ea4b
2017-11-07 14:26:17 +00:00
bjaideep 13258c2137 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

Review-Url: https://codereview.chromium.org/2382883003
Cr-Original-Commit-Position: refs/heads/master@{#422014}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: d572de4bd07f6018017e705d4dd024d4b0ad82ad
2016-09-30 02:15:07 +00:00
tsergeant f3ea603ccb Revert of PPC/s390: [sysroot installer] Disable for host arch PPC/s390 (patchset #3 id:40001 of https://codereview.chromium.org/2368943005/ )
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-Original-Commit-Position: refs/heads/master@{#421735}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 9cc67cbe3ea5b54c3fc8f6793e947150182f3c2b
2016-09-29 03:30:44 +00:00
bjaideep d3f34f8dfa 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

Review-Url: https://codereview.chromium.org/2368943005
Cr-Original-Commit-Position: refs/heads/master@{#421722}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 5e5689bba0a51bad28c08bf3a3820da57a185c3b
2016-09-29 02:38:14 +00:00
brendan.kirby 922f620dc4 Detect MIPS64 hosts as "mips" architecture
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-Original-Commit-Position: refs/heads/master@{#399900}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: a321aeb2364edb926de15e1486d1f98f84d96489
2016-06-15 15:49:25 +00:00
kaliamoorthi@chromium.org 1933873ec8 Revert 281999 "Revert 281831 "Fix nacl_integration to run 32bit ..."
> Revert 281831 "Fix nacl_integration to run 32bit tests with 32bi..."
> 
> > Fix nacl_integration to run 32bit tests with 32bit userland and 64bit kernel.
> > 
> > detect_host_arch.py already knows how to figure this out, so reuse it.
> > (It could probably be used in the darwin and maybe even in the windows
> > branch too.)
> > 
> > BUG=368384
> > TEST=nacl_integration on http://build.chromium.org/p/chromium.linux/builders/Linux%20Tests%20%28dbg%29%282%29%2832%29/ goes green
> > TBR=mseaborn@chromium.org
> > 
> > Review URL: https://codereview.chromium.org/373253002
> 
> Suspect this is causing the failure http://build.chromium.org/p/chromium.win/builders/NaCl%20Tests%20%28x86-64%29/builds/13394
> 
> TBR=thakis@chromium.org
> 
> Review URL: https://codereview.chromium.org/374383002

Reverting the revert since it doesn't seem to cause the problem

TBR=kaliamoorthi@chromium.org

Review URL: https://codereview.chromium.org/378283002

git-svn-id: http://src.chromium.org/svn/trunk/src/build@282008 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-07-09 12:06:21 +00:00
kaliamoorthi@chromium.org 7039d67bbc Revert 281831 "Fix nacl_integration to run 32bit tests with 32bi..."
> Fix nacl_integration to run 32bit tests with 32bit userland and 64bit kernel.
> 
> detect_host_arch.py already knows how to figure this out, so reuse it.
> (It could probably be used in the darwin and maybe even in the windows
> branch too.)
> 
> BUG=368384
> TEST=nacl_integration on http://build.chromium.org/p/chromium.linux/builders/Linux%20Tests%20%28dbg%29%282%29%2832%29/ goes green
> TBR=mseaborn@chromium.org
> 
> Review URL: https://codereview.chromium.org/373253002

Suspect this is causing the failure http://build.chromium.org/p/chromium.win/builders/NaCl%20Tests%20%28x86-64%29/builds/13394

TBR=thakis@chromium.org

Review URL: https://codereview.chromium.org/374383002

git-svn-id: http://src.chromium.org/svn/trunk/src/build@281999 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-07-09 10:34:02 +00:00
thakis@chromium.org c455e070d2 Fix nacl_integration to run 32bit tests with 32bit userland and 64bit kernel.
detect_host_arch.py already knows how to figure this out, so reuse it.
(It could probably be used in the darwin and maybe even in the windows
branch too.)

BUG=368384
TEST=nacl_integration on http://build.chromium.org/p/chromium.linux/builders/Linux%20Tests%20%28dbg%29%282%29%2832%29/ goes green
TBR=mseaborn@chromium.org

Review URL: https://codereview.chromium.org/373253002

git-svn-id: http://src.chromium.org/svn/trunk/src/build@281831 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-07-08 21:11:18 +00:00
bratell@opera.com d60afc0a86 gyp performance: Load detect_host_arch directly.
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: http://src.chromium.org/svn/trunk/src/build@275361 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-06-06 09:56:44 +00:00