for review: dispansing with a separate stage1 directory

Zoltan Somogyi zs at cs.mu.OZ.AU
Fri Apr 24 12:08:52 AEST 1998


tools/bootcheck:
	Do not copy the stage 1 compiler into a separate directory,
	use the existing copy in the compiler directory.

Zoltan.

Index: bootcheck
===================================================================
RCS file: /home/mercury1/repository/mercury/tools/bootcheck,v
retrieving revision 1.51
diff -u -u -r1.51 bootcheck
--- bootcheck	1998/04/15 06:52:37	1.51
+++ bootcheck	1998/04/23 09:26:34
@@ -335,13 +335,11 @@
 		exit 1
 	fi
 
-	# the stage 1 compiler is copied to allow it to be worked on (slightly)
-	# in parallel with the bootcheck itself.
+	# this is only for a transition period,
+	# until all stage1 dirs have been removed
+	/bin/rm -fr stage1
 
-	[ -d stage1 ] || mkdir stage1
-
-	cp compiler/mercury_compile stage1
-	MERCURY_COMPILER=$root/stage1/mercury_compile
+	MERCURY_COMPILER=$root/compiler/mercury_compile
 	export MERCURY_COMPILER
 	MERCURY_INT_DIR=$root/stage2/library
 	export MERCURY_INT_DIR



More information about the developers mailing list