Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-99520

Improve reuse of local build artifacts in compile_all_but_not_unittests, at least for required Windows compile

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 8.1.0-rc0
    • Affects Version/s: None
    • Component/s: Build
    • None
    • Build
    • Fully Compatible

      The changes from b1b6cf0 as part of SERVER-98484 made it so the compile_all_but_not_unittests Evergreen task runs with --debug-symbols=off. This prevents the local build artifacts from being reused because earlier tasks in the task group ran with --debug-symbols=on. This issue causes compile_all_but_not_unittests on Windows to often the rate-limiting step for patch build completion times, even after moving the machines to NVMe instances (SERVER-98922).

      One proposed idea is to compile with debug symbols enabled on Windows and have the linker strip them out. Another proposed idea would be to compile with debug symbols enabled on Windows and restructure the Evergreen project configuration to run the current configuration on other build variants. (The changes in SERVER-98484 were originally made to address out of disk space errors on other build variants.)

            Assignee:
            zack.winter@mongodb.com Zack Winter
            Reporter:
            max.hirschhorn@mongodb.com Max Hirschhorn
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: