[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-core-devel
Subject: Re: Review Request 111371: Fix duplicate targets in PythonMacros.cmake, unbreaking Ninja builds for
From: "Vadim Zhukov" <persgray () gmail ! com>
Date: 2013-07-04 8:23:03
Message-ID: 20130704082303.6678.72171 () vidsolbach ! de
[Download RAW message or body]
> On July 4, 2013, 9:35 a.m., Luca Beltrame wrote:
> > Ship It!
>
> Luca Beltrame wrote:
> Please put this modification also in kdelibs master branch (in fact, put it in \
> master so it'll get merged in next time dfaure merges master into frameworks).
Could you (or somebody else) commit it then, please? I don't have commit access.
- Vadim
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/111371/#review35551
-----------------------------------------------------------
On July 2, 2013, 10:58 p.m., Vadim Zhukov wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://git.reviewboard.kde.org/r/111371/
> -----------------------------------------------------------
>
> (Updated July 2, 2013, 10:58 p.m.)
>
>
> Review request for kdelibs.
>
>
> Description
> -------
>
> Currently, PYTHON_INSTALL macro in PythonMacros.cmake creates same target \
> "compile_python_files" for all Python modules. This somehow works for Make-based \
> builds, but breaks when using Ninja backend for CMake. CMake itself says that it \
> does not guarantee that targets with same name will ever work.
> The patch creates unique target for each python module being pre-compiled and \
> installed.
> The patch can be applied without modifications to 4.10 and 4.11, too.
>
>
> Diffs
> -----
>
> cmake/modules/PythonMacros.cmake 95c9315
>
> Diff: http://git.reviewboard.kde.org/r/111371/diff/
>
>
> Testing
> -------
>
> OpenBSD-CURRENT, PyKDE 4.10.4 and 4.10.5.
>
>
> Thanks,
>
> Vadim Zhukov
>
>
[Attachment #3 (text/html)]
<html>
<body>
<div style="font-family: Verdana, Arial, Helvetica, Sans-Serif;">
<table bgcolor="#f9f3c9" width="100%" cellpadding="8" style="border: 1px #c9c399 \
solid;"> <tr>
<td>
This is an automatically generated e-mail. To reply, visit:
<a href="http://git.reviewboard.kde.org/r/111371/">http://git.reviewboard.kde.org/r/111371/</a>
</td>
</tr>
</table>
<br />
<blockquote style="margin-left: 1em; border-left: 2px solid #d0d0d0; padding-left: \
10px;"> <p style="margin-top: 0;">On July 4th, 2013, 9:35 a.m. MSK, <b>Luca \
Beltrame</b> wrote:</p> <blockquote style="margin-left: 1em; border-left: 2px solid \
#d0d0d0; padding-left: 10px;"> <pre style="white-space: pre-wrap; white-space: \
-moz-pre-wrap; white-space: -pre-wrap; white-space: -o-pre-wrap; word-wrap: \
break-word;">Ship It!</pre> </blockquote>
<p>On July 4th, 2013, 9:37 a.m. MSK, <b>Luca Beltrame</b> wrote:</p>
<blockquote style="margin-left: 1em; border-left: 2px solid #d0d0d0; padding-left: \
10px;"> <pre style="white-space: pre-wrap; white-space: -moz-pre-wrap; white-space: \
-pre-wrap; white-space: -o-pre-wrap; word-wrap: break-word;">Please put this \
modification also in kdelibs master branch (in fact, put it in master so it'll \
get merged in next time dfaure merges master into frameworks).</pre> </blockquote>
</blockquote>
<pre style="white-space: pre-wrap; white-space: -moz-pre-wrap; white-space: \
-pre-wrap; white-space: -o-pre-wrap; word-wrap: break-word;">Could you (or somebody \
else) commit it then, please? I don't have commit access.</pre> <br />
<p>- Vadim</p>
<br />
<p>On July 2nd, 2013, 10:58 p.m. MSK, Vadim Zhukov wrote:</p>
<table bgcolor="#fefadf" width="100%" cellspacing="0" cellpadding="8" \
style="background-image: \
url('http://git.reviewboard.kde.org/static/rb/images/review_request_box_top_bg.ab6f3b1072c9.png'); \
background-position: left top; background-repeat: repeat-x; border: 1px black \
solid;"> <tr>
<td>
<div>Review request for kdelibs.</div>
<div>By Vadim Zhukov.</div>
<p style="color: grey;"><i>Updated July 2, 2013, 10:58 p.m.</i></p>
<h1 style="color: #575012; font-size: 10pt; margin-top: 1.5em;">Description </h1>
<table width="100%" bgcolor="#ffffff" cellspacing="0" cellpadding="10" \
style="border: 1px solid #b8b5a0"> <tr>
<td>
<pre style="margin: 0; padding: 0; white-space: pre-wrap; white-space: \
-moz-pre-wrap; white-space: -pre-wrap; white-space: -o-pre-wrap; word-wrap: \
break-word;">Currently, PYTHON_INSTALL macro in PythonMacros.cmake creates same \
target "compile_python_files" for all Python modules. This somehow works \
for Make-based builds, but breaks when using Ninja backend for CMake. CMake itself \
says that it does not guarantee that targets with same name will ever work.
The patch creates unique target for each python module being pre-compiled and \
installed.
The patch can be applied without modifications to 4.10 and 4.11, too.</pre>
</td>
</tr>
</table>
<h1 style="color: #575012; font-size: 10pt; margin-top: 1.5em;">Testing </h1>
<table width="100%" bgcolor="#ffffff" cellspacing="0" cellpadding="10" style="border: \
1px solid #b8b5a0"> <tr>
<td>
<pre style="margin: 0; padding: 0; white-space: pre-wrap; white-space: \
-moz-pre-wrap; white-space: -pre-wrap; white-space: -o-pre-wrap; word-wrap: \
break-word;">OpenBSD-CURRENT, PyKDE 4.10.4 and 4.10.5.</pre> </td>
</tr>
</table>
<h1 style="color: #575012; font-size: 10pt; margin-top: 1.5em;">Diffs</b> </h1>
<ul style="margin-left: 3em; padding-left: 0;">
<li>cmake/modules/PythonMacros.cmake <span style="color: grey">(95c9315)</span></li>
</ul>
<p><a href="http://git.reviewboard.kde.org/r/111371/diff/" style="margin-left: \
3em;">View Diff</a></p>
</td>
</tr>
</table>
</div>
</body>
</html>
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic