Kicad SVN builds for OSX

I’ve managed to cobble together some universal builds of kicad for mac osx. These a based on wxMac2.8 so the graphics is still very screwy. I might try a wxCocoa build some time in the future.

The script which is on a cron job to run every day is below.


#Make a nightly build of kicad

#update from svn
cd /Volumes/Scratch/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 ]

#build it
cd build/release
cmake ../../ -DwxWidgets_CONFIG_EXECUTABLE=/usr/bin/wx-config -DwxWidgets_ROOT_DIR=/Volumes/Scratch/wxMac-2.8.8/include -DCMAKE_INSTALL_PREFIX=/temp/install -DBoost_INCLUDE_DIR=/Volumes/Scratch/kicad-sources -DCMAKE_OSX_ARCHITECTURES=”ppc -arch i386″ -DCPP_FLAGS=”-arch i386 -arch ppc”

make clean
if make
make install

cd /temp/
tar -czf kicad_osx_v`cat install/version.txt`.tgz install

curl -T kicad_osx_v`cat install/version.txt`.tgz

echo $new_version > /temp/install/version.txt
echo “Kicad is uptodate 🙂 “

You can find the builds at No guarantees on usefulness.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.