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

Add CLANG_C/CXX_VERSION compile flags to the configure wiredtiger task

    • Storage Engines
    • 3
    • Joker - StorEng - 2023-10-17, Asparagus-StorEng - 2023-10-31, 2024-01-09 - I Grew Tired, StorEng - 2024-01-23
    • v7.0, v6.0

      In the compile-clang task we provide the following expansions
          CLANG_C_VERSION: -DCLANG_C_VERSION=6.0
          CLANG_CXX_VERSION: -DCLANG_CXX_VERSION=6.0

      but don't evaluate them in the configure wiredtiger task which means our compile tasks fall back on the default version of clang instead of the version we want to test. To fix this we need to update configure wiredtiger to accept these variables in the same manner GCC_C_VERSION and GCC_CXX_VERSION are currently implemented.

      We intentionally don't use the mongotoolchain for these tests, so we need to update the variants on this branch and older branches as well as adding a comment explaining why we don't want the mongotoolchain.

            Assignee:
            andrew.morton@mongodb.com Andrew Morton
            Reporter:
            andrew.morton@mongodb.com Andrew Morton
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: