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

Generate the right flags when -DENABLE_MEMKIND build option is enabled

    XMLWordPrintable

Details

    • 2
    • Storage - Ra 2022-06-13

    Description

      I configured the build to enable memkind:

      cmake -DENABLE_MEMKIND=1 ../.

      The ccmake showed that ENABLE_MEMKIND=1, but when I built the library and ran it, the code paths that were delimited by:

      #ifdef ENABLE_MEMKIND
      ...
      #endif
      

      did not execute. To fix that, I manually added -DENABLE_MEMKIND to CMakeFiles/wiredtiger_shared.dir/flags.make.

      After that, the build correctly enabled the flags.

      We need to fix that, so that using cmake -DENABLE_MEMKIND=1 automatically produces the -DENABLE_MEMKIND flag.

      Attachments

        Issue Links

          Activity

            People

              will.korteland@mongodb.com Will Korteland
              sasha.fedorova@mongodb.com Sasha Fedorova
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: