Commit d4391e8b authored by John van Groningen's avatar John van Groningen
Browse files

bug fix for clean-classic for macos-x64, prevent crash when building the...

bug fix for clean-classic for macos-x64, prevent crash when building the compiler using Clean 3.0 because of a stack overflow, by increasing the stack size, the Clean 3.0 compiler for macosx probably has a small stack because the -S option was was missing in the makefile
parent 504b58c4
Pipeline #52952 passed with stage
in 16 minutes and 13 seconds
......@@ -8,7 +8,7 @@ export BOOTCOMPILERPATH=$PWD/boot_compiler/bin:$PWD/boot_compiler/lib/exe:$PATH
./clean-classic/macos-x64/build_rts.sh
export PATH=$BOOTCOMPILERPATH
./clean-classic/macos-x64/build_htoclean.sh
./clean-classic/macos-x64/build_clc_no_fusion.sh
./clean-classic/macos-x64/build_clc_larger_stack.sh
./clean-classic/macos-x64/build_batch_build.sh
./clean-classic/macos-x64/build_libraries.sh
./clean-classic/macos-x64/build_language_report.sh
......
......@@ -4,8 +4,12 @@ set -e
mkdir compiler
mv git/compiler/* compiler/
cp clm/clm boot_compiler/bin/clm_
(cd boot_compiler/bin; ./patch_bin clm_ `./patch_bin clm CLEANPATH | tr -d '='` )
(cd boot_compiler/bin; ./patch_bin clm_ `./patch_bin clm CLEANLIB | tr -d '='` )
(cd boot_compiler/bin; ./patch_bin clm_ `./patch_bin clm CLEANILIB | tr -d '='` )
cd compiler
clm -ABC -nw -ci -I backend -I frontend -I main -I main/Unix -IL ArgEnv backendconvert
clm_ -aC,-s,2m -fusion -ABC -nw -ci -I backend -I frontend -I main -I main/Unix -IL ArgEnv backendconvert
unix/make.macosx64.sh
cd ..
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment