Update the source distribution build script.

tools/build_srcdist:
	We no longer need to bother with setting the LLDS base grade as the
	C files in the source distribution have been built using the high-level
	C backend for quite a while now.

	Don't build the source distribution with --cross-compiling; that option
	no longer does anything.

	Don't disable smart indexing when building the source distribution;
	the problems that originally caused us to do so have long since been
	fixed.
This commit is contained in:
Julien Fischer
2015-07-02 00:49:11 +10:00
parent b915b251a9
commit e6fc62a7ab

View File

@@ -100,7 +100,7 @@ mercury_cv_low_tag_bits=$NUM_TAG_BITS \
mercury_cv_bits_per_word=$BITS_PER_WORD \
mercury_cv_bytes_per_word=$BYTES_PER_WORD \
mercury_cv_unboxed_floats=$UNBOXED_FLOATS \
sh configure --with-llds-base-grade=none --with-cc="$CC" &&
mmake GRADE=hlc.gc.pregen MMAKEFLAGS="EXTRA_MCFLAGS='-O5 --opt-space --cross-compiling --no-smart-indexing' -j$PARALLEL" tar
sh configure --with-cc="$CC" &&
mmake GRADE=hlc.gc.pregen MMAKEFLAGS="EXTRA_MCFLAGS='-O5 --opt-space' -j$PARALLEL" tar