-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conan package #164
Comments
All our current use cases use the library as a git submodule or just use the code directly. Some of the platforms we need to support don't have Conan available easily so support for it hasn't been a priority. I have not looked much into what is involved in supporting it. I have no issue with it being added to Conan. |
Thanks for the insight. Here is a little update: We have uploaded a conan recipe to our in-house server: https://artifactoryconan.esss.dk/artifactory/webapp/#/artifacts/browse/tree/General/scipp/scipp/LLNL-Units/0.5.0/stable We chose this solution because it simplifies testing. But we might revisit it in the future. |
Eventually it might be nice having it added to conan-center-index, though they currently require signing a CLA to submit packages. |
Ah yes, I am not allowed to sign CLA's for the time being which means though we would be happy to have it, we would need an outside contributor to make any additions to conan-center |
Hi, I was also considering adding units to vcpkg, but ran into a naming issue, in vcpkg units already points to https://github.com/nholthaus/units hence using units will not work since that name has to be unique. |
In our recipe we have named the cmake package LLNL-Units, see our conanfile and our cmake-conan config and our |
@SimonHeybrock so you manually patched the units target to be named LLNL-Units instead? or does Conan generate its own cmake targets? Vcpkg generally uses the same targets that is exported by the library it self. And generally vcpkg ports tries hard to avoid changing any names from the source, to make it easier just to "drop in" a vcpkg package. |
We are not patching anything, just using the regular sources from git, i.e., probably Conan makes its own targets? |
I added a cmake variable to allow a rename of the project as an experiment. I don't really want to rename the project by default, but I do see the potential for conflict with other "units" libraries. #310 Not sure if that will work for your needs or not? |
@phlptp do you have a preferred alternative name? LLNL-Units? or all lowercase llnl-units? |
release has been made with the CMAKE variable to customize the project name. |
We are currently installing
units
as a CMake external project. While this works, it requires some manual maintenance on our end (and on anyone else's who uses the library in this fashion). This would be alleviated if there were a Conan package ofunits
.I created a simple test recipe and managed to make it work locally. But it would of course be best to publish a package. We could do so on conancenter directly or on our own, public server as ESS.
I would like to get your input. Did you consider using conan or a different package manager at any point?
The text was updated successfully, but these errors were encountered: