You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by cu...@apache.org on 2004/09/20 20:16:50 UTC

cvs commit: jakarta-lucene build.xml

cutting     2004/09/20 11:16:50

  Modified:    .        build.xml
  Log:
  Add GCJ target.  Also change datestamp of jar to per-day rather than
  per-second so that other targets can be based on the jar file without
  having to be rebuilt every second.  And fixed a typo.
  
  Revision  Changes    Path
  1.67      +8 -2      jakarta-lucene/build.xml
  
  Index: build.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-lucene/build.xml,v
  retrieving revision 1.66
  retrieving revision 1.67
  diff -u -r1.66 -r1.67
  --- build.xml	17 Aug 2004 20:38:46 -0000	1.66
  +++ build.xml	20 Sep 2004 18:16:50 -0000	1.67
  @@ -166,8 +166,8 @@
             <attribute name="Specification-Version" value="${version}"/>
             <attribute name="Specification-Vendor" value="Lucene"/>
             <attribute name="Implementation-Title" value="org.apache.lucene"/>
  -          <attribute name="Implementation-Version" value="build ${DSTAMP} ${TSTAMP}"/>
  -          <attribute name="Implementation-Vemdpr" value="Lucene"/>
  +          <attribute name="Implementation-Version" value="build ${DSTAMP}"/>
  +          <attribute name="Implementation-Vendor" value="Lucene"/>
           </section>
         </manifest>
       </jar>
  @@ -218,6 +218,12 @@
         <classpath refid="demo.classpath"/>
       </javac>
     </target>
  +
  +  <!-- GCJ -->
  +  <target name="gcj" depends="jar,jar-demo">
  +    <exec executable="make" dir="src/gcj" failonerror="true"/>
  +  </target>
  +
   
     <!-- ================================================================== -->
     <!-- B U I L D  T E S T                                                 -->
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: lucene-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: lucene-dev-help@jakarta.apache.org


Re: cvs commit: jakarta-lucene build.xml

Posted by Doug Cutting <cu...@apache.org>.
Daniel Naber wrote:
> I'm using gcc/gcj 3.3.3, do I maybe need a more recent version?

I'm currently using 3.4.1, but I think 3.4.0 will work as well.  I had 
troubles with 3.3.

I've worked more on this, and now have a version (not yet committed) 
which appears a bit faster than a JVM.  More soon.

Doug

---------------------------------------------------------------------
To unsubscribe, e-mail: lucene-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: lucene-dev-help@jakarta.apache.org


Re: cvs commit: jakarta-lucene build.xml

Posted by Daniel Naber <da...@t-online.de>.
On Monday 20 September 2004 20:16, cutting@apache.org wrote:

>  Add GCJ target.

With "ant gcj" I get this error:

    [exec] gcj -O3 -ffast-math  -fno-bounds-check -fno-store-check -c 
-I ../../build/classes/java -I ../../build/gcj 
-o ../../build/gcj/lucene-gcj.a org/apache/lucene/store/GCJDirectory.java 
org/apache/lucene/store/GCJIndexInput.java
     [exec] jc1: Is a directory: error closing ../../build/gcj
     [exec] make: *** [../../build/gcj/lucene-gcj.a] Error 1

I'm using gcc/gcj 3.3.3, do I maybe need a more recent version?

Regards
 Daniel

-- 
http://www.danielnaber.de

---------------------------------------------------------------------
To unsubscribe, e-mail: lucene-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: lucene-dev-help@jakarta.apache.org