简体   繁体   English

将Incredibuild与Visual Studio解决方案文件一起使用后,没有构建时间加速

[英]No buildtime speedup after using Incredibuild with Visual Studio Solution file

I am trying to use Xoreax Incredibuild(v 8.01) to buid LLVM solution file using “BuildConsole” but I am not seeing any speedup in the build times. 我正在尝试使用Xoreax Incredibuild(v 8.01)通过“ BuildConsole”构建LLVM解决方案文件,但是在构建时间上我看不到任何加速。

  • In the LLVM logs I can see a message Maximum number of concurrent builds reached. 在LLVM日志中,我可以看到一条消息: 达到并发构建的最大数量。 Waiting for a build to complete 等待构建完成
  • I believe this could be the reason that I am not seeing the benefit of using Incredibuild to build LLVM. 我认为这可能是我没有看到使用Incredibuild来构建LLVM的好处的原因。
  • Version of Visual Studio used by Incredibuild to build the solution file is 2015. Incredibuild用于生成解决方案文件的Visual Studio版本是2015。

Has anyone else encountered such a message and if so what is the reason/solution? 其他人是否遇到过这样的消息?如果是,原因/解决方案是什么?

I have also tried using IB_profile.xml file to build LLVM and see if it helps in getting rid of the above message but I am seeing the same message when using XML file to integrate Incredibuild with LLVM. 我也尝试过使用IB_profile.xml文件来构建LLVM,并查看它是否有助于摆脱上述消息,但是在使用XML文件将Incredibuild与LLVM集成时,我也看到了相同的消息。

This is the Make command that I am using to build LLVM with Incredibuild : 这是我使用Incredibuild构建LLVMMake命令

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

This is the content of IB_profile.xml file : 这是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>

Below is the snippet of LLVM logs : 以下是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 ------

My name is Yoni Davidson and I am from IncrediBuild support team. 我叫Yoni Davidson,来自IncrediBuild支持团队。 Building the LLVM Solution using BuildConsoel shouldn't require profile.xml since it is a Visual Studio Solution and IncrediBuild should handle it. 使用BuildConsoel构建LLVM解决方案不要求profile.xml,因为它是Visual Studio解决方案,IncrediBuild应该处理它。 Therefore, it is possible that either you dont have remote machines (Helpers) and/or perhaps you dont have enough parallel tasks so the performance is more or less as you have with Visual Studio since everything runs locally. 因此,有可能您没有远程计算机(帮助程序)和/或没有足够的并行任务,因此由于所有内容都在本地运行,因此性能与Visual Studio差不多。 The "Maximum number of concurrent builds reached" means that you are trying to start another build with IncrediBuild while the previous one is still running. “已达到并发构建的最大数量”表示您正在尝试使用IncrediBuild启动另一个构建,而先前的构建仍在运行。 This is not allowed and therefore, you receive this message. 这是不允许的,因此,您会收到此消息。 In any case, this is not the reason for the build performance you have. 无论如何,这不是您拥有构建性能的原因。

I will be happy to assist you with this problem so I suggest that you will contact us directly: support@incredibuild.com or simply right click on IncrediBuild tray icon -> contact support. 我很乐意为您解决此问题,因此建议您直接与我们联系:support@incredibuild.com或直接右键单击IncrediBuild托盘图标->联系支持。

Looking forward hearing from you. 期待您的回音。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM