-
Notifications
You must be signed in to change notification settings - Fork 147
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Distributed Builds using BuildXL #1310
Comments
hi mikejack07, I am actually performing the same search. (again). What I know:
Anyway, to answer your question, I had to search a bit.... distributedBuildRole commandline option will help you.
used in https://github.com/microsoft/BuildXL/blob/main/Public/Src/App/Bxl/Args.cs OptionHandlerFactory.CreateOption2( sry, didn't check out and have no build (yet) so don't really know how to apply the option value to the command.... Plz keep us informed if you got the distributed build running. |
Distributed builds with BuildXL utilize the cache layer for file transport between machines. The cache service we use internally for distributed builds is not publicly available. The main obstacle for you to set up distributed builds would be to implement a cache for your specific environment. It needs to ensure consistent access to content and metadata across all machines participating in a build session. You can check out ICache.cs for the interface you'd need to implement. You can also browse the implementations of that interface that are in the codebase. But be aware that the implementations in this codebase are not the production system. We may also evolve that ICache interface over time in order to optimize the reliability and efficiency of that component. Check out Args.cs and Strings.resx for details on the distributed related args you'll need:
|
I am an intern responsible for evaluating the distributed build systems available for Windows and Linux.
I have few limitation which I need to consider before evaluating them
Should be Open Source/ Licensed (less preferably)
Supports both Win and Linux
Support CMake
I came across BuildXL while exploring and found that it is also a build distribution tool.
But I couldn't find any documentation which describes how to set up and use build distribution across machines connected to the network.
Is this feature only available to the Microsoft developers? Or can we set up and use build distribution as well? If yes, what are the steps that I should follow?
Thanks and regards
P.S.: I found this documentation https://github.com/microsoft/BuildXL/blob/master/Documentation/Wiki/Distributed-Builds.md but it only describes the components and its function not the setup and how to run a build using distribution.
The text was updated successfully, but these errors were encountered: