<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    sorry fot the noise ...<br>
    forgot
    <title>Konsole output</title>
    <div>
      <span style="font-family:monospace"><span
          style="color:#000000;background-color:#ffffff;">Task info:
          <a class="moz-txt-link-freetext" href="http://koji.fedoraproject.org/koji/taskinfo?taskID=10427445">http://koji.fedoraproject.org/koji/taskinfo?taskID=10427445</a><br>
          <br>
        </span></span></div>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <div class="moz-cite-prefix">Il 21/07/2015 18:03, gil ha scritto:<br>
    </div>
    <blockquote cite="mid:55AE6D39.8010904@libero.it" type="cite">hi
      <br>
      i try to import lz4-java
      <br>
      It use bundle code of lz4 (and some part of xxhash ...)
      <br>
      but i need an help for optimized the compile-jni task
      <br>
      at the moment i done these changes
      <br>
      <br>
        &lt;target name="compile-jni"
      depends="install-cpptasks,generate-headers"
      unless="${skip.jni}"&gt;
      <br>
          &lt;mkdir dir="${build}/objects" /&gt;
      <br>
          &lt;mkdir dir="${build}/jni/${platform}/${os.arch}" /&gt;
      <br>
          &lt;cpptasks:cc
      <br>
            debug="false"
      <br>
            optimize="extreme"
      <br>
            objdir="${build}/objects"
      <br>
            outfile="${build}/jni/${platform}/${os.arch}/lz4-java"
      <br>
            outtype="shared"&gt;
      <br>
            &lt;includepath path="${src}/xxhash" /&gt;
      <br>
      -      &lt;includepath path="${src}/lz4" /&gt;
      <br>
      +      &lt;includepath path="/usr/include" /&gt;
      <br>
            &lt;includepath path="${java.home}/../include" /&gt;
      <br>
            &lt;includepath path="${java.home}/../include/${platform}/"
      /&gt;
      <br>
            &lt;includepath path="${build}/jni-headers" /&gt;
      <br>
      -      &lt;fileset dir="${src}/lz4" includes="lz4.c, lz4hc.c"
      /&gt;
      <br>
      +      &lt;!--fileset dir="${src}/lz4" includes="lz4.c, lz4hc.c"
      /--&gt;
      <br>
            &lt;fileset dir="${src}/xxhash" includes="xxhash.c" /&gt;
      <br>
            &lt;fileset dir="${src}/jni" includes="*.c" /&gt;
      <br>
      -      &lt;linker /&gt;
      <br>
      +      &lt;compilerarg value="-llz4"/&gt;
      <br>
      +      &lt;compilerarg value="-Wall"/&gt;
      <br>
      +      &lt;compilerarg value="-O2"/&gt;
      <br>
      +      &lt;linkerarg value="-O2"/&gt;
      <br>
      +      &lt;linkerarg value="-L${libdir}" /&gt;
      <br>
      +      &lt;linkerarg value="-L${build}/objects" /&gt;
      <br>
      +      &lt;linkerarg value="-llz4" location="end"/&gt;
      <br>
          &lt;/cpptasks:cc&gt;
      <br>
        &lt;/target&gt;
      <br>
      <br>
      my work is available here:
      <br>
      <a class="moz-txt-link-freetext" href="https://gil.fedorapeople.org/lz4-java-1.3.0-1.fc22.src.rpm">https://gil.fedorapeople.org/lz4-java-1.3.0-1.fc22.src.rpm</a>
      <br>
      <a class="moz-txt-link-freetext" href="https://gil.fedorapeople.org/lz4-java.spec">https://gil.fedorapeople.org/lz4-java.spec</a>
      <br>
      <br>
      thanks in advance
      <br>
      gil
      <br>
      Konsole outpu
      <br>
    </blockquote>
    <br>
  </body>
</html>