Replies: 7 comments
-
Is pulling necessary? As everything is in one repo a port can't be newer than vcpkg. |
Beta Was this translation helpful? Give feedback.
-
@OlafvdSpek Well, probably not, what I mean is simply, get the latest repo and bootstrap, iff required. Basically any change to the The way I see it, is to hash the source files and store the hash locally. Then, before doing anything, hash the files again, compare to the stored value, iff different bootstrap, store the new value and carry on, iff the same, just carry on. |
Beta Was this translation helpful? Give feedback.
-
This has nothing to do with bootstrapping and to put it more simply appears to involve the update process. Although, I'd argue that if you are not rebasing a fresh when pulling an update (due to how easy it is to do so in a separate folder) until vcpkg stabilises (it is still very new and is very fast moving) then you should probably focus more on the code you are writing along with creating a viable and realistic update strategy for your project and try to instead focus less on updating vcpkg simply because you randomly "felt" like it IMO. The choice however, is ultimately yours to do as you wish. |
Beta Was this translation helpful? Give feedback.
-
That's what I mean with
It will never stabilize ... per definition.
I do, but I do want the latest fixes in the libraries, pulling those will also pull the updates to the vcpkg-code itself, then there is a need to rebuild. There are other cases like f.e. when I moved from VS2017 to VS2019, where |
Beta Was this translation helpful? Give feedback.
-
Hey guys, that was actually a mistake on my part that the build failed without more helpful output. Currently when vcpkg detects a change in the VERSION.txt file we let the user know that you should probably re-bootstrap. It wouldn't be too hard to detect a change in VERSION.txt and automatically re-bootstrap when an environment variable is set or you pass a certain flag to vcpkg. |
Beta Was this translation helpful? Give feedback.
-
@cbezault Naughty, naughty. What I was more thinking of is hashing the relevant source files and re-bootstrap on change. I guess with like a simple CRC32/64 [no need for sophistication] this could be 'almost' unnoticeable and then nothing can be forgotten. I don't mind having a look/stab at it. |
Beta Was this translation helpful? Give feedback.
-
How's progress on this one? |
Beta Was this translation helpful? Give feedback.
-
Following the addition of
VCPKG_ENV_PASSTHROUGH
, the build of Boost failed.Pulling and re-bootstrapping fixes the issue. But
vcpkg
should have auto-bootstrapping, as soon as a change is merged that requires bootstrapping,vcpkg
should just simply rebuild itself before launching into the process [bound to fail].Until issue #3023 gets implemented, this is particularly annoying, since quite a number of issues are actually resolved just by pulling and bootstrapping.
Beta Was this translation helpful? Give feedback.
All reactions