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

Alan Burlison commented on HADOOP-12036:
----------------------------------------

A prototype showing the suggested approach is attached above.

I'd figured that the general config and the JNI config probably needed to be 
separate , so I've split the functionality into two files, HadoopCommon which 
is for all the stuff that isn't JNI-related and HadoopJNI which is just the JNI 
configuration.

However the split may not be quite right, at present CMAKE_C_FLAGS, 
CMAKE_CXX_FLAGS and CMAKE_LD_FLAGS are set in HadoopJNI, that bit probably 
needs moving into HadoopCommon.

> Consolidate all of the cmake extensions in one directory
> --------------------------------------------------------
>
>                 Key: HADOOP-12036
>                 URL: https://issues.apache.org/jira/browse/HADOOP-12036
>             Project: Hadoop Common
>          Issue Type: Sub-task
>            Reporter: Allen Wittenauer
>            Assignee: Alan Burlison
>         Attachments: prototype01.txt
>
>
> Rather than have a half-dozen redefinitions, custom extensions, etc, we 
> should move them all to one location so that the cmake environment is 
> consistent between the various native components.



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

Reply via email to