[m-rev.] trivial diff: set nondet stack size for CLP(R) fib test

Fergus Henderson fjh at cs.mu.OZ.AU
Mon Nov 11 11:52:43 AEDT 2002


Estimated hours taken: 0.5
Branches: main

extras/clpr/samples/Mmakefile:
	Set the nondet stack size explicitly for the "fib" test case,
	to avoid a nondet stack overflow on murlibobo in debug grades.

Workspace: /home/mercury0/fjh/mercury
Index: extras/clpr/samples/Mmakefile
===================================================================
RCS file: /home/mercury1/repository/clpr/samples/Mmakefile,v
retrieving revision 1.16
diff -u -d -r1.16 Mmakefile
--- extras/clpr/samples/Mmakefile	2002/10/27 13:10:52	1.16
+++ extras/clpr/samples/Mmakefile	2002/11/11 00:49:27
@@ -45,6 +45,12 @@
 %.out: %
 	./$< > $@ 2>&1
 
+# The fib test overflows the default (128k) nondet stack size
+# on dec-alpha-osf5.1 in grade asm_fast.gc.tr.debug, so we
+# need to explicitly set the nondet stack size.
+fib.out: fib
+	MERCURY_OPTIONS="--nondetstack-size 600"
+
 DIFF_OPTS=-c
 
 %.res: %.out %.exp 

-- 
Fergus Henderson <fjh at cs.mu.oz.au>  |  "I have always known that the pursuit
The University of Melbourne         |  of excellence is a lethal habit"
WWW: <http://www.cs.mu.oz.au/~fjh>  |     -- the last words of T. S. Garp.
--------------------------------------------------------------------------
mercury-reviews mailing list
post:  mercury-reviews at cs.mu.oz.au
administrative address: owner-mercury-reviews at cs.mu.oz.au
unsubscribe: Address: mercury-reviews-request at cs.mu.oz.au Message: unsubscribe
subscribe:   Address: mercury-reviews-request at cs.mu.oz.au Message: subscribe
--------------------------------------------------------------------------



More information about the reviews mailing list