-
Notifications
You must be signed in to change notification settings - Fork 6.4k
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
[taskflow] Update cpp-taskflow 2.2.0 to taskflow 2.6.0 #13140
[taskflow] Update cpp-taskflow 2.2.0 to taskflow 2.6.0 #13140
Conversation
Unfortunately this breaks Also you've got some merge conflicts :) |
144668a
to
73150b9
Compare
@BillyONeal OK thanks, I fixed the conflicts (didn't see them the first time). CI passed with the new name change to Taskflow. I then added a patch to configure the project as Cpp-Taskflow (just had to change the PROJECT() call pretty much). Then the config file names are appropriate and it can stay as cpp-taskflow. Not that painful...I guess. Not sure what is best in terms of renaming the package or not; I guess both could work for now. It is a permanent name change mentioned on the Taskflow github FWIW. ¯\_(ツ)_/¯ Edit: I also don't know what the CI errors on the latest commit mean at all...
|
Maybe we need to add a |
/azp run |
Azure Pipelines successfully started running 1 pipeline(s). |
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.
Please update the version info. See documentation.
@JackBoosY I updated to 2.5.0-1, it still works locally as well for me to link to the |
We haven't discussed it yet. I suspect we're either going to want a port left with the old name that depends on the current name, or we are going to not want to change the name at all. To clarify, the scenario this breaks is:
|
Renaming the library sounds good to me, plus having a forwarding port for some amount of time (the description should make it clear that it's deprecated). |
@mfornace OK, up to you. Can you indicate which of these you'd prefer:
Thanks! |
@JackBoosY is there anything pending to approve this PR? |
@remz1337 I wanted to give @mfornace the opportunity to pursue the alias solution if they desired since we had landed on that being OK; #13140 (comment) If we get no response by... let's say tomorrow, we'll probably merge as is. |
Sorry, I lost track of this issue. I suppose I have no strong feeling on renaming the port... it is not a repo I am involved in, I should say. It seems for sure easier for us to leave the port as is (cpp-taskflow). The problem is anyone migrating (like me) to using vcpkg with Taskflow would have to change their CMake files for the different target name that is exported, so that's not a great solution. To pursue the other solution, would we just include the current master version of cpp-taskflow with a warning, and then include the taskflow port I originally submitted as the PR? If you agree with the latter solution, I can:
And sorry for the dumb question, but how do you mark the change as resolved? :D |
@mfornace |
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.
Edited to 2.5.0-1
Sorry, I'm a bit clueless on the vcpkg PR process, but here's what I did:
From what I can tell, the CI fails because cpp-taskflow and taskflow install the same files (e.g. taskflow/**.h in both cases). I tested both locally and they worked in installation and linking to a dummy project (but they can't be installed at the same time). I would appreciate some help on how to arrange the port(s) etc so that CI can pass correctly. |
Unfortunately your changes here downgrade the cpp-taskflow port which is likely the cause of the failures here. Since you wanted the 'alias' solution I pushed changes that do that. |
I removed the compiler patch file and edited the port to use vcpkg_fixup_cmake_targets. |
Thanks for the PR! |
Describe the pull request
Bug fix to previous pull request updating cpp-taskflow to 2.5.0.
Library name is now changed to "taskflow." Target can be found correctly.
All of them, none have been updated.
Yes