Commit Graph

12 Commits

Author SHA1 Message Date
Zoltan Somogyi
47a1a02a92 Add vim modelines to most tools.
tools/add_cont_lines:
tools/appears:
tools/assemble:
tools/avg_frame_size:
tools/build_srcdist:
tools/cleanint:
tools/compare_frame_sizes:
tools/configure_mingw_cross:
tools/cont:
tools/ctor_rep_stats:
tools/cur_param:
tools/dd_speedtest:
tools/divide:
tools/extract_dd_stats:
tools/file_name_translation_stats:
tools/frame_sizes:
tools/gdbrun:
tools/half:
tools/info_stats.awk:
tools/linear:
tools/lmc.in:
tools/mai_stats:
tools/make_arena:
tools/next_param:
tools/not:
tools/optstages:
tools/type_ctor_stats:
    Add vim mode lines. Replace tabs with spaces.
2021-04-27 03:54:27 +10:00
Zoltan Somogyi
39377c939e Commit to the new build_srcdist.
tools/build_srcdist:
    Delete the old build_srcdist, and rename build_srcdist2 as build_srcdist.
    Make it refer to the tar target designed for it, tar2, under its new name
    tar.

Mmakefile:
    Delete the old tar target (which worked with the old build_srcdist),
    and rename the old tar2 target (which works with the new build_srcdist)
    as just plain tar.
2020-10-11 22:22:55 +11:00
Zoltan Somogyi
6d91b39230 Update programming style. 2020-09-19 08:25:31 +10:00
Julien Fischer
cabaf551d9 Save the commit id in srcdist packages.
tools/build_srcdist:
    Save the git commit id a srcdist is based upon in a file
    within that srcdist.
2018-07-31 14:48:12 +10:00
Julien Fischer
33641c6ed9 Ensure there are no stage[23] directories in the source distribution.
tools/build_srcdist:
     Clean up any leftover stage2 or stage3 directories.
2016-05-27 14:22:27 +10:00
Julien Fischer
773dc06f89 build_srcdist: new option for specifying tar command
tools/build_srcdist:
     Add a new option, -t, that allows the tar command for
     use by the tar target to be specified.
2015-10-21 14:19:45 +11:00
Julien Fischer
f48d446ded Minor documentation improvements for the srcdist build script.
tools/build_srcdist:
    As above.
2015-10-12 11:39:18 +11:00
Paul Bone
2a0d3a5eff Fix the source distribution
tools/build_srcdist:
    De-initialise the git submodules prior to building the source
    distribution.  They are then setup again, with clean working
    directories, by the call to ./prepare.sh.

Mmakefile:
    Handle the the new location of libatomic_opss in the "tar" target.

scripts/prepare_install_dir.in:
    Handle both usage in the source distribution where
    boehm_gc/libatomic_ops is a directory, and usage in a development
    workspace where boehm_gc/libatomic_ops is a symlink.
2015-10-01 10:26:47 +10:00
Paul Bone
eed9cc75bd Make changes required to upgrade to Boehm GC 7.4.2
GC_stackbottom, GC_gc_no and GC_dont_gc are now deprecated.  These changes
use new options in the API where possible.

Update scripts to copy the boehm_gc and libatomic_ops directories correctly.

Pass Boehm GC the correct flags for thread support

Update documentation regarding the version of Boehm GC.

runtime/mercury_wrapper.c:
    Don't use the deprecated GC_dont_gc variable.

library/benchmarking.m:
    Use GC_get_stackbottom() to get the bottom of stack and GC_get_gc_no()
    to get the number of collections so far.

util/mkinit.c:
    Do not explicitly set GC_stackbottom anymore, except on AIX where it
    cannot be found automatically.

scripts/prepare_install_dir.in:
tools/bootcheck:
tools/build_srcdist:
    Add some missing files present in Boehm GC 7.4.2 that wern't present
    earlier and remove some old ones.

    Coby and link the libatomic_ops directory correctly.

.README.in:
bindist/bindist.README:
    Update documentation regarding the version of Boehm GC.

configure.ac:
    Something in Boehm GC's build system has changed and we must now pass
    -DGC_THREADS whenever building threadsafe versions of BOehm GC.  This is now
    done using the BOEHM_MISC_CFLAGS_FOR_THREADS autoconf variable, which has
    been renamed to BOEHM_CFLAGS_FOR_THREADS now that it is more generally used.

    Boehm GC no longer (or perhaps never did) require developers to specify the
    type of threading to use, eg -DGC_LINUX_THREADS rather than -DGC_THREADS.
    With the exception of win32-pthreads.  We now pass -DGC_THREADS whereever
    possible.

Mmake.common.in:
    Rename BOEHM_MISC_CFLAGS_FOR_THREADS.
2015-10-01 10:26:46 +10:00
Julien Fischer
e6fc62a7ab 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.
2015-07-02 00:49:11 +10:00
Julien Fischer
bd1dfd635c Set bytes-per-word correctly in build_srcdist.
tools/build_srcdist:
    Set bytes-per-word correctly in this script.
2015-06-29 15:42:28 +10:00
Paul Bone
9754995e7d Add build_srcdist script for building the source distribution
This new script can build source distributions.  It is derived from the
script Julien had been using.

tools/build_srcdist:
    As above
2013-10-22 14:44:12 +11:00