Using Incredibuild to distribute windows builds

337 views
Skip to first unread message

Alex trihuyan

unread,
Apr 20, 2015, 9:58:51 AM4/20/15
to chromi...@chromium.org
Hi,

A few years ago I used incredibuild to make chromium builds run faster.

I've tried to use it again with chrome 42.0.2311.90 but I'm keep getting an error while building. I've pasted below a sample of the errors I'm getting.

Does anyone know why this is happening or how can I resolve this?
If Incredibuild is not supported anymore, is there any public distributed build tool for windows I can use ?

Any help will be much appreciated!!


FAILED: d:\chromium42\depot_tools\python276_bin\python.exe gyp-win-tool action-w
rapper environment.x86 make_core_generated_target_CSSPropertyNames_fe4dcbb12ad96
ef4dade61a9dbd3691f..rsp ..\..\third_party\WebKit\Source\core
Traceback (most recent call last):
  File "../build/scripts/make_css_property_names.py", line 218, in <module>
    in_generator.Maker(CSSPropertyNamesWriter).main(sys.argv)
  File "D:\chromium42\chromium\src\third_party\WebKit\Source\build\scripts\in_ge
nerator.py", line 100, in main
    writer.write_files(options.output_dir)
  File "D:\chromium42\chromium\src\third_party\WebKit\Source\build\scripts\in_ge
nerator.py", line 76, in write_files
    self._write_file_if_changed(output_dir, generator(), file_name)
  File "../build/scripts/make_css_property_names.py", line 214, in generate_impl
ementation
    return gperf.communicate(gperf_input)[0]
  File "d:\chromium42\depot_tools\python276_bin\lib\subprocess.py", line 798, in
 communicate
    return self._communicate(input)
  File "d:\chromium42\depot_tools\python276_bin\lib\subprocess.py", line 1035, i
n _communicate
    self.stdin.write(input)
IOError: [Errno 22] Invalid argument
ninja: build stopped: subcommand failed.


Regards

Peter Kasting

unread,
Apr 20, 2015, 5:13:59 PM4/20/15
to ikat...@gmail.com, Chromium-dev
I believe Incredibuild is officially unsupported since we found it led to strange bugs.  (This is shaky memory of a time several years back, so I'm sorry I don't have more or better details for you.)

I'm not aware of any public distributed build tool for Windows that Chromium officially supports.

PK

Stefan Zager

unread,
Apr 21, 2015, 12:48:03 PM4/21/15
to pkas...@chromium.org, ikat...@gmail.com, Chromium-dev
+1, we used to use Incredibuild on the bots, but it led to no end of flaky, unreproducible errors. YMMV, but it's not officially supported.

--
--
Chromium Developers mailing list: chromi...@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-dev

To unsubscribe from this group and stop receiving emails from it, send an email to chromium-dev...@chromium.org.

Alex trihuyan

unread,
Apr 22, 2015, 1:54:26 AM4/22/15
to chromi...@chromium.org, pkas...@chromium.org, ikat...@gmail.com
Good to know guys! 
Thanks for the response.

uria mor

unread,
Apr 22, 2015, 5:00:36 AM4/22/15
to chromi...@chromium.org, a...@incredibuild.com, pkas...@chromium.org, ikat...@gmail.com
Hey, I'm Uria from IncrediBuild.
 
IncrediBuild recently released version 6.1 and supports acceleration of Chromium and make and build tools – you can get the latest version from our website or contact our sales team at (sa...@incredibuild.com) to make sure your company has up-to-date licenses.

Now, regarding the latest Chromium builds, currently there is a issue with running the recent Chromium builds under Visual Studio. IncrediBuild will be able to accelerate Chrome though when it is built using its Ninja build command. In order to do that you should:
 
  1. Make sure you have IncrediBuild for Make & Build tools.
  2. Run the Ninja command using ibConsole/command. Set the Ninja  "-J" flag to a large value (200 should do). That way, Ninja will execute as much as 200 tasks in parallel providing IncrediBuild with a sufficient amount of tasks to distribute to remote nodes.

Feel free to contact our support at  sup...@incredibuild.com if you are having any other difficulties.
Uria.
Reply all
Reply to author
Forward
0 new messages