Revision: 1879
Author: sebastien.lelong
Date: Tue Apr  6 05:10:50 2010
Log: check 18F samples to adjust compilation arguments
http://code.google.com/p/jallib/source/detail?r=1879

Modified:
 /trunk/tools/build/compile.sh

=======================================
--- /trunk/tools/build/compile.sh       Mon Dec 21 22:57:16 2009
+++ /trunk/tools/build/compile.sh       Tue Apr  6 05:10:50 2010
@@ -19,8 +19,17 @@

 for sample in $jalsamples
 do
- $JALLIB_PYTHON $JALLIB_ROOT/tools/jallib.py compile $sample > /tmp/tmpcomp.out 2>&1
-       if [ "$?" != "0" ]
+       if grep -i "^include[[:space:]]\+18l\?f" $sample > /dev/null 2>&1
+       then
+ $JALLIB_PYTHON $JALLIB_ROOT/tools/jallib.py compile -no-variable-reuse $sample > /tmp/tmpcomp.out 2>&1
+               status=$?
+       else
+ $JALLIB_PYTHON $JALLIB_ROOT/tools/jallib.py compile $sample > /tmp/tmpcomp.out 2>&1
+               status=$?
+       fi
+
+
+       if [ "$status" != "0" ]
        then
                echo sample: $sample ... Failed >> /tmp/compile.out
                echo -- jalv2 output -- >> /tmp/compile.out

--
You received this message because you are subscribed to the Google Groups 
"jallib" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/jallib?hl=en.

Reply via email to