--
You received this message because you are subscribed to the Google Groups "ROS Buildsystem Special Interest Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ros-sig-buildsystem+unsub...@googlegroups.com.
To post to this group, send email to ros-sig-buildsystem@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ros-sig-buildsystem/CAFY%2B-ZchQwOf7T71LxisjF0ejETf8D73RNnHdMibu%2BG-otKgpA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
I would answer the question with "no". I would say the opposite is the case: you should not touch the install space during the build phase at all.Let's consider the user invokes the three commands `cmake`, `make`, and `make install` separately (instead of using a build tool like `catkin_tools` which does all that for you). After the `cmake` and `make` call the source code has been compiled and all targets like libraries and executables have been built. They should be located in the build space (or in the case of `catkin` some of them are directly being placed in the devel space). But at that point nothing has touched the install space yet. Only when invoking `make install` the artifacts are being copied to the install space.If you consider installing a software package into `/usr` (not recommended for ROS packages though!) you only need `sudo` permissions during the `make install` invocation. If your package would try to create files in the install space during the build phase it would fail since `make` is commonly not invoked with `sudo`.I hope that helps.- Dirk
On Sun, Mar 26, 2017 at 8:53 AM, Isaac Isao Saito <gm1...@gmail.com> wrote:
Some people keep telling me so, but I can't find that sort of recommendation (official or not).
Although I can see why using `install` space is a good idea, the basic tutorials don't mention it, so does not Catkin workspaces page.
Also if that's is a recommendation, should we update the basic tutorials?
Thanks,
Isaac
--
You received this message because you are subscribed to the Google Groups "ROS Buildsystem Special Interest Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ros-sig-buildsystem+unsubscribe...@googlegroups.com.
To post to this group, send email to ros-sig-buildsystem@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ros-sig-buildsystem/CAFY%2B-ZchQwOf7T71LxisjF0ejETf8D73RNnHdMibu%2BG-otKgpA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "ROS Buildsystem Special Interest Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ros-sig-buildsystem+unsub...@googlegroups.com.
To post to this group, send email to ros-sig-buildsystem@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ros-sig-buildsystem/CA%2Bp5Lf8%2Bu1bzy8Gi85%3DB2R%3DS2Gr2pzokiP191YrkJUt8YdEDsQ%40mail.gmail.com.
Thanks Dirk. Now I see this might be more general software development question, but let me still limit to ROS since I have Catkin in mind.
The subject line might have been misleading so let me re-phrase it: Is deploying recommended in ROS?
I've been discussing if we (as in, ROS folks) should recommend developers to write their software as install-able (`make install`-capable) or not.
I'd say no, because there won't be any difference feature-wise for between the software built into devel and install spaces AFAIK, and devel space is very convenient for e.g. rapid prototyping. Basic tutorial mentions nothing about deploy as I cited in my 1st email.
But once the software sustains longer then I can see maintaining it as installable would become more beneficial for its maturity.
Is there any recommendation regarding this?
Thanks Dirk. Now I see this might be more general software development question, but let me still limit to ROS since I have Catkin in mind.
The subject line might have been misleading so let me re-phrase it: Is deploying recommended in ROS?
I've been discussing if we (as in, ROS folks) should recommend developers to write their software as install-able (`make install`-capable) or not.
I'd say no, because there won't be any difference feature-wise for between the software built into devel and install spaces AFAIK, and devel space is very convenient for e.g. rapid prototyping. Basic tutorial mentions nothing about deploy as I cited in my 1st email.
But once the software sustains longer then I can see maintaining it as installable would become more beneficial for its maturity.
Is there any recommendation regarding this?
--
You received this message because you are subscribed to the Google Groups "ROS Buildsystem Special Interest Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ros-sig-buildsystem+unsub...@googlegroups.com.
To post to this group, send email to ros-sig-buildsystem@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ros-sig-buildsystem/CAB6SgyUCKA87ABMLTH1sfJNqmE3BHTZWyc92nDvk%2BOFO12PSpg%40mail.gmail.com.