You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Alan Burlison (JIRA)" <ji...@apache.org> on 2016/03/16 09:59:33 UTC
[jira] [Updated] (HADOOP-12727) Minor cleanups needed for CMake 3.X
[ https://issues.apache.org/jira/browse/HADOOP-12727?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Alan Burlison updated HADOOP-12727:
-----------------------------------
Status: Patch Available (was: Open)
> 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
> Attachments: HADOOP-12727.001.patch
>
>
> 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)