[ 
https://issues.apache.org/jira/browse/ARROW-10489?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17267906#comment-17267906
 ] 

Johannes Müller commented on ARROW-10489:
-----------------------------------------

This particular issue can be "solved" by adding something similar to:
{code:java}
  elseif(CMAKE_CXX_COMPILER_ID STREQUAL "Intel")
            set(CXX_COMMON_FLAGS "${CXX_COMMON_FLAGS} -Wall")
            set(CXX_COMMON_FLAGS "${CXX_COMMON_FLAGS} -Wno-conversion")
            set(CXX_COMMON_FLAGS "${CXX_COMMON_FLAGS} 
-Wno-deprecated-declarations")
            set(CXX_COMMON_FLAGS "${CXX_COMMON_FLAGS} -Wno-sign-conversion")
            set(CXX_COMMON_FLAGS "${CXX_COMMON_FLAGS} -Wno-unused-variable")
{code}
Unfortunately, I'm not familiar with Intel names of those flags. I just copied 
them from the GNU portion, but I would expect that the flags are called 
differently in the Intel compiler. The "-Wall" seems to be the same, at least 
on Linux. On Windows it would be "/Wall". I'm not sure if "-Wall" is supported 
on Windows.

> [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: 0.5h
>  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)

Reply via email to