Uploaded image for project: 'Couchbase Server'
  1. Couchbase Server
  2. MB-38077

Investigate using Unity build to speed up CV build time

    XMLWordPrintable

Details

    • Task
    • Resolution: Fixed
    • Major
    • 7.1.0
    • None
    • couchbase-bucket
    • None

    Description

      CMake 3.16 (Nov 2019) natively supports unity builds - where multiple source files are combined into a single compilation unit for faster compilation times.

      Speedups are claimed to be of the order of 3-4x.

      We should investigate unity builds for CB Server to see how much of a speedup they give us. If it's a significant gain we should look at enabling unity builds for CV jobs.

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              drigby Dave Rigby (Inactive)
              drigby Dave Rigby (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty