-
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
gperf: conan v2 support #14083
gperf: conan v2 support #14083
Conversation
This comment has been minimized.
This comment has been minimized.
4aab6e6
to
24e9b9b
Compare
This comment has been minimized.
This comment has been minimized.
mysteries of compilers... |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Seems to be quite similar to error in #13446 |
This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
I just started a new CI build right now. |
Ok thanks. I still don't undestand why C++ files are not found in msvc build, but C files are. |
This comment has been minimized.
This comment has been minimized.
These 4 commands seem correct:
the problem is that wherever the paths for the .cc files get converted to windows formats, the conversion seems wrong, judging by the error from cl.exe referencing this, which is an invalid path:
I can reproduce this locally. And I run the same commands in order (command prompt + call .bat + msys2 bash + source conanbuild.sh) + make, everything works fine. Will keep testing |
The issue is due to an interaction between the The reason this doesn't fail for An easy way out is to tell msys2 to NOT perform path conversions for the
As mentioned in there docs, the logic is not perfect for all cases, and looks like we just stumbled upon one of those cases. Presumably a space between Tp and the filename, or the compile script leaving the unix path untouched, would have also worked. |
Co-authored-by: Luis Caro Campos <3535649+jcar87@users.noreply.github.com>
Thanks @jcar87
Is it possible to "fix" the new Autotools helper to always call configure in-place? |
Conan v1 pipelineAll green in build 6 (
|
Awesome |
Here @czoido may have better context than me to provide an answer. As far as I know, out-of-tree builds should work fine with Autotools simply by invoking the configure script in a different cwd than the source folder. An interesting think is that I think the deciding factor in whether or not the paths in the Makefiles end up being relative or absolute lies in "how" we invoke the configure script. The current implementation of |
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.
LGTM
* conan v2 support * ensure to build from source folder * in source build for windows * prevent msys2 doing erroneous path conversion Co-authored-by: Luis Caro Campos <3535649+jcar87@users.noreply.github.com> Co-authored-by: Luis Caro Campos <3535649+jcar87@users.noreply.github.com>
Specify library name and version: lib/1.0
This is also a good place to share with all of us why you are submitting this PR (specially if it is a new addition to ConanCenter): is it a dependency of other libraries you want to package? Are you the author of the library? Thanks!