Check-in [8c0ee91103]
Overview
Comment:Updated to emit TclVFS faillure if "make install" fails.

Updated to log which Tclkit is being used to install the VFS

Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 8c0ee911038ad368085c33f17a5d5a5df69ef825
User & Date: rkeene on 2011-02-27 20:26:01
Other Links: manifest | tags
Context
2011-03-01
14:45
Added catch around thread test to avoid halting automated tests for an error check-in: 7618ff9a65 user: rkeene tags: trunk
2011-02-27
20:26
Updated to emit TclVFS faillure if "make install" fails.

Updated to log which Tclkit is being used to install the VFS check-in: 8c0ee91103 user: rkeene tags: trunk

2011-02-08
07:47
Updated to pull "CVS" updates from Fossil (location and method may change in the future) check-in: a0fa3aeee4 user: rkeene tags: trunk
Changes

Modified kitsh/build.sh from [b70457f0fd] to [2be7df7f4b].

96
97
98
99
100
101
102

103
104
105
106
107
108
109
110


111
112
113
114
115
116
117
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120







+








+
+








	# Intall VFS onto kit
	## Determine if we have a Tclkit to do this work
	TCLKIT="${TCLKIT:-tclkit}"
	if echo 'exit 0' | "${TCLKIT}" >/dev/null 2>/dev/null; then
		## Install using existing Tclkit
		### Call installer
		echo "Running: \"${TCLKIT}\" installvfs.tcl kit starpack.vfs \"${ENABLECOMPRESSION}\""
		"${TCLKIT}" installvfs.tcl kit starpack.vfs "${ENABLECOMPRESSION}"
	else
		## Bootstrap (cannot cross-compile)
		### Call installer
		cp kit runkit
		echo "set argv [list kit starpack.vfs {${ENABLECOMPRESSION}}]" > setup.tcl
		echo 'if {[catch { clock seconds }]} { proc clock args { return 0 } }' >> setup.tcl
		echo 'source installvfs.tcl' >> setup.tcl

		echo 'Running: echo | ./runkit'
		echo | ./runkit
	fi

	exit 0
) || exit 1

exit 0

Modified tclvfs/build.sh from [d1e2c23178] to [c20cbb9749].

81
82
83
84
85
86
87
88

89
90
91
92
93
94
95
96
97
81
82
83
84
85
86
87

88
89
90
91
92
93
94
95
96
97







-
+









	echo "Running: ./configure --disable-shared --prefix=\"${INSTDIR}\" --exec-prefix=\"${INSTDIR}\" --with-tcl=\"${TCLCONFIGDIR}\" ${CONFIGUREEXTRA}"
	./configure --disable-shared --prefix="${INSTDIR}" --exec-prefix="${INSTDIR}" --with-tcl="${TCLCONFIGDIR}" ${CONFIGUREEXTRA}

	echo "Running: ${MAKE:-make}"
	${MAKE:-make} || exit 1

	echo "Running: ${MAKE:-make} install"
	${MAKE:-make} install
	${MAKE:-make} install || exit 1

	mkdir "${OUTDIR}/lib" || exit 1
	cp -r "${INSTDIR}/lib"/vfs* "${OUTDIR}/lib/"
	rm -f "${OUTDIR}/lib"/vfs*/*.a "${OUTDIR}/lib"/vfs*/*.so

	exit 0
) || exit 1

exit 0