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

Issue 970053002: Build and install LLVM gold plugin on Linux. (Closed)

Created:
5 years, 9 months ago by pcc1
Modified:
5 years, 9 months ago
Reviewers:
hans, Nico
CC:
chromium-reviews, eugenis+clang_chromium.org, glider+clang_chromium.org, dmikurube+clang_chromium.org, ukai+watch_chromium.org, dcheng
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Build and install LLVM gold plugin on Linux. Also blacklist /usr/{,local/}{include,lib} instead of /usr to make things less confusing for people who check out Chrome under /usr. The plugin is downloaded separately from the rest of the LLVM package to avoid bloating the package with a large file that most people don't need right now. BUG=453195, 463361 R=thakis@chromium.org,hans@chromium.org CC=dcheng@chromium.org Committed: https://crrev.com/b1dea52802af355f47822b89fb68eb25fc124f55 Cr-Commit-Position: refs/heads/master@{#319317}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Relink clang and LLVMgold binaries #

Patch Set 3 : Export only the symbols we need #

Patch Set 4 : Move the plugin to a separate tarball and introduce a script to download it manually #

Total comments: 1

Patch Set 5 : Rebase, drop CLANG_SUB_REVISION change #

Unified diffs Side-by-side diffs Delta from patch set Stats (+87 lines, -6 lines) Patch
M build/common.gypi View 1 2 3 4 1 chunk +11 lines, -0 lines 0 comments Download
A build/download_gold_plugin.py View 1 2 3 1 chunk +45 lines, -0 lines 0 comments Download
M tools/clang/plugins/ChromeClassTester.cpp View 2 chunks +4 lines, -6 lines 0 comments Download
M tools/clang/scripts/package.sh View 1 2 3 4 chunks +18 lines, -0 lines 0 comments Download
M tools/clang/scripts/update.sh View 1 2 3 4 4 chunks +9 lines, -0 lines 0 comments Download

Messages

Total messages: 19 (2 generated)
pcc1
5 years, 9 months ago (2015-03-03 05:17:06 UTC) #1
Nico
The /usr/ change looks like a good idea to me. https://codereview.chromium.org/970053002/diff/1/tools/clang/scripts/package.sh File tools/clang/scripts/package.sh (right): https://codereview.chromium.org/970053002/diff/1/tools/clang/scripts/package.sh#newcode129 ...
5 years, 9 months ago (2015-03-03 05:45:07 UTC) #2
pcc1
https://codereview.chromium.org/970053002/diff/1/tools/clang/scripts/package.sh File tools/clang/scripts/package.sh (right): https://codereview.chromium.org/970053002/diff/1/tools/clang/scripts/package.sh#newcode129 tools/clang/scripts/package.sh:129: cp "${LLVM_LIB_DIR}/LLVMgold.${SO_EXT}" $PDIR/lib On 2015/03/03 05:45:07, Nico wrote: > ...
5 years, 9 months ago (2015-03-03 05:55:37 UTC) #3
Nico
What, that's pretty sizable, that'll increase the size of the tgz by like 100%, right?
5 years, 9 months ago (2015-03-03 06:00:30 UTC) #4
pcc1
On 2015/03/03 06:00:30, Nico wrote: > What, that's pretty sizable, that'll increase the size of ...
5 years, 9 months ago (2015-03-03 06:08:06 UTC) #5
Nico
On 2015/03/03 06:08:06, pcc1 wrote: > On 2015/03/03 06:00:30, Nico wrote: > > What, that's ...
5 years, 9 months ago (2015-03-03 16:40:55 UTC) #6
pcc
On 2015/03/03 16:40:55, Nico wrote: > On 2015/03/03 06:08:06, pcc1 wrote: > > On 2015/03/03 ...
5 years, 9 months ago (2015-03-03 19:02:56 UTC) #7
pcc
On 2015/03/03 19:02:56, pcc wrote: > I'm not sure if the clang binary could be ...
5 years, 9 months ago (2015-03-03 21:17:12 UTC) #8
Nico
hahaha :-) worth a try, i think. (does this slow down regular compiles?)
5 years, 9 months ago (2015-03-03 21:22:03 UTC) #9
pcc
On 2015/03/03 21:22:03, Nico wrote: > hahaha :-) worth a try, i think. (does this ...
5 years, 9 months ago (2015-03-03 21:45:03 UTC) #10
pcc1
On 2015/03/03 21:45:03, pcc wrote: > On 2015/03/03 21:22:03, Nico wrote: > > hahaha :-) ...
5 years, 9 months ago (2015-03-03 23:57:07 UTC) #11
Nico
> How do you imagine that would work exactly? There's be some "download-plugin.py" script one ...
5 years, 9 months ago (2015-03-04 00:02:04 UTC) #12
pcc
On 2015/03/04 00:02:04, Nico wrote: > > How do you imagine that would work exactly? ...
5 years, 9 months ago (2015-03-04 02:01:52 UTC) #13
Nico
lgtm! https://codereview.chromium.org/970053002/diff/60001/build/download_gold_plugin.py File build/download_gold_plugin.py (right): https://codereview.chromium.org/970053002/diff/60001/build/download_gold_plugin.py#newcode6 build/download_gold_plugin.py:6: """Script to download LLVM gold plugin from google ...
5 years, 9 months ago (2015-03-04 05:44:39 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/970053002/80001
5 years, 9 months ago (2015-03-05 19:35:44 UTC) #17
commit-bot: I haz the power
Committed patchset #5 (id:80001)
5 years, 9 months ago (2015-03-05 20:33:17 UTC) #18
commit-bot: I haz the power
5 years, 9 months ago (2015-03-05 20:34:25 UTC) #19
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/b1dea52802af355f47822b89fb68eb25fc124f55
Cr-Commit-Position: refs/heads/master@{#319317}

Powered by Google App Engine
This is Rietveld 408576698