[m-rev.] trivial diff: build src distribution with --cross-compiling
Julien Fischer
juliensf at csse.unimelb.edu.au
Thu Dec 21 17:11:15 AEDT 2006
Estimated hours taken: 0
Branches: main
tools/test_mercury:
Build the source distribution with --cross-compiling enabled.
Julien.
Index: test_mercury
===================================================================
RCS file: /home/mercury/mercury1/repository/mercury/tools/test_mercury,v
retrieving revision 1.308
diff -u -r1.308 test_mercury
--- test_mercury 1 Dec 2006 03:32:37 -0000 1.308
+++ test_mercury 19 Dec 2006 06:54:53 -0000
@@ -781,7 +781,7 @@
mercury_cv_bits_per_word=32 \
mercury_cv_unboxed_floats=no \
sh configure --prefix=$INSTALL_DIR &&
- mmake MMAKEFLAGS="EXTRA_MCFLAGS='-O5 --opt-space' $PARALLEL" tar &&
+ mmake MMAKEFLAGS="EXTRA_MCFLAGS='-O5 --opt-space --cross-compiling' $PARALLEL" tar &&
cd .. &&
rm -f $UNSTABLE/* &&
cp mercury/NEWS $UNSTABLE/mercury-NEWS-$version-unstable.txt &&
@@ -793,8 +793,8 @@
mv mercury-tests-$version.tar.gz \
$UNSTABLE/mercury-tests-$version-unstable.tar.gz
} || set_status "making source distribution"
- # later parts of this script assume that we've already run configure,
- # so we need to redo that
+ # Later parts of this script assume that we've already run configure,
+ # so we need to redo that.
cd $DIR/mercury && sh configure --prefix=$INSTALL_DIR
cd $DIR
;;
--------------------------------------------------------------------------
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