Closed Bug 1084312 Opened 11 years ago Closed 11 years ago

Allow customized ccache path in the .userconfig file

Categories

(Firefox OS Graveyard :: General, defect)

x86
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: TYLin, Assigned: TYLin)

Details

Attachments

(1 obsolete file)

We could customize ccache path by add a variable CCACHE_PATH in [1]. ac_add_options --with-ccache="$CCACHE_PATH" In this way, we could use distcc by setting "export CCACHE_PATH=/usr/local/bin/distcc" in .userconfig. [1] https://github.com/mozilla-b2g/gonk-misc/blob/master/default-gecko-config#L33
Attached file Github pull request #202 (obsolete) —
Assignee: nobody → tlin
Status: NEW → ASSIGNED
Attachment #8506805 - Flags: review?(mh+mozilla)
Attachment #8506805 - Flags: review?(mh+mozilla) → review?(mwu)
Comment on attachment 8506805 [details] [review] Github pull request #202 CCACHE_PATH happens to be an environment variable which has other meaning. [1] It's not good to use CCACHE_PATH here. [1] http://ccache.samba.org/manual-3.0pre1.html#_extra_options
Attachment #8506805 - Flags: review?(mwu)
Actually, to use distcc with ccache, we could set export CCACHE_PREFIX="distcc" in .userconfig as described in [1]. No need to modify the default-gecko-config. [1] http://ccache.samba.org/manual-3.0pre1.html#_using_ccache_with_distcc
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → WORKSFORME
Attachment #8506805 - Attachment is obsolete: true
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: