Have CMake error out on Windows when user wants OMPT support
authorJonathan Peyton <jonathan.l.peyton@intel.com>
Wed, 17 Jun 2015 15:43:34 +0000 (15:43 +0000)
committerJonathan Peyton <jonathan.l.peyton@intel.com>
Wed, 17 Jun 2015 15:43:34 +0000 (15:43 +0000)
commitb689dede581267e1c2b655e279c352c01879cb6e
tree23edddaf5f272b51d4eafadefa0c35665874cfa0
parent58675d4f847ad19095c74771616f9f01c102d4e1
Have CMake error out on Windows when user wants OMPT support

Currently, OMPT support requires the weak attribute which isn't supported
on Windows.  This patch has CMake error out when LIBOMP_OMPT_SUPPORT=true
and the users is building on Windows.
http://lists.cs.uiuc.edu/pipermail/openmp-dev/2015-June/000692.html

Patch by Jonas Hahnfeld

llvm-svn: 239912
openmp/runtime/Build_With_CMake.txt
openmp/runtime/CMakeLists.txt