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:
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.
- is related to
WT-9112 Correctly configure libmemkind by build system not using it but with it installed