llvm-project/openmp/runtime/cmake
Jonathan Peyton 0f3c2b921d Teach OpenMP Library to use Hwloc on Windows
This patch allows a user to enable Hwloc on windows. There are three main
changes in here:
1.kmp.h - Move definitions/declarations out of KMP_OS_WINDOWS guard (our windows
          implementation of affinity) because they need to be defined when
          KMP_USE_HWLOC is on as well.
2.teach __kmp_set_system_affinity, __kmp_get_system_affinity,
        __kmp_get_proc_group, and __kmp_affinity_bind_thread how to use hwloc.
3.teach CMake how to include hwloc when building Windows

Another minor change in here is to make sure that anything under KMP_USE_HWLOC
is also guarded by KMP_AFFINITY_SUPPORTED as well. This is to prevent Mac
builds from requiring anything from Hwloc.

Differential Revision: http://reviews.llvm.org/D21441

llvm-svn: 272951
2016-06-16 20:23:11 +00:00
..
LibompCheckFortranFlag.cmake Re-indent the CMake refactor to two-space indention 2015-07-15 16:57:19 +00:00
LibompCheckLinkerFlag.cmake [CMake] Fix libomp_check_linker_flag function 2015-07-23 14:41:35 +00:00
LibompDefinitions.cmake [OpenMP] [CMake] Removing expand-vars.pl in favor of CMake's configure_file() 2015-08-28 18:42:10 +00:00
LibompExports.cmake Renaming change: 41 -> 45 and 4.1 -> 4.5 2016-06-14 17:57:47 +00:00
LibompGetArchitecture.cmake Re-indent the CMake refactor to two-space indention 2015-07-15 16:57:19 +00:00
LibompHandleFlags.cmake Renaming change: 41 -> 45 and 4.1 -> 4.5 2016-06-14 17:57:47 +00:00
LibompMicroTests.cmake Bypass Perl modules in build system 2016-01-26 19:44:31 +00:00
LibompUtils.cmake Re-indent the CMake refactor to two-space indention 2015-07-15 16:57:19 +00:00
config-ix.cmake Teach OpenMP Library to use Hwloc on Windows 2016-06-16 20:23:11 +00:00