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