-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
add cfitsio/3.470 #1121
add cfitsio/3.470 #1121
Conversation
All green in build 1 (
|
All green in build 2 (
|
All green in build 3 (
|
Why did you create a new cmake build script? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Use the CMakeLists.txt provided by the author. Even other pkg managers are using it.
I'm not confortable enough with autoconf and its helper class in conan to provide a recipe, therefore I prefer to let someone else create a recipe for cfitsio ;) |
@SpaceIm What I have done in the past is fork the project's repo (or use the release as a base), |
@madebr @uilianries is it acceptable with this patch on CMakeLists? And yes, I could send an email to library authors. |
I ❤️ it! 😄 |
All green in build 4 (
|
Need to check compiler.threads for MinGW in order to require pthreads4w if win32 threads (also update CMakeLists to link to link to CONAN_PKG::pthreads4w if CMAKE_USE_WIN32_THREADS_INIT True). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Only few improvements, but looks good. Please, send your patch to author.
Co-Authored-By: Uilian Ries <uilianries@gmail.com>
All green in build 5 (
|
All green in build 6 (
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Awesome work on the build system. Did you finally send the patch to the library authors? Did they answer anything? I'm sure they can take advantage of the improvements here... and also their investigators would love to run just a conan install ...
within their project to have the dependencies they want working in their project.
Great!
Not yet, the patch requires more love to be submitted to library authors. They can't rely on CONAN_PKG in their own CMakeLists and two options should be added in order to conditionnaly build test and executable. |
When I add a recipe to CCI, I always use the I really hope that all these efforts will eventually arrive upstream and we are contributing to making the original projects better too. |
I don't trust |
Components are not implemented from the consumer perspective. I would really like to know what you don't trust from the current state of that generator. Components will add only granularity, but the functionality within each component/target will be essentially the same. Feel free to contact me slack, open a Github issue or whatever works for you. Thanks! |
Specify library name and version: cfitsio/3.470
conan-center hook activated.