Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(308)

Issue 2735013004: Instrumented libraries: improve parallel build (Closed)

Created:
3 years, 9 months ago by Tom (Use chromium acct)
Modified:
3 years, 9 months ago
CC:
chromium-reviews
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Instrumented libraries: improve parallel build This CL: * Adds a --parallel option to build_and_package.py to build the 4 instrumented library configs concurrently. * Removes parallel make. Some libraries don't support parallel builds. Additionally, there were many overrides to set the number of jobs to 1, and the only library that actually used parallel builds was libcap. * Changes the -j argument to be the number of ninja jobs to use. * Suppresses error output from nss. NOTRY=true BUG=None R=eugenis@chromium.org Review-Url: https://codereview.chromium.org/2735013004 Cr-Commit-Position: refs/heads/master@{#455307} Committed: https://chromium.googlesource.com/chromium/src/+/a30808fd6d7f2e20278b303a2db92dc43076c974

Patch Set 1 #

Total comments: 2

Patch Set 2 : open('...', 'w') #

Unified diffs Side-by-side diffs Delta from patch set Stats (+49 lines, -41 lines) Patch
M third_party/instrumented_libraries/BUILD.gn View 7 chunks +0 lines, -12 lines 0 comments Download
M third_party/instrumented_libraries/scripts/build_and_package.py View 5 chunks +24 lines, -10 lines 0 comments Download
M third_party/instrumented_libraries/scripts/download_build_install.py View 1 11 chunks +22 lines, -19 lines 0 comments Download
M third_party/instrumented_libraries/scripts/install-build-deps.sh View 1 2 chunks +3 lines, -0 lines 0 comments Download

Depends on Patchset:

Dependent Patchsets:

Messages

Total messages: 14 (8 generated)
Tom (Use chromium acct)
eugenis ptal build_and_package.py used to take several hours to run. With this change, it takes ...
3 years, 9 months ago (2017-03-07 21:49:41 UTC) #3
Evgeniy Stepanov
Nice. LGTM https://codereview.chromium.org/2735013004/diff/1/third_party/instrumented_libraries/scripts/download_build_install.py File third_party/instrumented_libraries/scripts/download_build_install.py (right): https://codereview.chromium.org/2735013004/diff/1/third_party/instrumented_libraries/scripts/download_build_install.py#newcode133 third_party/instrumented_libraries/scripts/download_build_install.py:133: self.shell_call('touch apt-source-lock') Why not open('apt-source-lock', 'w') ?
3 years, 9 months ago (2017-03-07 22:42:02 UTC) #5
eugenis
lgtm
3 years, 9 months ago (2017-03-07 22:48:39 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2735013004/20001
3 years, 9 months ago (2017-03-08 00:17:21 UTC) #10
commit-bot: I haz the power
Committed patchset #2 (id:20001) as https://chromium.googlesource.com/chromium/src/+/a30808fd6d7f2e20278b303a2db92dc43076c974
3 years, 9 months ago (2017-03-08 00:24:01 UTC) #13
Tom (Use chromium acct)
3 years, 9 months ago (2017-03-08 00:24:59 UTC) #14
Message was sent while issue was closed.
https://codereview.chromium.org/2735013004/diff/1/third_party/instrumented_li...
File third_party/instrumented_libraries/scripts/download_build_install.py
(right):

https://codereview.chromium.org/2735013004/diff/1/third_party/instrumented_li...
third_party/instrumented_libraries/scripts/download_build_install.py:133:
self.shell_call('touch apt-source-lock')
On 2017/03/07 22:42:02, Evgeniy Stepanov wrote:
> Why not open('apt-source-lock', 'w') ?

Done.

Powered by Google App Engine
This is Rietveld 408576698