[
https://issues.apache.org/jira/browse/CB-1199?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13429467#comment-13429467
]
Herm Wong commented on CB-1199:
-------------------------------
follow the instructions in *Building* section:
https://developer.mozilla.org/en-US/docs/Mozilla/Boot_to_Gecko/Building_Boot_to_Gecko
**NOTES**
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 "./build.sh -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 "./build.sh" to use all of your CPU cores).
I found that the build would lock up when using "./build.sh" but had no
problems building with "./build.sh -j2".
If you keep running into problems while attempting your build you can use
"./build.sh -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: https://issues.apache.org/jira/browse/CB-1199
> 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:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira