mirror of
https://github.com/Mercury-Language/mercury.git
synced 2025-12-11 03:45:33 +00:00
Feedback of the upgrade of Boehm GC indicated that including the
libatomic_ops submodule in the top-level was inconvenient, and I agree.
This change, along with a corresponding change to the boehm_gc repository,
will instead included it as a nested submodule of boehm_gc.
.gitmodules:
libatomic_ops:
Remove libatomic_ops submodule.
boehm_gc
Update to the most recent revision that adds a libatomic_ops submodule.
prepare.sh:
Update submodules recursively.
Mmakefile:
scripts/prepare_install_dir.in:
tools/bootcheck:
Remove code in build tools that links or copies the libatomic_ops
directory from Mercury's top-level,
20 lines
586 B
Bash
Executable File
20 lines
586 B
Bash
Executable File
#!/bin/sh -e
|
|
# This script should be run in a fresh git checkout in order to initialise
|
|
# the necessary git submodules and produce the configure script.
|
|
|
|
if [ ! -e boehm_gc/.git ]; then
|
|
echo "Setting up submodules"
|
|
if git submodule --quiet init; then
|
|
git submodule update --remote --init --recursive
|
|
else
|
|
echo "There was a problem configuring the submodules. If the"
|
|
echo "repositories could not be found then edit .git/config and run"
|
|
echo "get submodule update"
|
|
exit 1
|
|
fi
|
|
fi
|
|
|
|
echo "Setting up autotools"
|
|
aclocal -I m4
|
|
autoconf
|