Are some Rock people using LWPR?<br>How did you make autoproj build LWPR as an autotools_package?<br><br>This autotools-based libraries that only support to be built in the source dir are really pissing off!<br><br>Charles<br>
<br><div class="gmail_quote">2011/11/18 Sylvain Joyeux <span dir="ltr"><<a href="mailto:sylvain.joyeux@dfki.de">sylvain.joyeux@dfki.de</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="HOEnZb"><div class="h5">On 11/18/2011 03:43 PM, Charles Lesire-Cabaniols wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi,<br>
<br>
I would like to change the build dir of one of my packages.<br>
<br>
While my package is built in <package>/build, I would like to build it<br>
in <package> directly... it is certainly a "bad practice", but it is an<br>
autotools package from an archive that does not accept to be built<br>
outside of the source dir.<br>
The library is LWPR for people using it<br>
(<a href="http://www.ipab.informatics.ed.ac.uk/slmc/software/lwpr/" target="_blank">http://www.ipab.informatics.<u></u>ed.ac.uk/slmc/software/lwpr/</a>).<br>
<br>
I have not found anything related to the build dir in Autobuild::Package<br>
</blockquote></div></div>
It is builddir= in<br>
<br>
<a href="http://rock-robotics.org/api/autobuild/Autobuild/Configurable.html" target="_blank">http://rock-robotics.org/api/<u></u>autobuild/Autobuild/<u></u>Configurable.html</a><br>
<br>
(It's not in Package as general packages don't have to be built)<br>
<br>
However, the current implementation does NOT accept empty build directories. The reason is that when you do an autoproj rebuild, the whole builddir gets deleted which would have dire consequences in your case (see #prepare_for_rebuild). Moreover, the build currently excludes the builddir directory to check if a package source has been updated, which you can't do anymore if there are build byproducts -- you would need to list the patterns carefully.<br>
<br>
If you feel like it, I would be happy to accept a patch that carefully tests for empty builddirs before doing something potentially dangerous like FileUtils.rm_rf ...<br>
-- <br>
Sylvain Joyeux (Dr.Ing.)<br>
Space & Security Robotics<br>
<br>
!!! Achtung, neue Telefonnummer!!!<br>
<br>
Standort Bremen:<br>
DFKI GmbH<br>
Robotics Innovation Center<br>
Robert-Hooke-Straße 5<br>
28359 Bremen, Germany<br>
<br>
Phone: <a href="tel:%2B49%20%280%29421%20178-454136" value="+49421178454136" target="_blank">+49 (0)421 178-454136</a><br>
Fax: <a href="tel:%2B49%20%280%29421%20218-454150" value="+49421218454150" target="_blank">+49 (0)421 218-454150</a><br>
E-Mail: <a href="mailto:robotik@dfki.de" target="_blank">robotik@dfki.de</a><br>
<br>
Weitere Informationen: <a href="http://www.dfki.de/robotik" target="_blank">http://www.dfki.de/robotik</a><br>
------------------------------<u></u>------------------------------<u></u>-----------<br>
Deutsches Forschungszentrum fuer Kuenstliche Intelligenz GmbH<br>
Firmensitz: Trippstadter Straße 122, D-67663 Kaiserslautern<br>
Geschaeftsfuehrung: Prof. Dr. Dr. h.c. mult. Wolfgang Wahlster<br>
(Vorsitzender) Dr. Walter Olthoff<br>
Vorsitzender des Aufsichtsrats: Prof. Dr. h.c. Hans A. Aukes<br>
Amtsgericht Kaiserslautern, HRB 2313<br>
Sitz der Gesellschaft: Kaiserslautern (HRB 2313)<br>
USt-Id.Nr.: DE 148646973<br>
Steuernummer: 19/673/0060/3<br>
------------------------------<u></u>------------------------------<u></u>-----------<br>
</blockquote></div><br>