You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Jesse MacFadyen (JIRA)" <ji...@apache.org> on 2016/10/27 22:25:58 UTC

[jira] [Commented] (CB-9352) cordova-android's build.detectArchitecture misidentifies AMD cpu as arm

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

Jesse MacFadyen commented on CB-9352:
-------------------------------------

Low enough to close?

> 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