mirror of
https://github.com/Mercury-Language/mercury.git
synced 2026-04-22 12:53:47 +00:00
Link a smaller number of modules at a time to the stage2 directories.
Estimated hours taken: 0.1 bootcheck: Link a smaller number of modules at a time to the stage2 directories. This ought to fix the problem with muse's argument vector overflowing. test_mercury: Fix a comment.
This commit is contained in:
@@ -115,13 +115,18 @@ echo linking stage 2... 1>&2
|
||||
cd stage2
|
||||
mkdir compiler
|
||||
cd compiler
|
||||
ln -s $root/compiler/*.m .
|
||||
# Break up the links into several chunks.
|
||||
# This is needed to cope with small limits on the size of argument vectors.
|
||||
ln -s $root/compiler/[a-h]*.m .
|
||||
ln -s $root/compiler/[i-s]*.m .
|
||||
ln -s $root/compiler/[t-z]*.m .
|
||||
cp $root/compiler/Mmake* .
|
||||
cd $root/stage2
|
||||
mkdir library
|
||||
cd library
|
||||
ln -s $root/library/*.m .
|
||||
ln -s $root/library/*.nl .
|
||||
ln -s $root/library/[a-l]*.m .
|
||||
ln -s $root/library/[m-z]*.m .
|
||||
# ln -s $root/library/*.nl .
|
||||
cp $root/library/Mmake* .
|
||||
ln -s $root/library/library.init .
|
||||
cd $root/stage2
|
||||
@@ -220,13 +225,18 @@ set +x
|
||||
cd stage3
|
||||
mkdir compiler
|
||||
cd compiler
|
||||
ln -s $root/compiler/*.m .
|
||||
# Break up the links into several chunks.
|
||||
# This is needed to cope with small limits on the size of argument vectors.
|
||||
ln -s $root/compiler/[a-h]*.m .
|
||||
ln -s $root/compiler/[i-s]*.m .
|
||||
ln -s $root/compiler/[t-z]*.m .
|
||||
cp $root/compiler/Mmake* .
|
||||
cd $root/stage3
|
||||
mkdir library
|
||||
cd library
|
||||
ln -s $root/library/*.m .
|
||||
ln -s $root/library/*.nl .
|
||||
ln -s $root/library/[a-l]*.m .
|
||||
ln -s $root/library/[m-z]*.m .
|
||||
# ln -s $root/library/*.nl .
|
||||
cp $root/library/Mmake* .
|
||||
ln -s $root/library/library.init .
|
||||
cd $root/stage3
|
||||
|
||||
Reference in New Issue
Block a user