Update of /cvsroot/fink/experimental/fangism/finkinfo
In directory sfp-cvsdas-3.v30.ch3.sourceforge.com:/tmp/cvs-serv8433

Modified Files:
        ppl.info 
Log Message:
armed with -DPIC and -pipe to increase PCH utilization, accelerate compilation, 
and reduce memory footprint of /tmp files during huge test compilation
still pushing limits, one MIP test ICEs the assembler on powerpc-darwin8, 
grrr...


Index: ppl.info
===================================================================
RCS file: /cvsroot/fink/experimental/fangism/finkinfo/ppl.info,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- ppl.info    30 Oct 2010 22:18:30 -0000      1.2
+++ ppl.info    1 Nov 2010 07:15:17 -0000       1.3
@@ -21,8 +21,8 @@
        --infodir=%p/share/info \
        --disable-static \
        --enable-pch \
-       CFLAGS="-g -O2 -fpch-preprocess" \
-       CXXFLAGS="-g -O2 -fpch-preprocess" \
+       CFLAGS="-g -O2 -pipe -fpch-preprocess -fPIC" \
+       CXXFLAGS="-g -O2 -pipe -fpch-preprocess -fPIC" \
        --enable-check=thorough \
        -C
 <<
@@ -32,6 +32,10 @@
        # this was fixed in ppl-0.11; the following patch doesn't do anything
        # file=src/meta_programming.hh
        # sed -i.orig -e '/struct Bool/,/^};/s|enum {|enum value_type {|' $file
+       # To take advantage of precompiled headers, defined macros must match.
+       # patch could apply to src/Makefile.am too
+       file=src/Makefile.in
+       sed -i.orig -e '/CXXCOMPILE.*-xc++-header/s|-o|-DPIC &|' $file
 <<
 CompileScript: <<
        #!/bin/sh -ev
@@ -55,6 +59,9 @@
        cd build
        if test -x %p/bin/gcc
        then
+               # just turn it off -- getting weird errors:
+               # /var/tmp/cc*.s can't write output file
+               export CCACHE_DISABLE=1
                export CCACHE_SLOPPINESS=time_macros
        fi
        # make -k check || exit 2
@@ -121,11 +128,16 @@
 Initial packaging by Jack Howarth <howa...@bromo.med.uc.edu>.
 
 fangism turned on use of precompiled headers and ccache-default support.
+Patch to add -DPIC allows defined macros to match to use .gch.
+
+Noticed checks and references to OCaml, which may need to be 
+added to BuildDepends or TestDepends.
 <<
 DescPort: <<
 Issues was raised about g++-4.0.1 compile failing:
 http://www.cs.unipr.it/pipermail/ppl-devel/2008-August/012001.html
 fangism patched up the offending lines of C++ in PatchScript for 10.4.
+Patch no longer needed for 0.11.
 <<
 Homepage: http://www.cs.unipr.it/ppl
 Maintainer: David Fang <fang...@users.sourceforge.net>


------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
Fink-commits mailing list
Fink-commits@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.cvs

Reply via email to