使用Incredibuild与Visual Studio解决方案文件

时间:2017-12-18 10:12:05

标签: visual-studio build devenv incredibuild

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

  • 在LLVM日志中,我可以看到消息达到的最大并发构建数。等待构建完成
  • 我相信这可能是我没有看到使用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 ------

1 个答案:

答案 0 :(得分:0)

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

我很乐意帮助您解决这个问题所以我建议您直接与我们联系:support@incredibuild.com或者只需右键点击IncrediBuild托盘图标 - &gt;联系支持。

期待您的回复。