-
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
added recipe for extra-cmake-modules #3211
added recipe for extra-cmake-modules #3211
Conversation
Sorry, the build is only launched for Early Access Program users. You can request access writing in this issue. |
Sorry, the build is only launched for Early Access Program users. You can request access writing in this issue. |
2e3c366
to
000f906
Compare
Sorry, the build is only launched for Early Access Program users. You can request access writing in this issue. |
1 similar comment
Sorry, the build is only launched for Early Access Program users. You can request access writing in this issue. |
from conans import ConanFile, CMake, tools | ||
|
||
class ExtracmakemodulesConan(ConanFile): | ||
name = "extra-cmake-modules" |
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.
Should the name be namespaced?
e.g. kde-extra-cmake-modules
extra-cmake-modules
sounds generic.
This is just a question, let's hear the opinion of the others.
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.
extra-cmake-modules sounds generic.
Indeed, I didn't know about this project, but when searching, it's well referenced to KDE, both Debian packages and Qt points to KDE page. Also, Conda offers extra-cmake-modules by the same name. So I think extra-cmake-modules is okay, as there is no other popular project using the same name or similar.
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.
KDE does prefix almost everything with a k
. What a shame that they haven't done here the same and leave us with this unfortunate choice 😄
The package got into many Linux distros with the unchanged name. I guess we can leave it at that
96e2d2a
to
6865161
Compare
Sorry, the build is only launched for Early Access Program users. You can request access writing in this issue. |
Sorry, the build is only launched for Early Access Program users. You can request access writing in this issue. |
1 similar comment
Sorry, the build is only launched for Early Access Program users. You can request access writing in this issue. |
An unexpected error happened and has been reported. Help is on its way! 🏇 |
Some configurations of 'extra-cmake-modules/5.75.0' failed in build 9 (
|
|
Reading H016, this makes me wonder if those should actually be packaged... extra-cmake-modules has more scripts and NOT only find scripts, right? The thing is, Conan is supposed to generate find scripts, so if you have a dependency tree with extra-cmake-modules and lets say OpenEXR, then you might end up having two conflicting 🤔 |
I think this one and ignition-cmake should remove the |
ECM does not only contains find package scripts but also other cmake modules. This means that if somebody have OpenEXR installed at the system level and he relay on ECM to find it, He won't be able to achieve that with the current package. |
Maybe relevant: gazebosim/gz-cmake#119 |
Some configurations of 'extra-cmake-modules/5.75.0' failed in build 10 (
|
I've excluded all Find*.cmake from the package. This package provides cmake helper modules and obviously will only be used by cmake. so it is pointless to define |
Can you add to build_modules, to be loaded automatically? |
I don't know about |
Yes, ecm has a lot of modules, and probably you don't it, but for main modules. For example, ECMConfig. |
Still it is a common pattern to first do a |
My point is about mandatory cmake files, not optional. I can use CMAKE_MODULE_PATH and include what I need, but my question is what is mandatory if I use ECM. |
Not a lot, looking at its documentation at https://api.kde.org/ecm/manual/ecm.7.html#id3 |
Nothing needs to be included to build_modules. ECM handle including the required modules itself. Here is the code from
This mean when u run |
Great, so we can skip it from hooks. |
5a5afba
to
e6bb5d3
Compare
All green in build 11 (
|
@@ -0,0 +1,5 @@ | |||
int success() |
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.
is this supposed to be merged?
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.
yes, there is no C++ interface to test with, dummy example is okay
* master: (73 commits) (conan-io#3878) opengl: support FreeBSD (conan-io#3882) [system-cci] Fix hooks (conan-io#3881) [szip] Fix hooks (conan-io#3880) [tcl] Fix hooks (conan-io#3866) xorg: add freebsd packages (conan-io#3825) Adds baikal-p7 5.6 (conan-io#3758) minimal recipe for pciutils/3.7.0 (conan-io#3211) added recipe for extra-cmake-modules (conan-io#3870) tl: fix compiler version check again (conan-io#3865) bump eigen/3.3.9 (conan-io#3864) add functionalplus/0.2.13-p0 bump fmt/7.1.3 (conan-io#3694) (conan-io#3858) fix: zulu-openjdk package info (conan-io#3836) gmp: bump + enable building static libraries on MSVC (conan-io#3812) Add logr v0.1.0 (conan-io#3786) add Open62541 recipe v1.0.3 and v1.1.3 (conan-io#3696) openh264: refactor + add 2.1.1 release (conan-io#3607) add botan/2.17.2 (conan-io#3854) Add PEGTL 3.0.0 (conan-io#3859) bump spdlog/1.8.2 ...
Specify library name and version: lib/1.0
conan-center hook activated.