Make it even easier to build with pymake

RESOLVED FIXED

Status

()

Core
Build Config
RESOLVED FIXED
8 years ago
7 years ago

People

(Reporter: neil@parkwaycc.co.uk, Assigned: neil@parkwaycc.co.uk)

Tracking

Trunk
x86
Windows XP
Points:
---
Dependency tree / graph

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(Assignee)

Description

8 years ago
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.
(Assignee)

Comment 1

8 years ago
Created attachment 451713 [details] [diff] [review]
Proposed patch
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.
(Assignee)

Comment 4

7 years ago
Pushed changeset ea59b927d99f to mozilla-central.
Status: ASSIGNED → RESOLVED
Last Resolved: 7 years ago
Resolution: --- → FIXED

Updated

7 years ago
Blocks: 592575
You need to log in before you can comment on or make changes to this bug.