The default bug view has changed. See this FAQ.

Save a copy of mozconfig in objdir

RESOLVED FIXED in mozilla15

Status

()

Core
Build Config
RESOLVED FIXED
5 years ago
5 years ago

People

(Reporter: sfink, Assigned: sfink)

Tracking

unspecified
mozilla15
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(Assignee)

Description

5 years ago
I have a cron job that scans through all mozilla repos I have checked out and looks in each one for an objdir. For each objdir, it triggers a nightly rebuild of whatever is in the source tree. (Some source trees also autoupdate before this step.) Currently, I have:

0 1 * * *       for o in src/*/.hg/../obj*; do ( cd $o && make -j8 -s -k > nightly-build.log 2>&1 ); done

Note that this relies on my own naming convention of $srcdir/obj or $srcdir/obj-*.

However, this breaks when configure.in changes, because I need to re-do a make -f client.mk. And I don't know what mozconfig to use for a given objdir. And I often have multiple mozconfig files lying around, some of them sharing objdirs, so I don't really want to loop over all mozconfigs instead of all objdirs.

Ok, so this is really my own problem, but if client.mk were kind enough to store the mozconfig used, then I could just use that and this would all work.
(Assignee)

Comment 1

5 years ago
Created attachment 615931 [details] [diff] [review]
save a copy of the mozconfig file in the objdir

this keeps a copy of whatever mozconfig file you used in $objdir/.mozconfig

I may be doing it the wrong way and/or using a dumb filename, but this would work for what I want.
Attachment #615931 - Flags: review?(khuey)
Attachment #615931 - Flags: review?(khuey) → review+
(Assignee)

Comment 2

5 years ago
https://hg.mozilla.org/integration/mozilla-inbound/rev/6c39b78d67c0
Target Milestone: --- → mozilla15
https://hg.mozilla.org/mozilla-central/rev/6c39b78d67c0
Status: NEW → RESOLVED
Last Resolved: 5 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.