1
0
Fork 0
forked from fte/fteqw

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:
Lance 2010-07-13 07:49:07 +00:00
parent af100f8156
commit 342225fe9f
3 changed files with 236 additions and 81 deletions

View 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"

View 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"

View file

@ -19,9 +19,9 @@ 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)
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)