Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiguel de Icaza <miguel@gnome.org>2014-05-08 06:44:41 +0400
committerMiguel de Icaza <miguel@gnome.org>2014-05-09 19:27:53 +0400
commite0e3f3cd4f2aad1f92aec1d53b00793541109c13 (patch)
tree7fca90712c170a9a79b900178c08e4dd8a3c2be0 /mcs/class/Mono.Xml.Ext
parent69a1519d25a5959aa0ea533b7feb933cc1d1b4ea (diff)
[build] Staged setup for building assemblies with cyclic dependencies
This patch introduces an infrastructure to stage the builds for the core assemblies that have cyclic dependencies. This deals directly with the following cycle: System.dll requires: System.Configuration.dll Mono.Security.dll System.Xml.dll They all require System.dll to be built System.Xml requires: System.dll System.Configuration.dll System.Security.dll requires: System.dll Mono.Security.dll System.Xml.dll Principle ========= The patch works by directing the build infrastructure to place intermediate build steps on their own directory. For example the first System.dll build that only takes a dependency in mscorlib.dll is placed not under the final directory but on a subdirectory called "bare". The second time that System.dll is built (after Mono.Security and System.Xml have been built) is placed on the "secxml" directory. The third time is the final build, and that one ends in the profile directory. The same principle is applied to System.Xml. Better Dependency Tracking ========================== To handle the multiple stages, the new Makefiles for the various parties involved in this loop are now able to build their dependencies. This means that typing "make" on System.Security or System.Xml or System will build all of the intermediate steps as required, without needing the toplevel Makefile to perform multiple build shots to incrementally build the result. Bug fixes ========= We must have regressed at some point the build of System.Xml as we were only doing one build of it, one without System.Configuration support. This patch introduces back the changes to build System.Xml in two steps. This patch fixes the setup where we end up rebuilding System.dll and overwriting it two times as the build progresses as a side effect (this is what required LIBRARY_USE_INTERMEDIATE_FILE). Details ======= library.make: Introduces a new "the_libdir_base" which is the raw directory where the final output will go. This points to the same location that libdir_base previously pointed to. The existing libdir_base is modified to contain an optional "intermediate" directory, where intermediate builds can be placed. Other cycles ============ The System.Design assembly was listed as having cycles, but while this cycle exists in theory, in practice we have not implemented any of the code that brings the cycle in System.Windows.Forms.Design's ImageListImageEditor and chances are, we wont any time soon.
Diffstat (limited to 'mcs/class/Mono.Xml.Ext')
-rw-r--r--mcs/class/Mono.Xml.Ext/Makefile1
1 files changed, 0 insertions, 1 deletions
diff --git a/mcs/class/Mono.Xml.Ext/Makefile b/mcs/class/Mono.Xml.Ext/Makefile
index 60c5abcbfb4..6ce19375b67 100644
--- a/mcs/class/Mono.Xml.Ext/Makefile
+++ b/mcs/class/Mono.Xml.Ext/Makefile
@@ -3,7 +3,6 @@ SUBDIRS =
include ../../build/rules.make
LIBRARY = Mono.Xml.Ext.dll
-LIBRARY_USE_INTERMEDIATE_FILE = yes
ifeq ($(PROFILE),atomic)
SCARY_LIB=