hama-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Martin Illecker (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HAMA-802) Skip Hama Pipes native build when cmake is missing
Date Tue, 10 Sep 2013 12:08:52 GMT

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

Martin Illecker updated HAMA-802:
---------------------------------

    Attachment: HAMA-802.patch

Please verify my patch!

I have used the ant-contrib package to check if cmake is available in the environment PATH.

{code:xml} 
<property environment="env" />
<if>
  <or>
    <available file="cmake" filepath="${env.PATH}" />
    <!--  on Windows it can be Path, path -->
    <available file="cmake" filepath="${env.Path}" />
    <available file="cmake" filepath="${env.path}" />
  </or>
  <then>
    <!-- build Hama Pipes -->
  </then>
  <else>
    <!-- notify User -->
  </else>
</if>
{code}
                
> Skip Hama Pipes native build when cmake is missing
> --------------------------------------------------
>
>                 Key: HAMA-802
>                 URL: https://issues.apache.org/jira/browse/HAMA-802
>             Project: Hama
>          Issue Type: Improvement
>          Components: build 
>    Affects Versions: 0.6.3
>            Reporter: Martin Illecker
>            Priority: Minor
>              Labels: build
>             Fix For: 0.7.0
>
>         Attachments: HAMA-802.patch
>
>
> Based on messages [1] of Tommaso and Anastasis we should skip building Hama Pipes when
cmake is missing.
> [ERROR] Failed to execute goal
> org.apache.maven.plugins:maven-antrun-plugin:1.6:run (make) on project
> hama-pipes: An Ant BuildException has occured: Execute failed:
> java.io.IOException: Cannot run program "cmake" (in directory
> "*****/hama/trunk/c++/target/native"):
> error=2, No such file or directory -> [Help 1]
> [1] http://mail-archives.apache.org/mod_mbox/hama-dev/201309.mbox/%3CCAGnSx07dLJt4NEpgh66OQ20wgQHP%2BPvYMNsT1uJ3d69Xg%3DN2%2BQ%40mail.gmail.com%3E

--
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

Mime
View raw message