[Openmp-commits] [openmp] r264616 - [STATS] Missing check for MIC in config-ix.cmake

Jonathan Peyton via Openmp-commits openmp-commits at lists.llvm.org
Mon Mar 28 11:53:11 PDT 2016


Author: jlpeyton
Date: Mon Mar 28 13:53:10 2016
New Revision: 264616

URL: http://llvm.org/viewvc/llvm-project?rev=264616&view=rev
Log:
[STATS] Missing check for MIC in config-ix.cmake

Modified:
    openmp/trunk/runtime/cmake/config-ix.cmake

Modified: openmp/trunk/runtime/cmake/config-ix.cmake
URL: http://llvm.org/viewvc/llvm-project/openmp/trunk/runtime/cmake/config-ix.cmake?rev=264616&r1=264615&r2=264616&view=diff
==============================================================================
--- openmp/trunk/runtime/cmake/config-ix.cmake (original)
+++ openmp/trunk/runtime/cmake/config-ix.cmake Mon Mar 28 13:53:10 2016
@@ -202,7 +202,7 @@ if(${LIBOMP_STATS})
      { unsigned long long t = __builtin_readcyclecounter(); return 0; }"
      LIBOMP_HAVE___BUILTIN_READCYCLECOUNTER)
   if(NOT LIBOMP_HAVE___BUILTIN_READCYCLECOUNTER)
-    if(${IA32} OR ${INTEL64})
+    if(${IA32} OR ${INTEL64} OR ${MIC})
       check_include_file(x86intrin.h LIBOMP_HAVE_X86INTRIN_H)
       libomp_append(CMAKE_REQUIRED_DEFINITIONS -DLIBOMP_HAVE_X86INTRIN_H LIBOMP_HAVE_X86INTRIN_H)
       check_c_source_compiles(




More information about the Openmp-commits mailing list