Skip to content

Commit d7a9754

Browse files
authored
Merge pull request #2104 from ajaypanyala/support_intel_compiler
Support building C++ Runtime with Intel compilers
2 parents 9a701ef + c6a8141 commit d7a9754

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

contributors.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,4 +172,5 @@ YYYY/MM/DD, github id, Full name, email
172172
2017/05/29, rlfnb, Ralf Neeb, [email protected]
173173
2017/10/29, gendalph, Максим Прохоренко, Maxim\dotProhorenko@[email protected]
174174
2017/11/02, jasonmoo, Jason Mooberry, [email protected]
175-
2017/11/24, zqlu.cn, Zhiqiang Lu, [email protected]
175+
2017/11/05, ajaypanyala, Ajay Panyala, [email protected]
176+
2017/11/24, zqlu.cn, Zhiqiang Lu, [email protected]

runtime/Cpp/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ else()
9595
endif()
9696

9797
# Compiler-specific C++11 activation.
98-
if ("${CMAKE_CXX_COMPILER_ID}" MATCHES "GNU")
98+
if ("${CMAKE_CXX_COMPILER_ID}" MATCHES "GNU" OR "${CMAKE_CXX_COMPILER_ID}" MATCHES "Intel")
9999
execute_process(
100100
COMMAND ${CMAKE_CXX_COMPILER} -dumpversion OUTPUT_VARIABLE GCC_VERSION)
101101
# Just g++-5.0 and greater contain <codecvt> header. (test in ubuntu)

runtime/Cpp/runtime/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ endif ()
5353

5454
if ("${CMAKE_CXX_COMPILER_ID}" MATCHES "Clang")
5555
set(disabled_compile_warnings "${disabled_compile_warnings} -Wno-dollar-in-identifier-extension -Wno-four-char-constants")
56-
elseif("${CMAKE_CXX_COMPILER_ID}" MATCHES "GNU")
56+
elseif("${CMAKE_CXX_COMPILER_ID}" MATCHES "GNU" OR "${CMAKE_CXX_COMPILER_ID}" MATCHES "Intel")
5757
set(disabled_compile_warnings "${disabled_compile_warnings} -Wno-multichar")
5858
endif()
5959

0 commit comments

Comments
 (0)