Check-in [a3be2dcd83]
Overview
Comment:Added build scripts for Mac OS X
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1:a3be2dcd83631333e87a0bcd43e4c7e778dcf7bb
User & Date: rkeene on 2015-03-31 22:21:54
Other Links: manifest | tags
Context
2015-03-31
22:24
Fixed name of amd64 Mac OS X build script check-in: 225ab1ff81 user: rkeene tags: trunk
22:21
Added build scripts for Mac OS X check-in: a3be2dcd83 user: rkeene tags: trunk
03:33
Updated to work with compilers that add ".exe" to output files check-in: 7ca49930e2 user: rkeene tags: trunk
Changes

Added build/make-kit-macosx-i386 version [33d805adde].

            1  +#! /bin/sh
            2  +
            3  +CC='gcc -arch i386'
            4  +CXX='g++ -arch i386'
            5  +export CC CXX
            6  +
            7  +./build/make-kit-powermacg5 "$@" --enable-aqua --host=i386-apple-darwin9

Added build/make-kit-macosx-ppc version [3867238257].

            1  +#! /bin/sh
            2  +
            3  +./build/make-kit-powermacg5 "$@" --enable-aqua

Added build/make-kit-macosx-ppc64 version [9dcb9c91cc].

            1  +#! /bin/sh
            2  +
            3  +CC='gcc -arch ppc64'
            4  +CXX='g++ -arch ppc64'
            5  +export CC CXX
            6  +
            7  +./build/make-kit-powermacg5 "$@" --enable-aqua

Added build/make-kit-macosx-x86_64 version [17e09199c0].

            1  +#! /bin/sh
            2  +
            3  +CC='gcc -arch x86_64'
            4  +CXX='g++ -arch x86_64'
            5  +export CC CXX
            6  +
            7  +./build/make-kit-powermacg5 "$@" --enable-aqua --host=x86_64-apple-darwin9

Added build/make-kit-powermacg5 version [58b70c24a4].

            1  +#! /bin/bash
            2  +
            3  +if [ "$(uname -s)" != 'Darwin' ]; then
            4  +	buildid="$(( hostname; id -u; pwd ) | openssl sha1 | sed 's@^.*= *@@')"
            5  +	workdir="/tmp/work-kitcreator-${buildid}"
            6  +	rsync -aq --delete -e ssh . powermacg5.vpn.oc9.org:${workdir}/
            7  +	(
            8  +		newArgv=("$@"); declare -p newArgv
            9  +		declare -p workdir
           10  +		export
           11  +		cat << \_EOF_
           12  +cd "${workdir}" || exit 1
           13  +./kitcreator "${newArgv[@]}"
           14  +exit "$?"
           15  +_EOF_
           16  +	) | ssh powermacg5.vpn.oc9.org bash -s || exit "$?"
           17  +
           18  +	ssh powermacg5.vpn.oc9.org "workdir='${workdir}'; "'cd "${workdir}" && tar -cf - tclkit-* libtclkit* 2>/dev/null' | tar -xf -
           19  +fi
           20  +