diff options
author | Christian Göttsche <cgzones@googlemail.com> | 2020-09-08 16:25:22 +0200 |
---|---|---|
committer | Christian Göttsche <cgzones@googlemail.com> | 2020-09-24 19:43:27 +0200 |
commit | 005c4d1f2321b45f484fab0127db315927c2207b (patch) | |
tree | a08abadbce80364d86f58d21d30ca401f394a6f2 /Affinity.h | |
parent | f4bb50294a31c0d46dbcd742c4002f4fbb20d2a8 (diff) |
Make --enable-hwloc and --enable-linux-affinity mutual exclusive
They can not be supported both at the same time.
Fail configure step instead of silently only use hwloc.
Diffstat (limited to 'Affinity.h')
-rw-r--r-- | Affinity.h | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -11,6 +11,10 @@ in the source distribution for its full text. #include "Process.h" #include "ProcessList.h" +#if defined(HAVE_LIBHWLOC) && defined(HAVE_LINUX_AFFINITY) +#error hwlock and linux affinity are mutual exclusive. +#endif + typedef struct Affinity_ { ProcessList* pl; int size; |