Alan Burlison created HADOOP-12727:
--------------------------------------

             Summary: Minor cleanups needed for CMake 3.X
                 Key: HADOOP-12727
                 URL: https://issues.apache.org/jira/browse/HADOOP-12727
             Project: Hadoop Common
          Issue Type: Sub-task
          Components: native
    Affects Versions: 2.7.1
            Reporter: Alan Burlison
            Assignee: Alan Burlison
            Priority: Minor


On switching from CMake 2.8.6 to 3.3.2 a couple of minor issues popped up:
\\
\\
* There's a syntax error in 
{{hadoop-common-project/hadoop-common/src/CMakeLists.txt}} that generates a 
warning in 3.X

* {{CMAKE_SHARED_LINKER_FLAGS}} is being incorrectly set in 
{{hadoop-common-project/hadoop-common/HadoopCommon.cmake}} - despite the name 
it contains the flags passed to {{ar}} not to the linker. 2.8.6 ignores the 
incorrect flags, 3.3.2 doesn't and building static libraries fails as a result. 
See http://public.kitware.com/pipermail/cmake/2016-January/062447.html

Patch to follow.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to