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

Generate the right flags when -DENABLE_MEMKIND build option is enabled

    • 2
    • Storage - Ra 2022-06-13

      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.

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

              Created:
              Updated:
              Resolved: