0

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

  • 在 LLVM 日志中,我可以看到一条消息Maximum number of concurrent builds reached。等待构建完成
  • 我相信这可能是我没有看到使用 Incredibuild 构建 LLVM 的好处的原因。
  • Incredibuild 用于构建解决方案文件的 Visual Studio 版本为 2015。

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

我也尝试使用IB_profile.xml文件来构建 LLVM 并查看它是否有助于摆脱上述消息,但在使用 XML 文件将 Incredibuild 与 LLVM 集成时我看到了相同的消息。

这是我用来使用 Incredibuild 构建 LLVM的Make 命令

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 ------
4

1 回答 1

0

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

我很乐意帮助您解决此问题,因此建议您直接联系我们:support@incredibuild.com 或直接右键单击 IncrediBuild 托盘图标 -> 联系支持。

期待您的回音。

于 2017-12-19T10:54:33.870 回答