Uploaded image for project: 'WiredTiger'
  1. WiredTiger
  2. WT-10490

Integrate GCP SDK and extensions with CMake Build System

    • Type: Icon: New Feature New Feature
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • WT11.2.0, 6.3.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • 5
    • StorEng - 2023-01-24, StorEng - 2023-02-07

      This ticket aims to integrate the GCP SDK and extension with the CMake Build system and implement it. The design will follow very similarly to S3 CMake Integration which can be used as a reference while implementing this ticket. The ticket will create two configurations.

          cmake -DENABLE_GCP=1 <path-to-source>
      
          cmake -DIMPORT_GCP_SDK={external,package} <path-to-source>
      

      The first configuration would configure the extension to be built or not built with WiredTiger. The configuration will be default to be not built unless specified.

      The second configuration would create the ability to fetch the SDK externally and bring it into the build directory. The CMake configuration will default to not fetch the SDK because it can be potentially quite large. The ticket will use CMake's concept of FetchContent to externally grab the SDK and then build the SDK.

      I have attached a POC GCP cmake SDK, please continue the work of it and read the investigation ticket that followed into this ticket.

      Definition of Done
      Developers will be able to use the new configurations in CMake to able to fetch both provider's SDK without any external dependencies.

            Assignee:
            sona.reddy@mongodb.com Sona Reddy (Inactive)
            Reporter:
            jie.chen@mongodb.com Jie Chen
            Jasmine Bi
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: