[ 
https://issues.apache.org/jira/browse/HDFS-9487?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Bob Hansen updated HDFS-9487:
-----------------------------
    Attachment: HDFS-9487.HDFS-8707.000.patch

Patch sets default optimization for debug builds to 0 and adds mvn properties 
for native_cmake_args, native_make_args, and native_ctest_args.

To build debug and spew to the console to make sure it worked, use:
{code}
mvn -pl :hadoop-hdfs-native-client -Pnative \
-Dnative_cmake_args="-DCMAKE_BUILD_TYPE=Debug"  \
-Dnative_make_args="VERBOSE=1" install
{code}

> libhdfs++ Enable builds with no compiler optimizations
> ------------------------------------------------------
>
>                 Key: HDFS-9487
>                 URL: https://issues.apache.org/jira/browse/HDFS-9487
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: hdfs-client
>            Reporter: James Clampffer
>            Assignee: James Clampffer
>         Attachments: HDFS-9487.HDFS-8707.000.patch
>
>
> The default build configuration uses -02 -g <some other stuff>.  To make 
> debugging easier it would be really nice to be able to produce builds with 
> -O0.
> I haven't found an existing flag to pass to maven or cmake to accomplish 
> this. 



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

Reply via email to