-
-
Notifications
You must be signed in to change notification settings - Fork 786
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
大工程里vsxmake单独编译一个cpp卡住的问题 #5860
Comments
Title: The problem of vsxmake compiling a cpp alone in a large project is stuck Xmake versionv2.9.2 Operating system version and architectureWindows 11 Describe the problem300+ projects and 3000+ files in the project Looking at the code, although target is specified, all targets are still traversed. Expected resultsNormally use the function of single-programming a cpp Project configurationnone Additional information and error logsxmake build -y -P . --files="/path/path/path/path/100.cpp" "foo100" |
参考 #2033 看一下堆栈 |
many_targets_with_longpath_files.zip |
[wc@wc many_targets_with_longpath_files]$ XMAKE_PROFILE=stuck xmake b --files="1.cpp" "t1" |
压缩包里有火焰图 |
There is a flame graph in the compressed package |
跟长文件没关系,整个匹配也就 6s,是 target job 链死循环了。再试试 |
It has nothing to do with long files, the entire matching only takes 6 seconds, and the target job chain is in an endless loop. Try |
Xmake 版本
v2.9.2
操作系统版本和架构
Windows 11
描述问题
工程里300+工程3000+文件
单编一个cpp卡住无输出
看代码虽然指定了target但是还是遍历了所有target
期待的结果
正常使用单编一个cpp的功能
工程配置
无
附加信息和错误日志
xmake build -y -P . --files=“/path/path/path/path/100.cpp" "foo100"
The text was updated successfully, but these errors were encountered: