incubator-callback-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Herm Wong (JIRA)" <>
Subject [jira] [Commented] (CB-1199) Build the B2G source
Date Mon, 06 Aug 2012 21:53:02 GMT


Herm Wong commented on CB-1199:

follow the instructions in *Building* section:


I had to use the following commands to successfully build on my Macbook Pro.

1. type "ccache -M --max-size=0" & press enter, this creates an unlimited buffer size
for the building process

2. type "ccache -C" & press enter, this will clear the build cache

3. type "./ -j2" & press enter, this tells the build script to only use 2 CPU
cores (you can use -jX to specify the number of cores you wish to use or just type "./"
to use all of your CPU cores).

I found that the build would lock up when using "./" but had no problems building
with "./ -j2".

If you keep running into problems while attempting your build you can use "./ -j1
showcommand" to force the build to run on 1 core (no parallel processing) and get a verbose
output in the terminal of what is happening during the build process.
> Build the B2G source
> --------------------
>                 Key: CB-1199
>                 URL:
>             Project: Apache Cordova
>          Issue Type: Sub-task
>            Reporter: Herm Wong
>            Assignee: Herm Wong

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


View raw message