0
Commit Graph

11 Commits

Author SHA1 Message Date
Raul Tambre
9e24293bf2 //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-Commit-Position: refs/heads/master@{#658917}
2019-05-12 06:11:07 +00:00
Wang Qing
d25f7ccf72 [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-Commit-Position: refs/heads/master@{#588775}
2018-09-05 06:01:04 +00:00
Pierre Langlois
f7b393110c 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-Commit-Position: refs/heads/master@{#514463}
2017-11-07 14:26:17 +00:00
bjaideep
d572de4bd0 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-Commit-Position: refs/heads/master@{#422014}
2016-09-30 02:15:07 +00:00
tsergeant
9cc67cbe3e Revert of PPC/s390: [sysroot installer] Disable for host arch PPC/s390 (patchset 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-Commit-Position: refs/heads/master@{#421735}
2016-09-29 03:30:44 +00:00
bjaideep
5e5689bba0 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-Commit-Position: refs/heads/master@{#421722}
2016-09-29 02:38:14 +00:00
brendan.kirby
a321aeb236 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-Commit-Position: refs/heads/master@{#399900}
2016-06-15 15:49:25 +00:00
kaliamoorthi@chromium.org
d6bdd54a4f 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: svn://svn.chromium.org/chrome/trunk/src@282008 0039d316-1c4b-4281-b951-d872f2087c98
2014-07-09 12:06:21 +00:00
kaliamoorthi@chromium.org
645f633a1f 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: svn://svn.chromium.org/chrome/trunk/src@281999 0039d316-1c4b-4281-b951-d872f2087c98
2014-07-09 10:34:02 +00:00
thakis@chromium.org
f42db7b620 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: svn://svn.chromium.org/chrome/trunk/src@281831 0039d316-1c4b-4281-b951-d872f2087c98
2014-07-08 21:11:18 +00:00
bratell@opera.com
d2f38924e4 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: svn://svn.chromium.org/chrome/trunk/src@275361 0039d316-1c4b-4281-b951-d872f2087c98
2014-06-06 09:56:44 +00:00