From e186dcff2c2b6c6f32c72858425ba8b9d8b33efb Mon Sep 17 00:00:00 2001 From: Zoltan Varga Date: Tue, 29 Nov 2016 00:29:18 -0500 Subject: [PATCH] [build] Enable aot for Microsoft.CodeAnalysis.dll/Microsoft.CodeAnalysis.CSharp.dll, as the aot compiler generates smaller images now. --- mcs/class/aot-compiler/Makefile | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/mcs/class/aot-compiler/Makefile b/mcs/class/aot-compiler/Makefile index f5291e8d699..17501424811 100644 --- a/mcs/class/aot-compiler/Makefile +++ b/mcs/class/aot-compiler/Makefile @@ -48,11 +48,9 @@ $(csc_aot_image): $(csc_exe) $(mscorlib_dll) $(runtime_dep) $(mscorlib_aot_image): $(mscorlib_dll) $(runtime_dep) $(Q_AOT) MONO_PATH='$(the_libdir)' > $(PROFILE)_aot.log 2>&1 $(RUNTIME) --aot=bind-to-runtime-version --debug $(mscorlib_dll) || (cat $(PROFILE)_aot.log; exit 1) -# Disabled as it hits AOT too big limit $(csc_MC_image): $(csc_MC_dll) $(runtime_dep) $(Q_AOT) MONO_PATH='$(the_libdir)' > $(PROFILE)_aot.log 2>&1 $(RUNTIME) --aot=bind-to-runtime-version,outfile=$(csc_MC_image) --debug $(csc_MC_dll) || (cat $(PROFILE)_aot.log; exit 1) -# Disabled as it hits AOT too big limit $(csc_MCS_image): $(csc_MCS_dll) $(runtime_dep) $(Q_AOT) MONO_PATH='$(the_libdir)' > $(PROFILE)_aot.log 2>&1 $(RUNTIME) --aot=bind-to-runtime-version,outfile=$(csc_MCS_image) --debug $(csc_MCS_dll) || (cat $(PROFILE)_aot.log; exit 1) @@ -69,7 +67,7 @@ clean-local: # AOT build profile mcs to speed up build ifeq ($(PROFILE),build) -all-local: $(mscorlib_aot_image) $(csc_aot_image) $(csc_SRM_image) $(csc_SCI_image) +all-local: $(mscorlib_aot_image) $(csc_aot_image) $(csc_SRM_image) $(csc_SCI_image) $(csc_MC_image) $(csc_MCS_image) install-local: endif -- 2.25.1