require exact version match for CMake and PowerShell#223
require exact version match for CMake and PowerShell#223Be-ing wants to merge 2 commits intomicrosoft:mainfrom
Conversation
CMake is included in the ABI info, so an exact version match is required for binary caching to work for sharing a cache between machines with different environments. Refer to the comment in the code for more details.
117fa03 to
c38abb1
Compare
It is also included in the ABI info, not just CMake.
|
Is this an acceptable fix for ABI info mismatches between servers and developers' machines? An alternative would be removing the CMake and PowerShell versions from the ABI info, but I presume you had some reason to add them in the first place. |
|
Hmm I wish there were a switch to disable CMake and PowerShell Abi tracking. |
|
I think adding yet another option would be a bad way to solve this. It is already necessary to disable compiler tracking to make binary caching somewhat usable. Users shouldn't need to figure out they need to switch two options away from the default to make binary caching usable. If it is permissible to not track the CMake and PowerShell versions then I think it simply shouldn't be done without having an option. |
|
I can understand why CMake version is tracked, but why is PowerShell? I very much like the idea of having a switch to disable ABI tracking for these tools. |
|
I think adding another option would be the worst way this could be solved.
Can you explain? I don't understand what that has to do with ABI. |
|
Could a maintainer please take a look at this? This is holding back Mixxx from switching from |
You are right, it does not. My guess is that it has something to do with how library is consumed (config file generated for specific version etc.) |
|
Pinging on this again. We have had several new contributors trying to build Mixxx on ARM macOS but not succeeding with the legacy |
|
Superseded by #234 |
CMake is included in the ABI info, so an exact version match is required
for binary caching to work for sharing a cache between machines with
different environments. Refer to the comment in the code for more
details.