Remove bundled hwloc-1.2.1. Use either native Linux affinity support or an external libhwloc.

(for details see https://sourceforge.net/mailarchive/forum.php?thread_name=CAJpkDYeZpwqcWxZ77wq6bMrnhn-KzkU1xAqb3cU0drfnA3n9FQ%40mail.gmail.com&forum_name=htop-general )
This commit is contained in:
Hisham Muhammad
2011-11-21 02:52:41 +00:00
parent 7ca1081712
commit bc87a8ff8c
83 changed files with 14 additions and 72615 deletions

View File

@ -29,7 +29,7 @@ in the source distribution for its full text.
#include <sched.h>
#include <time.h>
#ifdef HAVE_HWLOC
#ifdef HAVE_LIBHWLOC
#include <hwloc/linux.h>
#endif
@ -566,7 +566,7 @@ bool Process_setPriority(Process* this, int priority) {
return (err == 0);
}
#ifdef HAVE_HWLOC
#ifdef HAVE_LIBHWLOC
Affinity* Process_getAffinity(Process* this) {
hwloc_cpuset_t cpuset = hwloc_bitmap_alloc();