[PATCH] D27610: CMake is funky on detecting Intel 17 as GCC compatible.

Yichao Yu via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jan 26 16:01:31 PST 2017


This revision was automatically updated to reflect the committed changes.
Closed by commit rL293230: CMake is funky on detecting Intel 17 as GCC compatible. (authored by yuyichao).

Changed prior to commit:
  https://reviews.llvm.org/D27610?vs=80863&id=85983#toc

Repository:
  rL LLVM

https://reviews.llvm.org/D27610

Files:
  llvm/trunk/cmake/modules/DetermineGCCCompatible.cmake


Index: llvm/trunk/cmake/modules/DetermineGCCCompatible.cmake
===================================================================
--- llvm/trunk/cmake/modules/DetermineGCCCompatible.cmake
+++ llvm/trunk/cmake/modules/DetermineGCCCompatible.cmake
@@ -7,5 +7,7 @@
     set(LLVM_COMPILER_IS_GCC_COMPATIBLE OFF)
   elseif( "${CMAKE_CXX_COMPILER_ID}" MATCHES "Clang" )
     set(LLVM_COMPILER_IS_GCC_COMPATIBLE ON)
+  elseif( "${CMAKE_CXX_COMPILER_ID}" MATCHES "Intel" )
+    set(LLVM_COMPILER_IS_GCC_COMPATIBLE ON)
   endif()
 endif()


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D27610.85983.patch
Type: text/x-patch
Size: 529 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170127/5b7907c0/attachment.bin>


More information about the llvm-commits mailing list