Boost C++ Libraries: Ticket #3544: Please add --pythonid to the build system https://svn.boost.org/trac10/ticket/3544 <p> To build the boost python binding and the boost mpi python bindings for different Python versions (eg. for Debian packages), different versions of the Python bindings must be compiled. </p> <p> With current --buildid option the id is added to all libraries. This works fine for the Python buildings, because they do not depend on other boost libraries. But for the Python mpi bindings it's not optimal, because they then depend on versions of libboost-mpi and libboost-serialization with the buildid. </p> <p> The --pythonid option which is intoduced by the attached pach only adds the id to libboost-python and libboost-mpi-python. </p> <p> The current patch does not add the id to the Python module (mpi.so). This is because I could not figure out how to add an id to the module name. However it would probably be nice to add it there as well. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/3544 Trac 1.4.3 Gaudenz Steinlin <gaudenz@…> Thu, 22 Oct 2009 16:53:17 GMT attachment set https://svn.boost.org/trac10/ticket/3544 https://svn.boost.org/trac10/ticket/3544 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">boost_build_pythonid.patch</span> </li> </ul> Ticket Vladimir Prus Sun, 25 Oct 2009 08:39:14 GMT <link>https://svn.boost.org/trac10/ticket/3544#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/3544#comment:1</guid> <description> <p> Just to clarify, is the problem with --buildid that you want N versions of python libraries, but you don't want N versions of boost_serialization that python/mpi bindings depend on? </p> </description> <category>Ticket</category> </item> <item> <author>Gaudenz Steinlin <gaudenz@…></author> <pubDate>Sun, 25 Oct 2009 20:22:47 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/3544#comment:2 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/3544#comment:2</guid> <description> <p> Yes exactly. I want to build the python bindings for all versions of python in Debian, but I don't want to build N versions of boost_serialization and boost_mpi. </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Vladimir Prus</dc:creator> <pubDate>Tue, 10 Nov 2009 07:09:33 GMT</pubDate> <title>status, milestone changed; owner set https://svn.boost.org/trac10/ticket/3544#comment:3 https://svn.boost.org/trac10/ticket/3544#comment:3 <ul> <li><strong>owner</strong> set to <span class="trac-author">Vladimir Prus</span> </li> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">assigned</span> </li> <li><strong>milestone</strong> <span class="trac-field-old">Boost 1.41.0</span> → <span class="trac-field-new">Boost 1.42.0</span> </li> </ul> Ticket smr@… Sun, 03 Jan 2010 23:58:46 GMT cc changed https://svn.boost.org/trac10/ticket/3544#comment:4 https://svn.boost.org/trac10/ticket/3544#comment:4 <ul> <li><strong>cc</strong> <span class="trac-author">smr@…</span> added </li> </ul> <p> FYI, it appears that Boost 1.41 treats "--python" prefixed options (e.g. --pythonid) special and broke this patch; c.f. <a class="ext-link" href="https://svn.boost.org/trac/boost/ticket/3814"><span class="icon">​</span>https://svn.boost.org/trac/boost/ticket/3814</a> </p> <p> Easy workaround: use --xpythonid instead. </p> Ticket Vladimir Prus Sun, 28 Feb 2010 08:22:48 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/3544#comment:5 https://svn.boost.org/trac10/ticket/3544#comment:5 <ul> <li><strong>status</strong> <span class="trac-field-old">assigned</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">fixed</span> </li> </ul> <p> (In <a class="changeset" href="https://svn.boost.org/trac10/changeset/59987" title="Implement --python-buildid. Fixes #3544. Patch from Gaudenz Steinlin. ">[59987]</a>) Implement --python-buildid. </p> <p> Fixes <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/3544" title="#3544: Feature Requests: Please add --pythonid to the build system (closed: fixed)">#3544</a>. Patch from Gaudenz Steinlin. </p> Ticket Vladimir Prus Sun, 28 Feb 2010 08:24:31 GMT <link>https://svn.boost.org/trac10/ticket/3544#comment:6 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/3544#comment:6</guid> <description> <p> Thank you for the patch, I've checked it it. I've changed the option from --python-id to --python-buildid to better reflect that it's parallel to --buildid option. I've also mentioned it in the --help output. </p> <p> Thanks, Volodya </p> </description> <category>Ticket</category> </item> <item> <dc:creator>anonymous</dc:creator> <pubDate>Tue, 31 Aug 2010 06:28:50 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/3544#comment:7 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/3544#comment:7</guid> <description> <p> Volodya: in 1.44, it seems that the libs/mpi part of the patch is not present. Can you check what happened? Maybe missing a merge from "trunk" to "release"? </p> <p> Thanks, -Steve </p> </description> <category>Ticket</category> </item> </channel> </rss>