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

Integrate Azure SDK and extensions with CMake Build System

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

      This ticket aims to integrate the Azure 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_AZURE=1 <path-to-source>
       
          cmake -DIMPORT_AZURE_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 Azure 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.

        1. azure_sdk.cmake
          3 kB
          Jie Chen

            Assignee:
            lachlan.ting@mongodb.com Lachlan Ting (Inactive)
            Reporter:
            jie.chen@mongodb.com Jie Chen
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: