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

Issue 521653002: Fix library link option generation on Linux. (Closed)

Created:
6 years, 3 months ago by elecro
Modified:
6 years, 3 months ago
Reviewers:
pkl, qsr
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Fix library link option generation on Linux. On Linux the distutil returns only the name of the python library. Passing only the library name is not good for a compiler (in this case it was a simple 'python2.7'), the script should return the correct compiler option (which should be the '-lpython2.7') BUG=408979 TEST=ninja -C out/Release libmojo_python_system.so Committed: https://crrev.com/baa762fca6052320388d85932712f9d9b6eb5f47 Cr-Commit-Position: refs/heads/master@{#292654}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Updated patch #

Total comments: 1

Patch Set 3 : Patch update #2 #

Total comments: 1

Patch Set 4 : patch update #3 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+7 lines, -3 lines) Patch
M third_party/cython/python_flags.py View 1 2 3 1 chunk +7 lines, -3 lines 0 comments Download

Messages

Total messages: 19 (0 generated)
elecro
pgal.u-szeged@partner.samsung.com changed reviewers: + pkl@google.com, qsr@chromium.org
6 years, 3 months ago (2014-08-29 13:37:45 UTC) #1
elecro
The CL which added this file: https://codereview.chromium.org/377293002/
6 years, 3 months ago (2014-08-29 13:37:45 UTC) #2
qsr
LGTM with nit https://codereview.chromium.org/521653002/diff/1/third_party/cython/python_flags.py File third_party/cython/python_flags.py (right): https://codereview.chromium.org/521653002/diff/1/third_party/cython/python_flags.py#newcode40 third_party/cython/python_flags.py:40: libraries = [ '-l%s' % library ...
6 years, 3 months ago (2014-08-29 14:24:33 UTC) #3
elecro
https://codereview.chromium.org/521653002/diff/1/third_party/cython/python_flags.py File third_party/cython/python_flags.py (right): https://codereview.chromium.org/521653002/diff/1/third_party/cython/python_flags.py#newcode40 third_party/cython/python_flags.py:40: libraries = [ '-l%s' % library for library in ...
6 years, 3 months ago (2014-08-29 14:40:57 UTC) #4
qsr
On 2014/08/29 14:40:57, elecro wrote: > https://codereview.chromium.org/521653002/diff/1/third_party/cython/python_flags.py > File third_party/cython/python_flags.py (right): > > https://codereview.chromium.org/521653002/diff/1/third_party/cython/python_flags.py#newcode40 > ...
6 years, 3 months ago (2014-08-29 14:45:46 UTC) #5
elecro
On 2014/08/29 14:45:46, qsr wrote: > [snip] > Sorry I was not clear. You need ...
6 years, 3 months ago (2014-08-29 14:55:00 UTC) #6
qsr
On 2014/08/29 14:55:00, elecro wrote: > On 2014/08/29 14:45:46, qsr wrote: > > [snip] > ...
6 years, 3 months ago (2014-08-29 15:00:03 UTC) #7
elecro
patch updated
6 years, 3 months ago (2014-08-29 15:06:06 UTC) #8
qsr
https://codereview.chromium.org/521653002/diff/20001/third_party/cython/python_flags.py File third_party/cython/python_flags.py (right): https://codereview.chromium.org/521653002/diff/20001/third_party/cython/python_flags.py#newcode43 third_party/cython/python_flags.py:43: libraries.add('-lpython%s' % sys.version[:3]) This last line should only happen ...
6 years, 3 months ago (2014-08-29 15:11:52 UTC) #9
elecro
Okay, patch updated again.
6 years, 3 months ago (2014-08-29 15:21:13 UTC) #10
qsr
https://codereview.chromium.org/521653002/diff/40001/third_party/cython/python_flags.py File third_party/cython/python_flags.py (right): https://codereview.chromium.org/521653002/diff/40001/third_party/cython/python_flags.py#newcode40 third_party/cython/python_flags.py:40: libraries = set(['-l%s' % library for library in libraries]) ...
6 years, 3 months ago (2014-08-29 15:25:34 UTC) #11
elecro
On 2014/08/29 15:25:34, qsr wrote: > https://codereview.chromium.org/521653002/diff/40001/third_party/cython/python_flags.py > File third_party/cython/python_flags.py (right): > > https://codereview.chromium.org/521653002/diff/40001/third_party/cython/python_flags.py#newcode40 > ...
6 years, 3 months ago (2014-08-29 15:28:49 UTC) #12
qsr
lgtm
6 years, 3 months ago (2014-08-29 15:30:58 UTC) #13
elecro
Thanks.
6 years, 3 months ago (2014-08-29 15:32:21 UTC) #14
elecro
The CQ bit was checked by pgal.u-szeged@partner.samsung.com
6 years, 3 months ago (2014-08-29 15:32:49 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/pgal.u-szeged@partner.samsung.com/521653002/60001
6 years, 3 months ago (2014-08-29 15:33:44 UTC) #16
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: ios_dbg_simulator on tryserver.chromium.mac ...
6 years, 3 months ago (2014-08-29 16:32:05 UTC) #17
commit-bot: I haz the power
Committed patchset #4 (id:60001) as 133a7f0a6295a78717d1fdc683641c2a489f9a27
6 years, 3 months ago (2014-08-29 16:42:11 UTC) #18
commit-bot: I haz the power
6 years, 3 months ago (2014-09-10 03:09:21 UTC) #19
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/baa762fca6052320388d85932712f9d9b6eb5f47
Cr-Commit-Position: refs/heads/master@{#292654}

Powered by Google App Engine
This is Rietveld 408576698