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 "Hemanth Yamijala (JIRA)" <ji...@apache.org> on 2012/09/07 07:27:10 UTC
[jira] [Updated] (HADOOP-8776) Provide an option in test-patch that
can enable / disable compiling native code
[ https://issues.apache.org/jira/browse/HADOOP-8776?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Hemanth Yamijala updated HADOOP-8776:
-------------------------------------
Attachment: HADOOP-8776.patch
The attached patch adds an option --compile-native to the test-patch script. If passed, it enables the native profile wherever it is being currently used.
This approach (same as what Eli suggested on the mailing list) changes how test-patch currently works, though. In that, by default native code will *not* be compiled. Given that the most common use case will be around Java patches, I suppose it is OK.
But would be glad to discuss other options as required.
> Provide an option in test-patch that can enable / disable compiling native code
> -------------------------------------------------------------------------------
>
> Key: HADOOP-8776
> URL: https://issues.apache.org/jira/browse/HADOOP-8776
> Project: Hadoop Common
> Issue Type: Improvement
> Components: build
> Reporter: Hemanth Yamijala
> Assignee: Hemanth Yamijala
> Priority: Minor
> Attachments: HADOOP-8776.patch
>
>
> The test-patch script in Hadoop source runs a native compile with the patch. On platforms like MAC, there are issues with the native compile that make it difficult to use test-patch. This JIRA is to try and provide an option to make the native compilation optional.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira