Difference between revisions of "BuildSpeedup"

From Apache OpenOffice Wiki
Jump to: navigation, search
(How to report build profile logs)
Line 5: Line 5:
 
# Apply the latest patch from http://www.openoffice.org/issues/show_bug.cgi?id=60948 to your source tree
 
# Apply the latest patch from http://www.openoffice.org/issues/show_bug.cgi?id=60948 to your source tree
 
# in the dmake directory type "make clean; make". In the root directory type "./bootstrap"
 
# in the dmake directory type "make clean; make". In the root directory type "./bootstrap"
# When building redirect stderr and stdout to the logfile. In tcsh "build --all |& tee >myconfigdesc_build.log" will do the trick. You can alternatively use cat instead of tee to speed up the build slightly. You need to build in a single go.
+
# When building redirect stderr and stdout to the logfile. In tcsh "build --all |& tee myconfigdesc_build.log" will do the trick. You can alternatively use cat instead of tee to speed up the build slightly. You need to build in a single go.
 
# Check that the log contains markers like "s target 1234 foo.obj". If not, then report
 
# Check that the log contains markers like "s target 1234 foo.obj". If not, then report
 
# Compress the log with zip/gz
 
# Compress the log with zip/gz

Revision as of 03:38, 11 February 2006

How to report build profile logs

Thank you for sending in a build profile log. The more logs we have, the easier it is to focus our effort correctly. Here are the steps to producing a build log:

  1. Apply the latest patch from http://www.openoffice.org/issues/show_bug.cgi?id=60948 to your source tree
  2. in the dmake directory type "make clean; make". In the root directory type "./bootstrap"
  3. When building redirect stderr and stdout to the logfile. In tcsh "build --all |& tee myconfigdesc_build.log" will do the trick. You can alternatively use cat instead of tee to speed up the build slightly. You need to build in a single go.
  4. Check that the log contains markers like "s target 1234 foo.obj". If not, then report
  5. Compress the log with zip/gz
  6. When you send in your log to mailto:kai@shorthike.com please provide a short description of the build type:
    • Important configure options (like --with-lang=?)
    • OS/compiler/generic hardware description
    • Processor/core count. -P options used for build (important!)
    • No-change, partial or full build (we are especially looking for full builds)
    • External accelerators like ccache

Thank you again for contributing! --KaiB 16:25, 25 January 2006 (CET)

Notes

This is a workarea for ideas and notes regarding the speeding up of the build process. --KaiB 12:50, 16 January 2006 (CET)

Notes:

  • Newest dmake version: cws_src680_dmake43p01)
  • solenv/inc define global targets
  • potential modules: KaiB: transex3, tools, svx, binfilter - small to huge :)
  • helpcontent2 --with-lang=ALL (there are open issues on this already)
  • batched compiles
  • Interix instead of cygwin
  • dependency generation

Existing possibly useful Build Speed related tweaks:

  • export nodep=true
  • export NO_HIDS=true
  • build.pl -P parallel flag
  • dmake -P parallel flag and/or MAXPROCESS (cws_src680_dmake43p01 has fixes for some problems there)
  • dmake -s flag for less verbose output
  • for gcj users targetedaot workspace to ahead of time compile (only) HelpLinker and FCFGMerge java build tools

transex3

Started by tackling this small module. Initial full compile time was 137 sec.

Personal tools