Uploaded image for project: 'Libmongocrypt'
  1. Libmongocrypt
  2. MONGOCRYPT-178

Consolidate download/build of C driver into one place

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 1.0.0-beta5
    • Affects Version/s: None
    • Component/s: Build
    • Labels:
      None

      After the changes for CDRIVER-3047 were pushed and subsequently as part of resolving MONGOCRYPT-87, it became evident that there are at least two places where the C driver is downloaded/built within libmongocrypt (once for the standard libmongocrypt build and again for the Node bindings). NODE-2159 was filed as a result. However, a more robust and comprehensive solution is needed.

      Specifically, the download and build of the C driver should be controlled by a single script which downloads the C driver code based on a Git tag or commit hash, builds it with the appropriate options, and installs it in the build environment. This script can be invoked from any Evergreen task that requires the C driver as part of its sequence.

            Assignee:
            roberto.sanchez@mongodb.com Roberto Sanchez
            Reporter:
            roberto.sanchez@mongodb.com Roberto Sanchez
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: