Closed Bug 761454 Opened 12 years ago Closed 12 years ago

set MOZ_PKG_SPECIAL for armv6 mozconfigs to distinguish them from armv7 android builds

Categories

(Firefox Build System :: General, defect)

x86_64
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
mozilla16

People

(Reporter: ted, Assigned: ted)

References

Details

Attachments

(1 file, 1 obsolete file)

Currently if we start producing armv6 android builds the package name comes out the same as our existing builds. We should tack the MOZ_ARCH value onto the package name, but only if it's explicitly specified.
Assignee: nobody → ted.mielczarek
I don't actually have my Android build environment here, but I configured a Mac build --with-arch=core2 and verified that $(PACKAGE) comes out as expected.
Attachment #632765 - Flags: review?(mh+mozilla)
Comment on attachment 632765 [details] [diff] [review]
package name should include MOZ_ARCH value if it's explicitly specified

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

I think I would be more comfortable with a completely separate variable. I don't think we need a complete configure option, but just AC_SUBSTing a variable that we'd export from mozconfig. The reason is that there is more than --with-arch that may change. As a matter of fact, we could also do armv7+neon builds, for example, which wouldn't even change --with-arch.
Attachment #632765 - Flags: review?(mh+mozilla) → review-
In that case, we can just use the already-existing MOZ_PKG_SPECIAL here, since that already works in mozconfigs:
http://mxr.mozilla.org/mozilla-central/source/browser/config/mozconfigs/macosx-universal/shark#22
Summary: package name should include MOZ_ARCH value if it's explicitly specified → set MOZ_PKG_SPECIAL for armv6 mozconfigs to distinguish them from armv7 android builds
Attachment #632765 - Attachment is obsolete: true
Simple, should work fine.
Attachment #633991 - Flags: review?(mh+mozilla)
Attachment #633991 - Flags: review?(mh+mozilla) → review+
https://hg.mozilla.org/mozilla-central/rev/f1a89d9008c8
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla16
Comment on attachment 633991 [details] [diff] [review]
distinguish armv6 builds from armv7 builds by changing package name

[Approval Request Comment]
Bug caused by (feature/regressing bug #): 
User impact if declined: can't ship ARMv6 along side ARMv7
Testing completed (on m-c, etc.): landed on m-c when it was Fx16
Risk to taking this patch (and alternatives if risky): 
String or UUID changes made by this patch:
Attachment #633991 - Flags: approval-mozilla-beta?
This patch has zero risk to shipping builds. It only impacts the armv6 build configuration, which is only being built on trunk.
Comment on attachment 633991 [details] [diff] [review]
distinguish armv6 builds from armv7 builds by changing package name

build config only change, approving.
Attachment #633991 - Flags: approval-mozilla-beta? → approval-mozilla-beta+
Product: Core → Firefox Build System
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: