cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shu Zong Chen (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CB-9352) cordova-android's build.detectArchitecture misidentifies AMD cpu as arm
Date Tue, 21 Jul 2015 18:27:04 GMT

    [ https://issues.apache.org/jira/browse/CB-9352?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14635556#comment-14635556
] 

Shu Zong Chen commented on CB-9352:
-----------------------------------

Yes, I've got a AMD laptop, and running an emulator using the "Intel Atom (x86)" CPU/ABI.

> cordova-android's build.detectArchitecture misidentifies AMD cpu as arm
> -----------------------------------------------------------------------
>
>                 Key: CB-9352
>                 URL: https://issues.apache.org/jira/browse/CB-9352
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android
>            Reporter: Shu Zong Chen
>            Priority: Minor
>              Labels: easyfix
>
> The android templates has autodetection code that determines a target architecture: see
https://github.com/apache/cordova-android/blob/4.0.2/bin/templates/cordova/lib/build.js#L565
> The problem here is only output containing the substring 'intel' is matched as 'x86',
otherwise the detected architecture is 'arm'.  This is the value of the variable output on
my (amd) machine when I'm running an avd using 'Intel Atom (x86)' image:
> {code}
> processor       : 0
> vendor_id       : AuthenticAMD
> cpu family      : 6
> model           : 3
> model name      : 06/03
> stepping        : 3
> microcode       : 0x1000065
> cpu MHz         : 0.000
> fdiv_bug        : no
> hlt_bug         : no
> f00f_bug        : no
> coma_bug        : no
> fpu             : yes
> fpu_exception   : yes
> cpuid level     : 2
> wp              : yes
> flags           : fpu de pse tsc msr pae mce cx8 apic sep pge cmov pat mmx fxsr sse sse2
pni ssse3 hypervisor
> bogomips        : 1391.00
> clflush size    : 32
> cache_alignment : 32
> address sizes   : 36 bits physical, 32 bits virtual
> power management:
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


Mime
View raw message