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

Changing PREFIX causes relinking due to dependency on resmoke.ini

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Gone away
    • Icon: Major - P3 Major - P3
    • None
    • None
    • Build
    • None
    • Server Development Platform
    • ALL
    • Dev Platform 2020-03-09

    Description

      When we added resmoke.ini, we made the result of all .Program builder invocations depend on it, so that we could be sure it always existed and reflected the PREFIX of the latest build.

      This has the inadvertent consequence that if you change PREFIX, all of your binaries become out of date and are relinked, even though they really could just be copied to the new PREFIX as is.

      This has real consequences in the CI loop, where we do a second build of the tree with a different PREFIX (due to use of --legacy-tarball. As a result, the package step is slow because all the distribution binaries get relinked.

      We should find a different mechanism for ensuring that resmoke.ini is created that doesn't have this unfortunate effect.

      Attachments

        Activity

          People

            backlog-server-devplatform [DO NOT ASSIGN] Backlog - Server Development Platform Team (SDP) (Inactive)
            andrew.morrow@mongodb.com Andrew Morrow (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: