Domain

Results 21 comments of Domain

主要是我有些源文件是通过函数查找加入的: ```lua local apps = { "app1", "app2" } for _, app in ipairs(apps) do target(app) add_files(app .. "/**.cpp") for __, f in ipairs(os.files(app .. "/table/**.cpp")) do local name =...

有时间我试试能不能创建一个示例工程,原工程太庞大,简单创建了一个没有这个问题

原因不好找,以前普通VS工程也会出现,删除obj文件就会重新编译,用xmake现在只能删除缓存全部重新编译。fastbuild删除单个obj文件,会重新编译这个文件,xmake现在是提示找不到obj文件。 另外不知道分布式编译有没有处理远程机器内存不足的问题?以前用fastbuild经常出现远程机器内存不足导致编译失败,后来改了,会重新本地编译出错的文件。

这就会导致后续执行xmake时,提示 the current project is being accessed by other processes, please wait!

我猜到可能的原因了,我用了unity编译,导致编译单个cpp占用内存大增,而且同时编译的cpp太多,内存不足,用到了大量swap,看到gcc的进程大多都属于D状态,都在等待IO,导致无法kill掉

我觉得还是一个问题,因为我用fastbuild就不会这样,我看到的区别是,xmake是一个一个进程去kill,fastbuild好像是记下来了fork的进程id,然后kill负pid的进程组,然后还waitpid等待,不知道是不是这个区别

https://github.com/microsoft/vscode-explorer-command https://github.com/microsoft/vscode/issues/183297#issuecomment-1594350702

One simple solution is: set all other projects to non-default target, only BuildAll project is the default target. Then build solution will build the BuildAll project only. But I cannot...

I have the same problem. And no process is listening on port 8964. `C:\Users\Domain>netstat -anob | findstr 8964 C:\Users\Domain>`