[m-rev.] for review: fix installation

Peter Wang wangp at students.cs.mu.oz.au
Wed Aug 16 12:56:00 AEST 2006


Estimated hours taken: 0.5
Branches: main

scripts/prepare_tmp_dir_grade_part:
	Copy libatomic_ops-related files into tmp_dir when installing grades.

compiler/notes/upgrade_boehm_gc.html:
	Add more tips.


Index: scripts/prepare_tmp_dir_grade_part
===================================================================
RCS file: /home/mercury/mercury1/repository/mercury/scripts/prepare_tmp_dir_grade_part,v
retrieving revision 1.3
diff -u -r1.3 prepare_tmp_dir_grade_part
--- scripts/prepare_tmp_dir_grade_part	20 May 2005 06:15:20 -0000	1.3
+++ scripts/prepare_tmp_dir_grade_part	16 Aug 2006 02:18:12 -0000
@@ -24,6 +24,9 @@
 cp boehm_gc/cord/*.[ch] tmp_dir/boehm_gc/cord
 cp boehm_gc/include/*.[ch] tmp_dir/boehm_gc/include
 cp boehm_gc/include/private/*.[ch] tmp_dir/boehm_gc/include/private
+cp boehm_gc/configure_atomic_ops.sh tmp_dir/boehm_gc
+cp -r boehm_gc/libatomic_ops-*[0-9] tmp_dir/boehm_gc
+rm -fr tmpdir/boehm_gc/libatomic_ops-*[0-9]/src/*.o
 mkdir tmp_dir/runtime
 mkdir tmp_dir/runtime/machdeps
 cp runtime/Mmake* tmp_dir/runtime
Index: compiler/notes/upgrade_boehm_gc.html
===================================================================
RCS file: /home/mercury1/repository/mercury/compiler/notes/upgrade_boehm_gc.html,v
retrieving revision 1.3
diff -u -r1.3 upgrade_boehm_gc.html
--- compiler/notes/upgrade_boehm_gc.html	3 Oct 2005 12:53:09 -0000	1.3
+++ compiler/notes/upgrade_boehm_gc.html	16 Aug 2006 02:49:25 -0000
@@ -121,10 +121,12 @@
 <P>
 Now resolve any of the conflicts.
 Bootcheck the compiler in at least asm_fast.gc and hlc.gc.
-Then use the new system to do an install and test that the installed version
-can compile some test programs.
+Then use the new system to do an install (with non-empty LIBGRADES)
+and test that the installed version can compile some test programs.
 This is because the update may have added some new files which may not be
 copied into the install directories.
+Some build scripts may also need to be updated (in particular tools/bootcheck
+and scripts/prepare_tmp_dir_*).
 </P>
 
 <P>
--------------------------------------------------------------------------
mercury-reviews mailing list
Post messages to:       mercury-reviews at csse.unimelb.edu.au
Administrative Queries: owner-mercury-reviews at csse.unimelb.edu.au
Subscriptions:          mercury-reviews-request at csse.unimelb.edu.au
--------------------------------------------------------------------------



More information about the reviews mailing list