Closed Bug 1477332 Opened 6 years ago Closed 6 years ago

add aarch64 to mozinfo's known list of 64-bit cpus

Categories

(Firefox Build System :: General, enhancement)

enhancement
Not set
normal

Tracking

(firefox63 fixed)

RESOLVED FIXED
mozilla63
Tracking Status
firefox63 --- fixed

People

(Reporter: froydnj, Assigned: froydnj)

Details

Attachments

(1 file)

      No description provided.
Might as well.
Attachment #8993759 - Flags: review?(core-build-config-reviews)
Comment on attachment 8993759 [details] [diff] [review]
add aarch64 to mozinfo's known list of 64-bit cpus

Review of attachment 8993759 [details] [diff] [review]:
-----------------------------------------------------------------

::: python/mozbuild/mozbuild/mozinfo.py
@@ +64,5 @@
>      if p.startswith("arm"):
>          p = "arm"
>      elif re.match("i[3-9]86", p):
>          p = "x86"
>      d["processor"] = p

This would leave `d["processor"]` as `aarch64`. Is that desired? Or should we make it `arm`? (Genuinely wondering; I don't know what the answer should be.)
(In reply to David Major [:dmajor] from comment #2)
> Comment on attachment 8993759 [details] [diff] [review]
> add aarch64 to mozinfo's known list of 64-bit cpus
> 
> Review of attachment 8993759 [details] [diff] [review]:
> -----------------------------------------------------------------
> 
> ::: python/mozbuild/mozbuild/mozinfo.py
> @@ +64,5 @@
> >      if p.startswith("arm"):
> >          p = "arm"
> >      elif re.match("i[3-9]86", p):
> >          p = "x86"
> >      d["processor"] = p
> 
> This would leave `d["processor"]` as `aarch64`. Is that desired? Or should
> we make it `arm`? (Genuinely wondering; I don't know what the answer should
> be.)

`aarch64`.startswith(`arm`) is False, so I think that's the desired behavior.  They are two separate architectures, after all.
Attachment #8993759 - Flags: review?(core-build-config-reviews) → review+
Pushed by nfroyd@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/165ba091863c
add aarch64 to mozinfo's known list of 64-bit cpus; r=chmanchester
https://hg.mozilla.org/mozilla-central/rev/165ba091863c
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla63
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: