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

Check if a CMake message regarding build mode is expected during compilation

    • 3
    • Storage - Ra 2022-05-30

      I observed the following when analyzing WT-9302:

      [2022/05/09 08:23:20.952] =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
      [2022/05/09 08:23:20.952] Performing compatibility tests for WiredTiger standalone releases
      [2022/05/09 08:23:20.952] =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
      [2022/05/09 08:23:20.955] =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
      [2022/05/09 08:23:20.955] Building branch: "develop"
      [2022/05/09 08:23:20.955] =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
      [2022/05/09 08:23:37.824] ==========================================================
      [2022/05/09 08:23:37.824] CMake and CTest environment variables, paths and versions:
      [2022/05/09 08:23:37.824] CMAKE: /opt/cmake/bin/cmake
      [2022/05/09 08:23:37.824] CTEST: /opt/cmake/bin/ctest
      [2022/05/09 08:23:37.826] /opt/cmake/bin/cmake
      [2022/05/09 08:23:37.826] /opt/cmake/bin/ctest
      [2022/05/09 08:23:37.826] cmake version 3.11.0
      [2022/05/09 08:23:37.826] CMake suite maintained and supported by Kitware (kitware.com/cmake).
      [2022/05/09 08:23:39.820] ctest version 3.11.0
      [2022/05/09 08:23:39.820] CMake suite maintained and supported by Kitware (kitware.com/cmake).
      [2022/05/09 08:23:50.613] test/evergreen/compatibility_test_for_releases.sh -w
      [2022/05/09 08:23:50.613] VERBOSESkipping build mode definition due to unmet dependencies: MSan 

      The last line seems to be unexpected. We should investigate to understand why this is printed out.

      To reproduce it, run the following command from your build directory:

      cmake -G Ninja ../. && ninja

      Definition of done:

      Make sure the message is expected, if not, modify the CMake files so it is only printed when supposed to. Make sure all the build types still work if any change is done.

            Assignee:
            sean.watt@mongodb.com Sean Watt
            Reporter:
            etienne.petrel@mongodb.com Etienne Petrel
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: