We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5249f4f commit 50a2c5fCopy full SHA for 50a2c5f
configure.cmake
@@ -1221,10 +1221,13 @@ IF(HAVE_NUMAIF_H AND WITH_NUMA)
1221
SET(CMAKE_REQUIRED_LIBRARIES ${CMAKE_REQUIRED_LIBRARIES} numa)
1222
CHECK_C_SOURCE_COMPILES(
1223
"
1224
+ #include <numa.h>
1225
#include <numaif.h>
1226
int main()
1227
{
1228
+ struct bitmask *all_nodes= numa_all_nodes_ptr;
1229
set_mempolicy(MPOL_DEFAULT, 0, 0);
1230
+ return all_nodes != NULL;
1231
}"
1232
HAVE_LIBNUMA)
1233
SET(CMAKE_REQUIRED_LIBRARIES ${SAVE_CMAKE_REQUIRED_LIBRARIES})
0 commit comments