Closed Bug 572529 Opened 10 years ago Closed 9 years ago

Make it even easier to build with pymake

Categories

(Firefox Build System :: General, defect)

x86
Windows XP
defect
Not set

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: neil, Assigned: neil)

References

Details

Attachments

(1 file)

The instructions to build with pymake used to be quite complex:
# Switch to the root of the source directory, then run autoconf-2.13
# Change to js/src and run autoconf-2.13 again
# Create your objdir
# Change to your objdir and run path_to_srcdir/configure
# Run python -O path_to_srcdir/build/pymake/make.py
(add makeflags to taste).
It turns out that it's somewhat easier than that:
# Add MOZ_OBJDIR=. to your .mozconfig
# Create your objdir
# Change to your objdir and run python -O path_to_srcdir/build/pymake/make.py -f path_to_srcdir/client.mk TOPSRCDIR=path_to_srcdir/
However we can eliminate the use of TOPSRCDIR by automatically detecting it, and also set MOZ_OBJDIR at the same time.
Attached patch Proposed patchSplinter Review
Assignee: nobody → neil
Status: NEW → ASSIGNED
Attachment #451713 - Flags: review?(ted.mielczarek)
Comment on attachment 451713 [details] [diff] [review]
Proposed patch

Clever!
Attachment #451713 - Flags: review?(ted.mielczarek) → review+
rs+=me for a c-c copy of this patch btw.
Pushed changeset ea59b927d99f to mozilla-central.
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Blocks: 592575
Product: Core → Firefox Build System
You need to log in before you can comment on or make changes to this bug.