[m-dev.] diff: tools/bootcheck: fix --copy-boehm-gc --keep-stage-2 bug
Fergus Henderson
fjh at cs.mu.OZ.AU
Thu Dec 14 14:01:39 AEDT 2000
Estimated hours taken: 0.25
tools/bootcheck:
When building with --copy-boehm-gc, use a symbolic link for
boehm_gc/Makefile, like we do for boehm_gc/*.[ch], rather than
making a copy. This avoids a problem where it would recompile
the stage 2 boehm_gc directory every time you rerun a
bootcheck, even with --keep-stage-2; this was because it would
recopy the file, updating the timestamp, which would force
everything to be recompiled.
Workspace: /home/pgrad/fjh/ws/hg3
Index: tools/bootcheck
===================================================================
RCS file: /home/mercury1/repository/mercury/tools/bootcheck,v
retrieving revision 1.106
diff -u -d -r1.106 bootcheck
--- tools/bootcheck 2000/12/04 18:28:54 1.106
+++ tools/bootcheck 2000/12/13 11:08:30
@@ -415,7 +415,7 @@
$LN_S $root/boehm_gc/*.s .
$LN_S $root/boehm_gc/include .
cp $root/boehm_gc/Mmake* .
- cp $root/boehm_gc/Makefile .
+ $LN_S $root/boehm_gc/Makefile .
cp $root/boehm_gc/NT_MAKEFILE .
cp $root/boehm_gc/gc_cpp.cc .
$LN_S $root/boehm_gc/machdeps .
--
Fergus Henderson <fjh at cs.mu.oz.au> | "I have always known that the pursuit
| of excellence is a lethal habit"
WWW: <http://www.cs.mu.oz.au/~fjh> | -- the last words of T. S. Garp.
--------------------------------------------------------------------------
mercury-developers mailing list
Post messages to: mercury-developers at cs.mu.oz.au
Administrative Queries: owner-mercury-developers at cs.mu.oz.au
Subscriptions: mercury-developers-request at cs.mu.oz.au
--------------------------------------------------------------------------
More information about the developers
mailing list