Re: using conan to manage Apache Incubator MXNet project dependencies

2018-12-05 Thread Diego Rodriguez-Losada
Yes, it is totally possible to define and maintain your own conan package registry with your own packages and binaries, for your dependencies and your own packages too: - You can use a free Bintray OSS account, create your own repository (registry) there. - You can use an Artifactory, there are se

Re: using conan to manage Apache Incubator MXNet project dependencies

2018-12-05 Thread Anton Chernov
What I rather meant is a 'sandboxed build', for example without internet connection. Would this be possible? Or is it possible to define and maintain own conan package registry? ср, 28 нояб. 2018 г. в 16:33, Konstantin Ivlev : > > Is it possible to have an offline build somehow? For example, if

Re: using conan to manage Apache Incubator MXNet project dependencies

2018-11-28 Thread Konstantin Ivlev
> Is it possible to have an offline build somehow? For example, if all > dependencies would be stored locally. Probably, that would require some > modifications to the conan file, right? as soon as all dependencies are stored locally, conan will use binaries from the local cache. no modifications a

Re: using conan to manage Apache Incubator MXNet project dependencies

2018-11-28 Thread Anton Chernov
Great, thank you for your answers. Is it possible to have an offline build somehow? For example, if all dependencies would be stored locally. Probably, that would require some modifications to the conan file, right? вт, 27 нояб. 2018 г. в 16:59, Konstantin Ivlev : > > Would it be possible to d

Re: using conan to manage Apache Incubator MXNet project dependencies

2018-11-27 Thread Konstantin Ivlev
> Would it be possible to define cmake itself as a conan dependency for MXNet? yes, it is definitely possible for instance, to declare CMake 3.13.0 as a dependency, the following line has to be added to the conanfile.py: build_requires = "cmake_installer/3.13.0@conan/stable" other build tools mi

Re: using conan to manage Apache Incubator MXNet project dependencies

2018-11-27 Thread Anton Chernov
I think I asked this already, but want to confirm in regards to the following discussion: MXNet CMake build - raise minimal required version https://lists.apache.org/thread.html/09772f9447ebff72cdfea5512ae70e295db8a21ba0ddb39359cd0a77@%3Cdev.mxnet.apache.org%3E Would it be possible to define cmak

Re: using conan to manage Apache Incubator MXNet project dependencies

2018-11-27 Thread Konstantin Ivlev
both questions are totally valid. > Is it easy to create a build which will build dependencies from source? 1. yep, it's very easy, just add `--build` argument to the `conan install` command line > What guarantees you get with conan with regards to ABI / C++ stdlib binary compatibility of the pull

Re: using conan to manage Apache Incubator MXNet project dependencies

2018-11-27 Thread Pedro Larroy
Thanks both for the detailed explanations. Couple of more questions: Is it easy to create a build which will build dependencies from source? What guarantees you get with conan with regards to ABI / C++ stdlib binary compatibility of the pulled dependencies? Just to clarify: My concerns are in ter

Re: using conan to manage Apache Incubator MXNet project dependencies

2018-11-27 Thread Diego Rodriguez-Losada
Hi Pedro, Conan is distributed. So besides building from sources the dependencies, it is also possible to create binaries yourself for those dependencies (with the existing recipes, or your own recipes), and host them in your own repo (Bintray OSS repo, or Artifactory). This will provide both the

Re: using conan to manage Apache Incubator MXNet project dependencies

2018-11-27 Thread Konstantin Ivlev
Hi Pedro, yes, you're absolutely right, by default, conan will be pulling prebuilt binaries for the libraries from the bintray. however, if prebuilt binaries are not available (e.g. because you use some different compiler for which we don't have prebuilt binaries), or if you want to build binaries

Re: using conan to manage Apache Incubator MXNet project dependencies

2018-11-27 Thread Pedro Larroy
Hi Konstantin Thanks for this contribution. With your proposed changes, when building MXNet we will be pulling binaries for the libraries managed by conan? Pedro. On Mon, Nov 26, 2018 at 11:43 AM Konstantin Ivlev wrote: > > Hello, Ivan, > > could you possibly clarify your question (may be expla

Re: using conan to manage Apache Incubator MXNet project dependencies

2018-11-26 Thread Konstantin Ivlev
Hello, Ivan, could you possibly clarify your question (may be explaining the use-case behind it)? Gradle appears to be build system, AFAIK more popular in Java world. meanwhile, Apache Incubator MXNet project uses CMake as its build system. please correct me, I am wrong. in general, conan, as a pa

Re: using conan to manage Apache Incubator MXNet project dependencies

2018-11-26 Thread Ivan Serdyuk
Kostantin, and what (overall) option with using Gradle? Does this your suggested package manager has been supported by Gradle? Ivan On Mon, Nov 26, 2018 at 9:43 AM Konstantin Ivlev wrote: > hello, > > this email is related to the following PR and JIRA ticket: > - [MXNET-1229] use OpenBLAS, lapa

using conan to manage Apache Incubator MXNet project dependencies

2018-11-25 Thread Konstantin Ivlev
hello, this email is related to the following PR and JIRA ticket: - [MXNET-1229] use OpenBLAS, lapack & OpenCV from conan - use conan to manage project dependencies conan i