Check-in [30541f9462]
Overview
Comment:Updated to store build log in output directory
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1:30541f94628ed73f4511371d409a2cd414de8884
User & Date: rkeene on 2010-02-05 01:44:45
Other Links: manifest | tags
Context
2010-02-05
02:20
Added support for creating teapot descriptor check-in: a478ff4b06 user: rkeene tags: trunk
01:44
Updated to store build log in output directory check-in: 30541f9462 user: rkeene tags: trunk
01:34
Updated clean target to call build clean script Added finding TCLCONFIGDIR support Added build support for TLS on Solaris check-in: 0b028fd897 user: rkeene tags: trunk
Changes

Modified server/work/build_all.sh from [e331d246af] to [4f07bb6e7e].

30
31
32
33
34
35
36




37
38
39
40
41
42
43
..
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59


60
61
62
63
64
65
66
67
..
76
77
78
79
80
81
82
83
84
85
		fi
	done
)
if [ -z "${TCLCONFIGDIR}" ]; then
	TCLCONFIGDIR="/usr/lib"
fi
export TCLCONFIGDIR





# Build all appropriate directories
faileddirs=""
for dir in */; do
	export dir

	if [ ! -f "${dir}/build.sh" ]; then
................................................................................
		continue
	fi

	failed=0
	(
		cd "${dir}" || exit 1

		rm -f "build.log"
		rm -rf "build" "out"
		if [ "${DISTCLEAN}" = "1" ]; then
			rm -rf "src"
		fi
		if [ "${CLEANONLY}" = "1" ]; then
			exit 0
		fi



		./build.sh 2>&1 | tee "build.log" || exit 1
	) || failed=1

	if [ "${failed}" = "1" ]; then
		rm -rf "${dir}/out"
		faileddirs="${faileddirs} ${dir}"
	fi
done
................................................................................
	echo "The following failed to build:${failddirs}"
fi

# Create tarfile of built packages
PLATFORM="$(./platform)"
DATECODE="$(date +%Y%m%d%H%M)"
OUTFILEBASE="tclpkgs-${PLATFORM}-${DATECODE}"
tar -cf - */out */build.log | bzip2 -9c > "${OUTFILEBASE}.tar.bz2"

exit 0







>
>
>
>







 







<








>
>
|







 







|


30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
..
48
49
50
51
52
53
54

55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
..
81
82
83
84
85
86
87
88
89
90
		fi
	done
)
if [ -z "${TCLCONFIGDIR}" ]; then
	TCLCONFIGDIR="/usr/lib"
fi
export TCLCONFIGDIR

# Determine platform
PLATFORM="$(./platform)"
export PLATFORM

# Build all appropriate directories
faileddirs=""
for dir in */; do
	export dir

	if [ ! -f "${dir}/build.sh" ]; then
................................................................................
		continue
	fi

	failed=0
	(
		cd "${dir}" || exit 1


		rm -rf "build" "out"
		if [ "${DISTCLEAN}" = "1" ]; then
			rm -rf "src"
		fi
		if [ "${CLEANONLY}" = "1" ]; then
			exit 0
		fi

		mkdir -p "out/${PLATFORM}" >/dev/null 2>/dev/null

		./build.sh 2>&1 | tee "out/${PLATFORM}/build.log" || exit 1
	) || failed=1

	if [ "${failed}" = "1" ]; then
		rm -rf "${dir}/out"
		faileddirs="${faileddirs} ${dir}"
	fi
done
................................................................................
	echo "The following failed to build:${failddirs}"
fi

# Create tarfile of built packages
PLATFORM="$(./platform)"
DATECODE="$(date +%Y%m%d%H%M)"
OUTFILEBASE="tclpkgs-${PLATFORM}-${DATECODE}"
tar -cf - */out | bzip2 -9c > "${OUTFILEBASE}.tar.bz2"

exit 0

Modified server/work/tls/build.sh from [dc0eed1286] to [94a2a79b39].

40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
	fi

	./configure --enable-shared --with-tcl="${TCLCONFIGDIR}" --with-ssl-dir="${SSLDIR}"
	gmake || exit 1
) || exit 1

(
	rm -rf "${PLATDIR}"
	mkdir -p "${PLATDIR}"

	cp "build/${BUILDDIR}/libtls1.6.so" "${PLATDIR}/"
	cp "build/${BUILDDIR}/pkgIndex.tcl" "${PLATDIR}/"
	cp "build/${BUILDDIR}/tls.tcl" "${PLATDIR}/"
) || exit 1

exit 0







<
|







40
41
42
43
44
45
46

47
48
49
50
51
52
53
54
	fi

	./configure --enable-shared --with-tcl="${TCLCONFIGDIR}" --with-ssl-dir="${SSLDIR}"
	gmake || exit 1
) || exit 1

(

	mkdir -p "${PLATDIR}" >/dev/null 2>/dev/null

	cp "build/${BUILDDIR}/libtls1.6.so" "${PLATDIR}/"
	cp "build/${BUILDDIR}/pkgIndex.tcl" "${PLATDIR}/"
	cp "build/${BUILDDIR}/tls.tcl" "${PLATDIR}/"
) || exit 1

exit 0