[m-rev.] diff: update test_mercury script
Paul Bone
paul at bone.id.au
Mon Apr 29 13:49:45 AEST 2013
On Mon, Apr 29, 2013 at 01:38:31PM +1000, Julien Fischer wrote:
>
> Update the test_mercury script.
>
> tools/test_mercury:
> Build the source distribution in the hlc.gc.pregen grade.
>
> Force the LLDS base grade for the source distribution to be none
> rather than asm_fast. The latter was causing problems when
> generating the C files on Mac OS X (or anything else on which
> asm_fast doesn't work).
>
> Julien.
>
> diff --git a/tools/test_mercury b/tools/test_mercury
> index c63f171..1ac946d 100755
> --- a/tools/test_mercury
> +++ b/tools/test_mercury
> @@ -886,8 +886,8 @@ case $HOST in $ROTD_HOST)
> mercury_cv_low_tag_bits=2 \
> mercury_cv_bits_per_word=32 \
> mercury_cv_unboxed_floats=no \
> - sh configure --with-llds-base-grade=asm_fast --prefix=$INSTALL_DIR &&
> - $MMAKE MMAKEFLAGS="EXTRA_MCFLAGS='-O5 --opt-space --cross-compiling --no-smart-indexing' $PARALLEL" tar &&
> + sh configure --with-llds-base-grade=none --prefix=$INSTALL_DIR &&
> + $MMAKE MMAKEFLAGS="GRADE=hlc.gc.pregen EXTRA_MCFLAGS='-O5 --opt-space --cross-compiling --no-smart-indexing' $PARALLEL" tar &&
> cd .. &&
> rm -f $UNSTABLE/* &&
> cp mercury/NEWS $UNSTABLE/mercury-NEWS-$version-unstable.txt &&
Thanks.
--
Paul Bone
http://www.bone.id.au
More information about the reviews
mailing list