Kicad OSX nightlies fixed again.
Got my kicad builds sorted again. finally got the make command right to work with the boost library. I've updated to the latest (1.39) and everything seems to be going well.
My nightly make script now looks like this....
#update from svn
cd /temp/kicad-sources
svn up
new_version=`svn info | grep Revision | cut -f 2 -d\ `
old_version=`cat /temp/install/version.txt`
if [ $new_version -gt $old_version ]
then
#build it
cd build/release
cmake ../../ -DwxWidgets_CONFIG_EXECUTABLE="/usr/local/bin/wx-config" -DwxWidgets_ROOT_DIR="/usr/local/include/wx-2.8" -DCMAKE_INSTALL_PREFIX=/temp/install -DBoost_INCLUDE_DIR=/temp/kicad-sources -DCMAKE_OSX_ARCHITECTURES="ppc -arch i386" -DCMAKE_CXX_FLAGS="-D__ASSERTMACROS__"
# make clean
if make > /temp/kicad_errors-${new_version}.txt 2>> /temp/kicad_errors-${new_version}.txt && make install
then
file=kicad_osx_v${new_version}
echo $new_version > /temp/install/version.txt
mv /temp/kicad_errors-${new_version}.txt /temp/install/build_log.txt
#bundle
cd /temp/
cp -rf install ${file}
tar -czf ${file}.tgz ${file}
#upload
curl -T ${file}.tgz ftp://username:password@ftp.brokentoaster.com/
rm -rf ${file}
# cd /temp/kicad-sources/build/release/
# /Developer/usr/bin/packagemaker --doc osx-package.pmdoc --title 'Kicad' -o ${file}.mpkg
# curl -T ${file}.mpkg ftp://username:password@ftp.brokentoaster.com/
else
curl -T /temp/kicad_errors-${new_version}.txt ftp://username:password@ftp.brokentoaster.com/
fi
# go to sleep
open /Users/nick/Applications/SleepNow
else
echo "Kicad is uptodate :) "
fi