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

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















>
>
>
>
>
>
>
1
2
3
4
5
6
7
#! /bin/sh

CC='gcc -arch i386'
CXX='g++ -arch i386'
export CC CXX

./build/make-kit-powermacg5 "$@" --enable-aqua --host=i386-apple-darwin9

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







>
>
>
1
2
3
#! /bin/sh

./build/make-kit-powermacg5 "$@" --enable-aqua

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















>
>
>
>
>
>
>
1
2
3
4
5
6
7
#! /bin/sh

CC='gcc -arch ppc64'
CXX='g++ -arch ppc64'
export CC CXX

./build/make-kit-powermacg5 "$@" --enable-aqua

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















>
>
>
>
>
>
>
1
2
3
4
5
6
7
#! /bin/sh

CC='gcc -arch x86_64'
CXX='g++ -arch x86_64'
export CC CXX

./build/make-kit-powermacg5 "$@" --enable-aqua --host=x86_64-apple-darwin9

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









































>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#! /bin/bash

if [ "$(uname -s)" != 'Darwin' ]; then
	buildid="$(( hostname; id -u; pwd ) | openssl sha1 | sed 's@^.*= *@@')"
	workdir="/tmp/work-kitcreator-${buildid}"
	rsync -aq --delete -e ssh . powermacg5.vpn.oc9.org:${workdir}/
	(
		newArgv=("$@"); declare -p newArgv
		declare -p workdir
		export
		cat << \_EOF_
cd "${workdir}" || exit 1
./kitcreator "${newArgv[@]}"
exit "$?"
_EOF_
	) | ssh powermacg5.vpn.oc9.org bash -s || exit "$?"

	ssh powermacg5.vpn.oc9.org "workdir='${workdir}'; "'cd "${workdir}" && tar -cf - tclkit-* libtclkit* 2>/dev/null' | tar -xf -
fi