I noticed that libnuma_v2 wasn't getting detected in our build
environment because we would get an error that mask was unused.
Signed-off-by: Jens Axboe <axboe@fb.com>
int main(int argc, char **argv)
{
struct bitmask *mask = numa_parse_nodestring(NULL);
int main(int argc, char **argv)
{
struct bitmask *mask = numa_parse_nodestring(NULL);
+ return mask->size == 0;
}
EOF
if compile_prog "" "" "libnuma api"; then
}
EOF
if compile_prog "" "" "libnuma api"; then