summaryrefslogtreecommitdiff
path: root/mk/buildlink2/NOTES
blob: 0edd7b130cd9bd93c584ba743a75f7d79ab21b79 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
$NetBSD: NOTES,v 1.11.6.1 2003/09/02 03:09:50 jlam Exp $

 Caching
 =======

The caching problems seem to be related to correct manipulation of
variables containing values with escaped metacharacters by the shell.  The
current code only does partial caching, which doesn't cache "special"
arguments that contain escaped metacharacters or other oddly quoted values.
On certain platforms listed in _BLNK_CACHE_ALL in bsd.buildlink2.mk, we do
full caching, which has enormous speed benefits since it avoids an extra
sed invocation per "special" argument.

The test process for buildlink2 consists of building and installing:

	shells/tcsh		tests handling of specially-quoted arguments
	devel/gettext-lib	same as above, but uses libtool
	x11/xearth		tests imake wrapper

Full caching can be tested be adding ${MACHINE_PLATFORM} to _BLNK_CACHE_ALL
and performing the tests above, but only building the packages is needed.

Platform			Working?	Full caching?
--------			--------	-------------
FreeBSD 4.7
IRIX 6.5 (jschauma)		Yes!		Yes!
Linux
Darwin 5.5 (schmonz)		Yes!		No
Darwin 6.2 (grant)		Yes!		Yes!
NetBSD 1.5.x (gendalia)
NetBSD 1.6 (jlam)		Yes!		Yes!
OpenBSD (cjep)
Solaris 7
Solaris 8 (grant)		Yes!		Yes!
Solaris 9 (salo)		Yes!		Yes!