-
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
boost: conan v2 support #14415
boost: conan v2 support #14415
Conversation
9c37e04
to
35bb692
Compare
I detected other pull requests that are modifying boost/all recipe:
This message is automatically generated by https://github.com/ericLemanissier/conan-center-conflicting-prsso don't hesitate to report issues/improvements there. |
35bb692
to
e3dce93
Compare
FYI, there are some tricks to avoid to rely on conan v1 helpers: |
68cd3fb
to
1e9996f
Compare
This comment has been minimized.
This comment has been minimized.
32c6631
to
7b9a328
Compare
This comment has been minimized.
This comment has been minimized.
0e15fc4
to
dadc295
Compare
dadc295
to
af74024
Compare
So 2.0 does not work
|
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.
I ran a few tests on my Mac book pro and had a few issues, the default one works but maybe you could try the ones that failed for me and let me know if it's on my end but seems theres a few edge cases
I'll try add test this one my windows + linux before I leave on vacation tomorrow if dear future me here's the commands I tested
5871 conan create all --version 1.80.0
5872 pip install conan==1.53
5873 conan create all boost/1.80.0@
5874 conan create all boost/1.80.0@ -s compiler.cppstd=17
5875 conan create all boost/1.80.0@ -o boost:header_only=True
5876 conan create all boost/1.80.0@ -o boost:without_regex=True
5877 conan create all boost/1.80.0@ -o boost:without_regex=True -o boost:without_iostreams
5878 conan create all boost/1.80.0@ -o boost:without_regex=True -o boost:without_iostreams=True
5879 conan create all boost/1.80.0@ -o boost:without_iostreams=True
5880 conan create all boost/1.80.0@ -o boost:without_coroutine=True`
Except |
I did not clear the test build folder 😵💫 yeah v2 does that for free now I didn't realize. Cheers, on my calendar I will circle back since this is important :) |
This comment has been minimized.
This comment has been minimized.
Hooks produced the following warnings for commit 0dd9649boost/1.79.0
boost/1.78.0
boost/1.76.0
boost/1.72.0
boost/1.80.0
boost/1.75.0
boost/1.71.0
boost/1.74.0
boost/1.70.0
boost/1.77.0
boost/1.73.0
|
Conan v1 pipelineAll green in build 18 (
|
Hooks produced the following warnings for commit 936eab0boost/1.78.0
boost/1.80.0
boost/1.79.0
boost/1.77.0
boost/1.74.0
boost/1.70.0
boost/1.76.0
boost/1.75.0
boost/1.73.0
boost/1.72.0
boost/1.71.0
|
I tested these combos on my mac and the results are as expected... Going to try this out on my windows this evening
|
Windows testing
|
I did the best I can testing this... if there are any breaks please help us fix them and document how to test them please! |
Just in time for 1.81.0 ? |
Hopefully! |
This change seems to break cross compilation of Boost with host profiles that uses CXX and CC variables in the [env] section of the profile (just like the documentation describes). |
The |
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!