[ https://issues.apache.org/jira/browse/HADOOP-8776?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Chris Nauroth updated HADOOP-8776: ---------------------------------- Attachment: HADOOP-8776.patch I'm attaching an updated patch that incorporates the last round of feedback: 1. The option is now --build-native=<bool> for increased flexibility. 2. We now suppress -Drequire.test.lib when not building native. I have tested the following: 1. OS X: default builds native 2. OS X: --build-native=true builds native 3. OS X: --build-native=false --run-tests skips building native and runs tests 4. Ubuntu: default builds native 5. Ubuntu: --run-tests builds native and runs tests How does this look? > 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 > Affects Versions: 3.0.0 > Reporter: Hemanth Yamijala > Assignee: Hemanth Yamijala > Priority: Minor > Attachments: HADOOP-8776.patch, HADOOP-8776.patch, HADOOP-8776.patch, > 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