Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-8921

ant build.xml in branch-1 ignores -Dcompile.native

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Trivial
    • Resolution: Abandoned
    • 1.2.0
    • None
    • build
    • Mac OS X 10.7.4

    • Prevent autotools dependency when native libraries are disabled/unavailable

    Description

      ant -Dcompile.native=false still runs autoconf and libtoolize

      According to ant 1.8 manual, any <target if> conditions are checked only after the dependencies are run through. The current if condition in code fails to prevent the autoconf/libtool components from running.

      Fixing it by moving the if condition up into the "compile-native" target and changing it to a param substitution instead of being evaluated as a condition.

      Attachments

        1. HADOOP-8921.7.patch
          0.6 kB
          Arpit Agarwal
        2. hadoop-8921.6.patch
          1 kB
          Giridharan Kesavan
        3. HADOOP-8921.5.patch
          2 kB
          Chris Nauroth
        4. HADOOP-8921.4.patch
          1 kB
          Gopal Vijayaraghavan

        Issue Links

          Activity

            People

              gopalv Gopal Vijayaraghavan
              gopalv Gopal Vijayaraghavan
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: