mirror of
https://github.com/nzp-team/fteqw.git
synced 2024-11-10 06:32:00 +00:00
Fixed WIP binary counts to reflect targets that started compiling
successfully again, also added WIP fteqcc & fteqtv shell scripts git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3548 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
af100f8156
commit
342225fe9f
3 changed files with 236 additions and 81 deletions
84
specs/compile farm scripts/linux/build_wip_fteqcc.sh
Executable file
84
specs/compile farm scripts/linux/build_wip_fteqcc.sh
Executable file
|
@ -0,0 +1,84 @@
|
|||
#!/bin/bash
|
||||
START=$(date +%s)
|
||||
HOME=/home/moodles
|
||||
WEBFOLDER=/htdocs/unstable/fteqcc
|
||||
LOGFOLDER=/htdocs/unstable/build_logs/fteqcc
|
||||
BUILDFOLDER=$HOME$WEBFOLDER
|
||||
BUILDLOGFOLDER=$HOME$LOGFOLDER
|
||||
THREADS="-j 4"
|
||||
PATH=$PATH:/opt/mac/bin:/usr/local/bin:/opt/llvm/bin:/opt/intel/Compiler/11.0/083/bin/ia32/:/opt/morphos-dev/bin
|
||||
|
||||
cd /home/moodles/wip/wip/engine/qclib
|
||||
rm version.txt
|
||||
rm -rf /home/moodles/wip/wip/engine/export
|
||||
rm $BUILDFOLDER/*
|
||||
rm /home/moodles/htdocs/unstable/build_logs/fteqcc/*
|
||||
|
||||
svn update
|
||||
svn info >> version.txt
|
||||
cd ..
|
||||
|
||||
svn export qclib export
|
||||
cp ./qclib/version.txt ./export/version.txt
|
||||
cd export
|
||||
tar -cjf fteqcc_sourcecode.tar.bz2 *
|
||||
mv *.bz2 $BUILDFOLDER/
|
||||
cd ..
|
||||
rm -rf export
|
||||
|
||||
cd qclib
|
||||
|
||||
svn info >> $BUILDFOLDER/version.txt
|
||||
|
||||
make clean
|
||||
make $THREADS win CC=i586-mingw32msvc-gcc >> $BUILDLOGFOLDER/win32-fteqccgui.txt 2>> $BUILDLOGFOLDER/win32-fteqccgui.txt
|
||||
mv fteqcc.exe $BUILDFOLDER/win32-fteqccgui.exe
|
||||
|
||||
make clean
|
||||
make $THREADS win CC="x86_64-w64-mingw32-gcc -m64" >> $BUILDLOGFOLDER/win64-fteqccgui.txt 2>> $BUILDLOGFOLDER/win64-fteqccgui.txt
|
||||
mv fteqcc.exe $BUILDFOLDER/win64-fteqccgui.exe
|
||||
|
||||
make clean
|
||||
make $THREADS >> $BUILDLOGFOLDER/linux32-fteqcc.txt 2>> $BUILDLOGFOLDER/linux32-fteqcc.txt
|
||||
mv fteqcc.bin $BUILDFOLDER/linux32-fteqcc
|
||||
|
||||
make clean
|
||||
make $THREADS CC="llvm-gcc -m32" >> $BUILDLOGFOLDER/linux32-fteqcc_llvm.txt 2>> $BUILDLOGFOLDER/linux32-fteqcc_llvm.txt
|
||||
mv fteqcc.bin $BUILDFOLDER/linux32-fteqcc.llvm
|
||||
|
||||
make clean
|
||||
make $THREADS CC="clang -m32 -Dinline=" >> $BUILDLOGFOLDER/linux32-fteqcc_clang.txt 2>> $BUILDLOGFOLDER/linux32-fteqcc_clang.txt
|
||||
mv fteqcc.bin $BUILDFOLDER/linux32-fteqcc.clang
|
||||
|
||||
make clean
|
||||
make $THREADS CC="icc -m32" >> $BUILDLOGFOLDER/linux32-fteqcc_icc.txt 2>> $BUILDLOGFOLDER/linux32-fteqcc_icc.txt
|
||||
mv fteqcc.bin $BUILDFOLDER/linux32-fteqcc.icc
|
||||
|
||||
make clean
|
||||
make $THREADS CC="gcc -m64" >> $BUILDLOGFOLDER/linux64-fteqcc.txt 2>> $BUILDLOGFOLDER/linux64-fteqcc.txt
|
||||
mv fteqcc.bin $BUILDFOLDER/linux64-fteqcc
|
||||
|
||||
make clean
|
||||
make $THREADS CC="clang -m64 -Dinline=" >> $BUILDLOGFOLDER/linux64-fteqcc_clang.txt 2>> $BUILDLOGFOLDER/linux64-fteqcc_clang.txt
|
||||
mv fteqcc.bin $BUILDFOLDER/linux64-fteqcc.clang
|
||||
|
||||
make clean
|
||||
make $THREADS CC=i586-mingw32msvc-gcc >> $BUILDLOGFOLDER/win32-fteqcc.txt 2>> $BUILDLOGFOLDER/win32_fteqcc.txt
|
||||
mv fteqcc.bin $BUILDFOLDER/win32-fteqcc.exe
|
||||
|
||||
make clean
|
||||
make $THREADS win CC="x86_64-w64-mingw32-gcc -m64" >> $BUILDLOGFOLDER/win64-fteqcc.txt 2>> $BUILDLOGFOLDER/win64-fteqcc.txt
|
||||
mv fteqcc.exe $BUILDFOLDER/win64-fteqcc.exe
|
||||
|
||||
make clean
|
||||
make $THREADS CC="powerpc-apple-darwin8-gcc -arch ppc -arch i686" >> $BUILDLOGFOLDER/macosx_tiger-fteqcc.txt 2>> $BUILDLOGFOLDER/macosx_tiger-fteqcc.txt
|
||||
mv fteqcc.bin $BUILDFOLDER/macosx_tiger-fteqcc
|
||||
|
||||
make clean
|
||||
make $THREADS CC="ppc-morphos-gcc -noixemul" >> $BUILDLOGFOLDER/morphos-fteqcc.txt 2>> $BUILDLOGFOLDER/morphos-fteqcc.txt
|
||||
mv fteqcc.bin $BUILDFOLDER/morphos-fteqcc
|
||||
chmod ugo+x $BUILDFOLDER/morphos-fteqcc
|
||||
|
||||
END=$(date +%s)
|
||||
DIFF=$(( $END - $START ))
|
||||
echo "It took $DIFF seconds"
|
71
specs/compile farm scripts/linux/build_wip_fteqtv.sh
Executable file
71
specs/compile farm scripts/linux/build_wip_fteqtv.sh
Executable file
|
@ -0,0 +1,71 @@
|
|||
#!/bin/bash
|
||||
START=$(date +%s)
|
||||
HOME=/home/moodles
|
||||
WEBFOLDER=/htdocs/unstable/fteqtv
|
||||
LOGFOLDER=/htdocs/unstable/build_logs/fteqtv
|
||||
BUILDFOLDER=$HOME$WEBFOLDER
|
||||
BUILDLOGFOLDER=$HOME$LOGFOLDER
|
||||
THREADS="-j 4"
|
||||
PATH=$PATH:/opt/mac/bin:/usr/local/bin:/opt/llvm/bin:/opt/intel/Compiler/11.0/083/bin/ia32/:/opt/morphos-dev/bin
|
||||
|
||||
rm /home/moodles/htdocs/unstable/build_logs/fteqtv/*
|
||||
cd /home/moodles/wip/wip/fteqtv/
|
||||
rm -r release
|
||||
mkdir release
|
||||
|
||||
svn update
|
||||
svn info >> version.txt
|
||||
cp version.txt $BUILDFOLDER/
|
||||
cp LICENSE $BUILDFOLDER/
|
||||
|
||||
cd ..
|
||||
rm -rf export
|
||||
svn export fteqtv export
|
||||
cp $BUILDFOLDER/version.txt ./export/version.txt
|
||||
cd export
|
||||
tar -cjf fteqtv_sourcecode.tar.bz2 *
|
||||
mv *.bz2 $BUILDFOLDER/
|
||||
|
||||
cd /home/moodles/wip/wip/fteqtv
|
||||
make clean
|
||||
make $THREADS >> $BUILDLOGFOLDER/linux32-fteqtv.txt 2>> $BUILDLOGFOLDER/linux32-fteqtv.txt
|
||||
mv qtv $BUILDFOLDER/linux32-qtv
|
||||
|
||||
make clean
|
||||
make $THREADS CC="gcc -m64" >> $BUILDLOGFOLDER/linux64-fteqtv.txt 2>> $BUILDLOGFOLDER/linux64-fteqtv.txt
|
||||
mv qtv $BUILDFOLDER/linux64-qtv
|
||||
|
||||
make clean
|
||||
make $THREADS CC="llvm-gcc" >> $BUILDLOGFOLDER/linux32-fteqtv_llvm.txt 2>> $BUILDLOGFOLDER/linux32-fteqtv_llvm.txt
|
||||
mv qtv $BUILDFOLDER/linux32-qtv.llvm
|
||||
|
||||
make clean
|
||||
make $THREADS CC="clang" >> $BUILDLOGFOLDER/linux32-fteqtv_clang.txt 2>> $BUILDLOGFOLDER/linux32-fteqtv_clang.txt
|
||||
mv qtv $BUILDFOLDER/linux32-qtv.clang
|
||||
|
||||
make clean
|
||||
make $THREADS CC="clang -m64" >> $BUILDLOGFOLDER/linux64-fteqtv_clang.txt 2>> $BUILDLOGFOLDER/linux64-fteqtv_clang.txt
|
||||
mv qtv $BUILDFOLDER/linux64-qtv.clang
|
||||
|
||||
make clean
|
||||
make $THREADS CC="icc" >> $BUILDLOGFOLDER/linux32-fteqtv_icc.txt 2>> $BUILDLOGFOLDER/linux32-fteqtv_icc.txt
|
||||
mv qtv $BUILDFOLDER/linux32-qtv.icc
|
||||
|
||||
make clean
|
||||
make $THREADS TOOLPREFIX=ppc-morphos- >> $BUILDLOGFOLDER/morphos-fteqtv.txt 2>> $BUILDLOGFOLDER/morphos-fteqtv.txt
|
||||
mv qtv $BUILDFOLDER/morphos-qtv
|
||||
chmod ugo+x $BUILDFOLDER/morphos-qtv
|
||||
|
||||
make clean
|
||||
make $THREADS TOOLPREFIX=i586-mingw32msvc- qtv.exe >> $BUILDLOGFOLDER/win32-fteqtv.txt 2>> $BUILDLOGFOLDER/win32-fteqtv.txt
|
||||
mv qtv.exe $BUILDFOLDER/win32-qtv.exe
|
||||
|
||||
make clean
|
||||
make $THREADS TOOLPREFIX=powerpc-apple-darwin8- STRIPFLAGS="" CFLAGS="-arch i686 -arch ppc" >> $BUILDLOGFOLDER/macosx_tiger.txt 2>> $BUILDLOGFOLDER/macosx_tiger-fteqtv.txt
|
||||
#powerpc-apple-darwin8-strip qtv.db -o qtv
|
||||
mv qtv $BUILDFOLDER/macosx_tiger-qtv
|
||||
|
||||
END=$(date +%s)
|
||||
DIFF=$(( $END - $START ))
|
||||
echo "It took $DIFF seconds"
|
||||
|
|
@ -1,81 +1,81 @@
|
|||
#!/bin/bash
|
||||
TEMPFILE=/tmp/moodlescountjunk.txt
|
||||
TEMPFILE2=/tmp/moodlescountjunk2.txt
|
||||
AUTHOR=`cat /home/moodles/wip/wip/engine/svninfo.txt | grep 'Last Changed Author' | sed s/'Last Changed Author: '//`
|
||||
if [ -f $TEMPFILE ];
|
||||
then
|
||||
rm $TEMPFILE
|
||||
fi
|
||||
if [ -f $TEMPFILE2 ];
|
||||
then
|
||||
rm $TEMPFILE2
|
||||
fi
|
||||
|
||||
# count folder contents
|
||||
LINUX32=$(ls -1 /home/moodles/htdocs/unstable/linux_32bit/ | wc -l)
|
||||
LINUX64=$(ls -1 /home/moodles/htdocs/unstable/linux_64bit/ | wc -l)
|
||||
WIN32=$(ls -1 /home/moodles/htdocs/unstable/win32/ | wc -l)
|
||||
MORPHOS=$(ls -1 /home/moodles/htdocs/unstable/morphos/ | wc -l)
|
||||
MACOSX=$(ls -1 /home/moodles/htdocs/unstable/macosx_tiger_10.4/ | wc -l)
|
||||
|
||||
# known count when all binaries build
|
||||
LIN32TOTAL=16 # 4 compilers (GCC, ICC, CLANG & LLVM) * 3 targets (sv, mingl, gl) * 2 (SDL versions)
|
||||
LIN64TOTAL=4 # 2 compilers (GCC, CLANG) * 3 targets (sv, mingl, gl)
|
||||
WIN32TOTAL=5 # 1 compiler (MinGW32) * 3 targets (sv, mingl, gl) * 2 (SDL versions) + 1 firefox plugin (npqtv)
|
||||
MORPHTOTAL=1 # 1 compiler (GCC based by bigfoot) * 2 targets (gl, mingl)
|
||||
MACOSTOTAL=4 # 2 compilers (10.4 x86 and ppc) * 3 targets (gl, mingl, sv)
|
||||
|
||||
# subtract known directory count from realtime counted directory count to find total of failed builds
|
||||
L32NUM=`expr $LIN32TOTAL - $LINUX32`
|
||||
L64NUM=`expr $LIN64TOTAL - $LINUX64`
|
||||
W32NUM=`expr $WIN32TOTAL - $WIN32`
|
||||
MORNUM=`expr $MORPHTOTAL - $MORPHOS`
|
||||
MACNUM=`expr $MACOSTOTAL - $MACOSX`
|
||||
|
||||
if [ $L32NUM -ne 0 ];
|
||||
then
|
||||
echo "$L32NUM/$LIN32TOTAL Lin32 failed" >> $TEMPFILE
|
||||
fi
|
||||
if [ $L64NUM -ne 0 ];
|
||||
then
|
||||
echo " $L64NUM/$LIN64TOTAL Lin64 failed" >> $TEMPFILE
|
||||
fi
|
||||
if [ $W32NUM -ne 0 ];
|
||||
then
|
||||
echo " $W32NUM/$WIN32TOTAL Win32 failed" >> $TEMPFILE
|
||||
fi
|
||||
if [ $MORNUM -ne 0 ];
|
||||
then
|
||||
echo " $MORNUM/$MORPHTOTAL MorphOS failed" >> $TEMPFILE
|
||||
fi
|
||||
if [ $MACNUM -ne 0 ];
|
||||
then
|
||||
echo " $MACNUM/$MACOSTOTAL MacOSX 10.4 failed" >> $TEMPFILE
|
||||
fi
|
||||
if [ $L32NUM -eq 0 ] && [ $L64NUM -eq 0 ] && [ $W32NUM -eq 0 ] && [ $MORNUM -eq 0 ] && [ $MACNUM -eq 0 ];
|
||||
then
|
||||
echo "Everything built successfully" >> $TEMPFILE
|
||||
|
||||
elif [ $LIN32TOTAL -eq 0 ] && [ $LIN64TOTAL -eq 0 ] && [ $WIN32TOTAL -eq 0 ] && [ $MORPHTOTAL -eq 0 ] && [ $MACOSTOTAL -eq 0 ];
|
||||
then
|
||||
echo " Nothing built at all!" >> $TEMPFILE
|
||||
elif [ $L32NUM -ne 0 ] && [ $L64NUM -ne 0 ] && [ $W32NUM -ne 0 ] && [ $MORNUM -ne 0 ] && [ $MACNUM -ne 0 ];
|
||||
then
|
||||
if [ $AUTHOR == "acceptthis" ];
|
||||
then
|
||||
echo " At least 1 target from each OS failed to build, on the bright side, at least everything didn't compile (Your typical average Spike commit, breaking Lunix as usual)" >> $TEMPFILE
|
||||
else
|
||||
echo " At least 1 target from each OS failed to build, on the bright side, at least everythinng didn't compile" >> $TEMPFILE
|
||||
fi
|
||||
else
|
||||
if [ $AUTHOR == "acceptthis" ];
|
||||
then
|
||||
echo " Everything else built successfully (Your typical average Spike commit, breaking Lunix as usual)" >> $TEMPFILE
|
||||
else
|
||||
echo " Everything else built successfully" >> $TEMPFILE
|
||||
fi
|
||||
fi
|
||||
|
||||
tr "\n" "," <$TEMPFILE | sed "s/,$/\./" >$TEMPFILE2
|
||||
echo -e '\n' >> $TEMPFILE2
|
||||
cat $TEMPFILE2
|
||||
#!/bin/bash
|
||||
TEMPFILE=/tmp/moodlescountjunk.txt
|
||||
TEMPFILE2=/tmp/moodlescountjunk2.txt
|
||||
AUTHOR=`cat /home/moodles/wip/wip/engine/svninfo.txt | grep 'Last Changed Author' | sed s/'Last Changed Author: '//`
|
||||
if [ -f $TEMPFILE ];
|
||||
then
|
||||
rm $TEMPFILE
|
||||
fi
|
||||
if [ -f $TEMPFILE2 ];
|
||||
then
|
||||
rm $TEMPFILE2
|
||||
fi
|
||||
|
||||
# count folder contents
|
||||
LINUX32=$(ls -1 /home/moodles/htdocs/unstable/linux_32bit/ | wc -l)
|
||||
LINUX64=$(ls -1 /home/moodles/htdocs/unstable/linux_64bit/ | wc -l)
|
||||
WIN32=$(ls -1 /home/moodles/htdocs/unstable/win32/ | wc -l)
|
||||
MORPHOS=$(ls -1 /home/moodles/htdocs/unstable/morphos/ | wc -l)
|
||||
MACOSX=$(ls -1 /home/moodles/htdocs/unstable/macosx_tiger_10.4/ | wc -l)
|
||||
|
||||
# known count when all binaries build
|
||||
LIN32TOTAL=24 # 4 compilers (GCC, ICC, CLANG & LLVM) * 3 targets (sv, mingl, gl) * 2 (SDL versions)
|
||||
LIN64TOTAL=6 # 2 compilers (GCC, CLANG) * 3 targets (sv, mingl, gl)
|
||||
WIN32TOTAL=6 # 1 compiler (MinGW32) * 3 targets (sv, mingl, gl) * 2 (SDL versions)
|
||||
MORPHTOTAL=1 # 1 compiler (GCC based by bigfoot) * 2 targets (gl, mingl)
|
||||
MACOSTOTAL=4 # 2 compilers (10.4 x86 and ppc) * 3 targets (gl, mingl, sv)
|
||||
|
||||
# subtract known directory count from realtime counted directory count to find total of failed builds
|
||||
L32NUM=`expr $LIN32TOTAL - $LINUX32`
|
||||
L64NUM=`expr $LIN64TOTAL - $LINUX64`
|
||||
W32NUM=`expr $WIN32TOTAL - $WIN32`
|
||||
MORNUM=`expr $MORPHTOTAL - $MORPHOS`
|
||||
MACNUM=`expr $MACOSTOTAL - $MACOSX`
|
||||
|
||||
if [ $L32NUM -ne 0 ];
|
||||
then
|
||||
echo "$L32NUM/$LIN32TOTAL Lin32 failed" >> $TEMPFILE
|
||||
fi
|
||||
if [ $L64NUM -ne 0 ];
|
||||
then
|
||||
echo " $L64NUM/$LIN64TOTAL Lin64 failed" >> $TEMPFILE
|
||||
fi
|
||||
if [ $W32NUM -ne 0 ];
|
||||
then
|
||||
echo " $W32NUM/$WIN32TOTAL Win32 failed" >> $TEMPFILE
|
||||
fi
|
||||
if [ $MORNUM -ne 0 ];
|
||||
then
|
||||
echo " $MORNUM/$MORPHTOTAL MorphOS failed" >> $TEMPFILE
|
||||
fi
|
||||
if [ $MACNUM -ne 0 ];
|
||||
then
|
||||
echo " $MACNUM/$MACOSTOTAL MacOSX 10.4 failed" >> $TEMPFILE
|
||||
fi
|
||||
if [ $L32NUM -eq 0 ] && [ $L64NUM -eq 0 ] && [ $W32NUM -eq 0 ] && [ $MORNUM -eq 0 ] && [ $MACNUM -eq 0 ];
|
||||
then
|
||||
echo "Everything built successfully" >> $TEMPFILE
|
||||
|
||||
elif [ $LIN32TOTAL -eq 0 ] && [ $LIN64TOTAL -eq 0 ] && [ $WIN32TOTAL -eq 0 ] && [ $MORPHTOTAL -eq 0 ] && [ $MACOSTOTAL -eq 0 ];
|
||||
then
|
||||
echo " Nothing built at all!" >> $TEMPFILE
|
||||
elif [ $L32NUM -ne 0 ] && [ $L64NUM -ne 0 ] && [ $W32NUM -ne 0 ] && [ $MORNUM -ne 0 ] && [ $MACNUM -ne 0 ];
|
||||
then
|
||||
if [ $AUTHOR == "acceptthis" ];
|
||||
then
|
||||
echo " At least 1 target from each OS failed to build, on the bright side, at least everything didn't compile (Your typical average Spike commit, breaking Lunix as usual)" >> $TEMPFILE
|
||||
else
|
||||
echo " At least 1 target from each OS failed to build, on the bright side, at least everythinng didn't compile" >> $TEMPFILE
|
||||
fi
|
||||
else
|
||||
if [ $AUTHOR == "acceptthis" ];
|
||||
then
|
||||
echo " Everything else built successfully (Your typical average Spike commit, breaking Lunix as usual)" >> $TEMPFILE
|
||||
else
|
||||
echo " Everything else built successfully" >> $TEMPFILE
|
||||
fi
|
||||
fi
|
||||
|
||||
tr "\n" "," <$TEMPFILE | sed "s/,$/\./" >$TEMPFILE2
|
||||
echo -e '\n' >> $TEMPFILE2
|
||||
cat $TEMPFILE2
|
||||
|
|
Loading…
Reference in a new issue