commit | 81a7c91728a2c763d6ecbb9374a0bbf413e43ac4 | [log] [tgz] |
---|---|---|
author | Jonathan Peyton <jonathan.l.peyton@intel.com> | Tue Apr 25 19:04:07 2017 +0000 |
committer | Jonathan Peyton <jonathan.l.peyton@intel.com> | Tue Apr 25 19:04:07 2017 +0000 |
tree | 3021b93e42f2d2ec9951a6735a0c3c2a4fb2326b | |
parent | 23f1ee8d870f0f5e22aad6aaf0e88329ae38dfb8 [diff] |
Fix Hwloc API Incompatibility Older Hwloc libraries (< 1.10.0) don't offer the HWLOC_OBJ_NUMANODE nor HWLOC_OBJ_PACKAGE types. Instead they are named HWLOC_OBJ_NODE and HWLOC_OBJ_SOCKET instead. This patch just defines the newer names based on the older names when using an older Hwloc. Differential Revision: https://reviews.llvm.org/D32496 git-svn-id: https://llvm.org/svn/llvm-project/openmp/trunk@301349 91177308-0d34-0410-b5e6-96231b3b80d8