在Visual Studio中使用Incredibuild后没有构建时加速解决方案文件

我试图使用Xoreax Incredibuild(v 8.01)使用“BuildConsole”构建LLVM解决方案文件,但我在构建时没有看到任何加速。在Visual Studio中使用Incredibuild后没有构建时加速解决方案文件

  • 在LLVM日志中,我可以看到一条消息达到的最大并发构建数。等待构建完成
  • 我相信这可能是我没有看到使用Incredibuild构建LLVM的好处的原因。
  • 使用Incredibuild来构建解决方案文件的Visual Studio版本是2015年

有其他人遇到过这样的消息,如果有的话是什么原因/解决方案?

我也使用IB_profile.xml文件生成LLVM,看看它是否有助于摆脱上述消息,但 我使用XML文件来Incredibuild与LLVM整合时看到了同样的消息试过。

这是Make命令我使用与Incredibuild建立LLVM:

BuildConsole LLVM.sln /build "Release|x64" /prj="INSTALL" /AvoidLocal=On /profile=IB_profile.xml 

这是IB_profile.xml的内容文件:

<?xml version="1.0" encoding="UTF-8" standalone="no" ?> 

<Profile FormatVersion="1">

<Tools>

<Tool Filename="devenv" AllowIntercept="true" AllowRemote="true" AllowPredictedBatch="true" VCCompiler="true" OutputFileMasks="*.exe,*.dll" />

<Tool Filename="cl" AllowRemote="true" AllowPredictedBatch="true" VCCompiler="true" OutputFileMasks="*.exe,*.dll" />

</Tools>

</Profile>

以下是LLVM日志的片段:

BuildConsole LLVM.sln /build "Release|x64" /prj="INSTALL" /AvoidLocal=On /profile=IB_profile.xml 

-----------------------------------------------------------------

Build Acceleration Console 8.2 (build 1885)

Copyright (C) 2001-2017 Xoreax Software Ltd. All rights reserved.

-----------------------------------------------------------------

-- Generating done

CMake Warning:

Manually-specified variables were not used by the project:

CMAKE_MODULE_LINKER_FLAGS

-- Build files have been written to: C:/TEMP/rohit/win64/LLVM

BuildConsole LLVM.sln /build "Release|x64" /prj="INSTALL" /AvoidLocal=On /profile=IB_profile.xml

-----------------------------------------------------------------

Build Acceleration Console 8.2 (build 1885)

Copyright (C) 2001-2017 Xoreax Software Ltd. All rights reserved.

-----------------------------------------------------------------

Maximum number of concurrent builds reached.

Waiting for a build to complete...

--------------------Build System Warning---------------------------------------

Predicted Execution mode automatically disabled:

Predicted Execution mode cannot be set together with DisableStdOutIdentify flag.

Please note the disabled predicted execution feature has no effect on build integrity.

-------------------------------------------------------------------------------

Active code page: 437

Microsoft Visual Studio 2015 Version 14.0.25420.1.

Copyright (C) Microsoft Corp. All rights reserved.

1>------ Build started: Project: LLVMSupport, Configuration: Release x64 ------

2>------ Build started: Project: LLVMTableGen, Configuration: Release x64 ------

3>------ Build started: Project: obj.llvm-tblgen, Configuration: Release x64 ------

4>------ Build started: Project: LLVMMC, Configuration: Release x64 ------

5>------ Build started: Project: LLVMMCDisassembler, Configuration: Release x64 ------

6>------ Build started: Project: LLVMMCParser, Configuration: Release x64 ------

7>------ Build started: Project: LLVMOption, Configuration: Release x64 ------

8>------ Build started: Project: LLVMDebugInfoDWARF, Configuration: Release x64 ------

9>------ Build started: Project: LLVMSymbolize, Configuration: Release x64 ------

10>------ Build started: Project: LTO_exports, Configuration: Release x64 ------

11>------ Build started: Project: LLVMDebugInfoPDB, Configuration: Release x64 ------

12>------ Build started: Project: LLVMLineEditor, Configuration: Release x64 ------

13>------ Build started: Project: count, Configuration: Release x64 ------

14>------ Build started: Project: gtest, Configuration: Release x64 ------

15>------ Build started: Project: gtest_main, Configuration: Release x64 ------

16>------ Build started: Project: llvm-PerfectShuffle, Configuration: Release x64 ------

感谢所有帮助

问候

罗希特

回答:

我的名字是号Yoni戴维森,我来自IncrediBuild支持团队。 使用BuildConsoel构建LLVM解决方案不应该需要profile.xml,因为它是Visual Studio解决方案,IncrediBuild应该处理它。 因此,有可能您没有远程计算机(Helpers)和/或可能您没有足够的并行任务,所以性能或多或少与Visual Studio一样,因为一切都在本地运行。 “达到的最大并发构建数”意味着您正尝试使用IncrediBuild启动另一个构建,而前一个仍在运行。这是不允许的,因此,您会收到此消息。无论如何,这不是你所拥有的构建性能的原因。

我很乐意为您解答此问题,所以我建议您直接与我们联系:[email protected]或者只需右键单击IncrediBuild托盘图标 - >联系人支持。

期待您的来信。

以上是 在Visual Studio中使用Incredibuild后没有构建时加速解决方案文件 的全部内容, 来源链接: utcz.com/qa/262391.html

回到顶部