[
https://issues.apache.org/jira/browse/ARROW-10489?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17267936#comment-17267936
]
Johannes Müller commented on ARROW-10489:
-----------------------------------------
I just created a PR: [https://github.com/apache/arrow/pull/9266] and added the
following section:
{code:java}
elseif(CMAKE_CXX_COMPILER_ID STREQUAL "Intel")
if(WIN32)
set(CXX_COMMON_FLAGS "${CXX_COMMON_FLAGS} /Wall")
set(CXX_COMMON_FLAGS "${CXX_COMMON_FLAGS} /Wno-deprecated")
set(CXX_COMMON_FLAGS "${CXX_COMMON_FLAGS} /Wno-unused-variable")
else()
set(CXX_COMMON_FLAGS "${CXX_COMMON_FLAGS} -Wall")
set(CXX_COMMON_FLAGS "${CXX_COMMON_FLAGS} -Wno-deprecated")
set(CXX_COMMON_FLAGS "${CXX_COMMON_FLAGS} -Wno-unused-variable")
endif()
{code}
The names of the three flags are OK, according to the [Intel
documentation|https://software.intel.com/content/www/us/en/develop/documentation/cpp-compiler-developer-guide-and-reference/top/compiler-reference/error-handling-1/warnings-errors-and-remarks.html]:
> [C++] Unable to configure or make with intel compiler
> -----------------------------------------------------
>
> Key: ARROW-10489
> URL: https://issues.apache.org/jira/browse/ARROW-10489
> Project: Apache Arrow
> Issue Type: Bug
> Components: C++
> Affects Versions: 2.0.0
> Environment: SUSE Linux Enterprise Server 12 SP3 with Intel compiler
> stack.
> Reporter: Jensen Richardson
> Assignee: Jensen Richardson
> Priority: Major
> Labels: build, newbie, pull-request-available
> Fix For: 3.0.0
>
> Time Spent: 40m
> Remaining Estimate: 0h
>
> I am attempting to compile the Arrow C++ libraries for use in an HPC
> environment, and as such I need to use the Intel compilers to be compatible
> with all of my other software packages. However, when I try to compile
> (having set CC=icc, CXX=icpc, and CFORT=ifort), cmake throws the following
> error:
> {code:java}
> CMake Error at cmake_modules/SetupCxxFlags.cmake:269 (message):
> Unknown compiler: 18.0.2.20180210 18.0.2.20180210
> Call Stack (most recent call first):
> CMakeLists.txt:437 (include)
> {code}
> The interesting thing to me is that it thinks that 18.0.2.20180210 is the
> name of the compiler, when earlier it output:
>
> {code:java}
> -- Building using CMake version: 3.16.1
> -- The C compiler identification is Intel 18.0.2.20180210
> -- The CXX compiler identification is Intel 18.0.2.20180210
> {code}
>
> So I don't know why it's taking the 18.0.2.20180210 portion, instead of the
> intel portion. Either way, it leaves me unable to build the libraries.
> I can provide the whole cmake log/error file if necessary.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)