Hi, we're using EA 7.2.x with Visual Studio 2012. In our solution, we have over 300 projects. 268 are C#, 48 are VB, and the rest are C++. We see acceleration because many of these projects can run in parallel and independently of each other.
In steady-state, we see 3-4x speed improvement. However, our first-time runs have 35-minute makefile creation times. We are presently sensitive about this makefile creation time because EA is new to us and we're trying optimize our experiences. This means we're checking out fresh code, updating environment variables, and adjusting some inputs. Since we have many C# and VB projects, we feel maybe there is room to make things even better.
We have been experimenting with the parameters below. We're wondering about the PARSE_PROJECTS value and why it doesn't seem to be influencing our makefile creation time.
Is ECADDIN_DONT_PARSE_PROJECTS suitable for a Visual Studio solution that is primarily C# and VB?
Are there other options we should consider to reduce the makefile creation time?
Answer by rthomas · Jul 10, 2014 at 06:34 PM
ECADDIN_DONT_PARSE_PROJECTS is only relevant for C++ files. C# and VB projects are not parsed.
The slow parse time is probably due to the conversion of project references to file references. emake does this to prevent msbuild building dependent projects. However, later versions of msbuild allow you to ignore building dependent projects (/p:BuildProjectReferences=false), so you can safely turn off emake's conversion of project references to file references by setting ECADDIN_REMOVE_DEPENDENCIES=false.
Answer by emake_curious · Jul 10, 2014 at 03:28 PM
Something to try... To avoid the conversion of the solution to nmake makefiles, set "Always Rescan Solution" to false. This will cache the previously generated makefiles and use them next time (if nothing has changed that would affect the makefiles)
Also, to avoid an excessively long initial (no history) build, set "Use Order Only Dependencies" to true.
Both of these settings are default in v4.0.
When are Visual Studio makefiles re-created? 1 Answer
Running multiple configuration+platforms from the same Visual Studio solution file 1 Answer
Using emake with CMake generated makefiles 2 Answers
Why does the Electric Cloud Visual Studio IDE Add-in fail to load? 1 Answer
Can emake run a cluster build under a chroot environment? 2 Answers
Electric Cloud powers Continuous Delivery, helping organizations developing deliver better software faster by automating and accelerating build, test, and deployment processes at scale. Industry leaders like Qualcomm, SpaceX, Cisco, GE, Gap, and E*TRADE use Electric Cloud solutions to boost DevOps productivity and Agile throughput.