<div dir="auto">Docker is unnecessary overhead here and irrelevant to the question of which compilers to use when building conda packages (use ours or risk binary incompatibility with the rest of the ecosystems, please do not attempt to use e.g. CentOS6 system compilers to compile modern software either!). <span style="font-family:sans-serif">Docker doesn't come with modern compilers patched to support things like c++17 on CentOS6, they are also slow and to not mitigate against Spectre.</span><div dir="auto"><br></div><div dir="auto">Our compilation story is very good. We use fully isolated pdeudo cross compilers that both target and run on CentOS6 in Linux and our own builds of clang on macOS. We repackage CentOS6 rpms into the compiler sysroot for the few packages that link to system libs.<div dir="auto"><br></div><div dir="auto">I like and use for docker but conda has its own story here and docker and compiler technology are orthogonal in this regard. To t, I still use our computers on docker.</div><div dir="auto"><br></div><div dir="auto">I honestly believe the isolation fans sometimes go far to far though and will accept a lot of unnecessary complication and overhead chasing this goal. Sufficient isolation is possible in other ways.</div><div dir="auto"><br></div><div dir="auto">For testing the packages though (on Linux targets) I love using docker. I can make sure our conda packages work on all the OSes we support.</div><div dir="auto"><br></div><div dir="auto">You can if you want use our compilers in docker but it's pretty pointless (and routing conda package building thorough something like docker is a requirement the community, conda forge in particular does not need).</div><div dir="auto"><br></div><div dir="auto">I dream of a day when docker is seen as one great tool with lots of useful applications instead of the solution to everything but I don't see it coming anytime soon.</div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Aug 15, 2018 9:29 AM, "Eric Noulard" <<a href="mailto:eric.noulard@gmail.com">eric.noulard@gmail.com</a>> wrote:<br type="attribution"><blockquote class="quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><br><br><div class="gmail_quote"><div class="quoted-text"><div dir="ltr">Le mar. 14 août 2018 à 20:38, Sebastián Mancilla <<a href="mailto:smancill@jlab.org" target="_blank" rel="noreferrer">smancill@jlab.org</a>> a écrit :<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">I wanted to try Conda for normal day-to-day C++ development, while having all the dependencies isolated from other projects and the base system.<div><br></div><div>- Change the sources</div><div>- Build</div><div>- Run the tests</div><div>- Repeat</div></div></blockquote><div><br></div></div><div>Hi Sebastian,</div><div><br></div><div>Just curious on why you would prefer conda over "real" container technology like docker or rkt for the kind of usage you describe ?</div><div>Do you ultimately want to distribute your software as conda packages?</div><div><br></div><div>I'm not proficient in conda but AFAIK docker (or rkt) offers easier/better isolation for the usage you describe.</div><div>The side-effect being that inside your container cmake should behave like as expected.<br></div><div>At least this is my own experience.</div><div><br></div><div>Some people even try to automatize the container creation out of conda packaged software:</div><div><a href="https://github.com/BioContainers/mulled" target="_blank" rel="noreferrer">https://github.com/BioContainers/mulled</a><br></div><div>I have no experience with that whatsoever, I usually craft my own dockerfile and work with that.<br></div><div><br></div><div>If your goal includes the distrubution of your software as conda package may be you can get in touch with people</div><div>at conda-forge: <a href="https://conda-forge.org/#about" target="_blank" rel="noreferrer">https://conda-forge.org/#about</a>, I bet they build a lot of cmake-based projects in there and may</div><div>have experienced same caveats with the conda compilers usage.</div><div class="signature-text"><div><br></div><div><br></div></div></div><div class="signature-text">-- <br><div dir="ltr" class="m_-2280161489538120139gmail_signature"><div dir="ltr"><div><div dir="ltr"><div>Eric<br></div></div></div></div></div></div></div>
</blockquote></div><br></div>