-
Notifications
You must be signed in to change notification settings - Fork 279
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
Trying to upgrade libraries in VCPKG #3862
Conversation
Signed-off-by: Grzegorz Bazior (Yodiss PSA) <g.bazior@yodiss.pl>
Signed-off-by: Grzegorz Bazior (Yodiss PSA) <g.bazior@yodiss.pl>
Signed-off-by: Grzegorz Bazior (Yodiss PSA) <g.bazior@yodiss.pl>
Signed-off-by: Grzegorz Bazior (Yodiss PSA) <g.bazior@yodiss.pl>
Signed-off-by: Grzegorz Bazior (Yodiss PSA) <g.bazior@yodiss.pl>
Signed-off-by: Grzegorz Bazior (Yodiss PSA) <g.bazior@yodiss.pl>
Signed-off-by: Grzegorz Bazior (Yodiss PSA) <g.bazior@yodiss.pl>
Signed-off-by: Grzegorz Bazior (Yodiss PSA) <g.bazior@yodiss.pl>
SummarySome libraries can be updated with patches, but not all of them can be upgraded that way. Rest of libraries needs to be updates by vcpkg upgrade. Unfortunately, just vcpkg upgrade is breaking compilation, so for now IMO it is better to leave like that. After upgrades of 8 libraries, Iroha 1 still compiles and CI is passing. But I'm not sure if it hasn't broken anything. That is why IMO it is better to make release 1.6.0 without the PR, but the PR can be 1.6.1. |
@baziorek , sorry for such a big delay. Looks like I will be the one who will review your PR as I have C++ experience and have already reviewed your another work. However, please, keep in mind that I'm Iroha 2 developer and know pretty much nothing about Iroha 1, so don't mind correcting me if I'll be wrong. |
Thanks for approving the PR. In the PR there are only libraries upgrades, so if it compiles it will work (as long as libraries do not change their behaviour). @Arjentix Should I wait for second approve, or it can be merged? |
@baziorek , you can merge |
…fix MacBuild Signed-off-by: Grzegorz Bazior (Yodiss PSA) <g.bazior@yodiss.pl>
…it will fix MacBuild" This reverts commit fc4ebec.
* Trying to upgrade protobuf 3.15.8->3.21.12 Signed-off-by: Grzegorz Bazior (Yodiss PSA) <g.bazior@yodiss.pl> * Trying to upgrade abseil 2021-03-24->20230125.0 Signed-off-by: Grzegorz Bazior (Yodiss PSA) <g.bazior@yodiss.pl> * Trying to upgrade benchmark 1.5.2 -> 1.7.1 Signed-off-by: Grzegorz Bazior (Yodiss PSA) <g.bazior@yodiss.pl> * Trying to upgrade gflags 2.2.2-1 -> 2.2.2#5 Signed-off-by: Grzegorz Bazior (Yodiss PSA) <g.bazior@yodiss.pl> * Trying to upgrade nlohmann-json 3.9.1 -> 3.11.2 Signed-off-by: Grzegorz Bazior (Yodiss PSA) <g.bazior@yodiss.pl> * Trying to upgrade rapidjson 2020-09-14 -> 2022-06-28 Signed-off-by: Grzegorz Bazior (Yodiss PSA) <g.bazior@yodiss.pl> * Trying to upgrade rxcpp 4.1.0-1 -> 4.1.1 Signed-off-by: Grzegorz Bazior (Yodiss PSA) <g.bazior@yodiss.pl> * Trying to upgrade rocksdb 6.14.6 -> 7.9.2 Signed-off-by: Grzegorz Bazior (Yodiss PSA) <g.bazior@yodiss.pl> --------- Signed-off-by: Grzegorz Bazior (Yodiss PSA) <g.bazior@yodiss.pl> Co-authored-by: Grzegorz Bazior (Yodiss PSA) <g.bazior@yodiss.pl>
* Trying to upgrade protobuf 3.15.8->3.21.12 Signed-off-by: Grzegorz Bazior (Yodiss PSA) <g.bazior@yodiss.pl> * Trying to upgrade abseil 2021-03-24->20230125.0 Signed-off-by: Grzegorz Bazior (Yodiss PSA) <g.bazior@yodiss.pl> * Trying to upgrade benchmark 1.5.2 -> 1.7.1 Signed-off-by: Grzegorz Bazior (Yodiss PSA) <g.bazior@yodiss.pl> * Trying to upgrade gflags 2.2.2-1 -> 2.2.2#5 Signed-off-by: Grzegorz Bazior (Yodiss PSA) <g.bazior@yodiss.pl> * Trying to upgrade nlohmann-json 3.9.1 -> 3.11.2 Signed-off-by: Grzegorz Bazior (Yodiss PSA) <g.bazior@yodiss.pl> * Trying to upgrade rapidjson 2020-09-14 -> 2022-06-28 Signed-off-by: Grzegorz Bazior (Yodiss PSA) <g.bazior@yodiss.pl> * Trying to upgrade rxcpp 4.1.0-1 -> 4.1.1 Signed-off-by: Grzegorz Bazior (Yodiss PSA) <g.bazior@yodiss.pl> * Trying to upgrade rocksdb 6.14.6 -> 7.9.2 Signed-off-by: Grzegorz Bazior (Yodiss PSA) <g.bazior@yodiss.pl> --------- Signed-off-by: Grzegorz Bazior (Yodiss PSA) <g.bazior@yodiss.pl> Co-authored-by: Grzegorz Bazior (Yodiss PSA) <g.bazior@yodiss.pl> Signed-off-by: dominious1 <piotr567@proton.me>
Description
In PR #3852 I needed to revert upgrading VCPKG. It caused libraries to downgrade. So now we need to try to upgrade libraries manually one by one.
Corrections (marked as [x] when CI passed):
Linked issue
Closes #{issue_number}
Benefits
Newer packages - it will compile longer, less bugs, more security etc.
Checklist
CONTRIBUTING.md
More information:
I was using the tutorial (as inspiration): https://stackoverflow.com/questions/72588408/vcpkg-how-to-edit-package-file-when-compilation-fails-when-installing-package
./vcpkg-build