-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
bugSomething isn't workingSomething isn't working
Description
To tell single-threaded compilations from multi-threaded compilations (those that have /MP enabled) we're parsing messages until we find these texts:
Generating Code...Compiling...
MSBuild seems to use the language of the context that executed the tool: either Visual Studio's or system language (when executed via .exe).
Proposed solutions
- Ensure tool forces MSBuild to use some english encoding (i.e.
en-US). If it's not installed in the system, we can't do anything. CheckCompilation.cs,Startmethod: it should be using that encoding? - Build a database of these messages per language and use it to detect which language it's using. Useful when other parsing happens (if any).
- Find another heuristic (i.e. if we see blocks of front-end followed by blocks of back-end in reverse order).
Reproduction steps
- Execute tool via
.exefile in a system whose language isn't english. - Load C++ solution.
- Tick
/Bt+option and set1for theMax parallel CL per projectoption. - When the build is finished, convert it into a trace with
File > Create timeline from events file...
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working

