Replies: 2 comments 4 replies
-
https://learn.microsoft.com/en-us/vcpkg/commands/common-options#install-root might help |
Beta Was this translation helpful? Give feedback.
-
As long as you only want to fill the cache, this should work IMO. After the second run, the state should be as if the first run never took place. This being said, I wouldn't be surprised if there is a subtle cross-build bug in the qt ports. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
My repository can be built for target-triplet
x64-mingw-dynamic
andx64-linux-dynamic
. Therefore, I built packages like this, within aDockerfile
. The/tmp/vcpkg-installed
is discarded afterwards. The goal is that the commands populate the binary cache directory.However the second non-cross build interfered with the CMake-files, because when I checkout my repository and build it using the same manifest and for
--host-triplet=x64-linux-dynamic --triplet=x64-mingw-dynamic
(by defining theVCPKG_TARGET_TRIPLET
andVCPKG_HOST_TRIPLET
), I get an error in theQtPublicDependencyHelpers.cmake
file:My question is: I assume I violated some rule about what can and cannot be done with a single VCPKG checkout. What is the recommended way to go forward? Should I checkout
vcpkg
twice for this and use distinct worktrees?Beta Was this translation helpful? Give feedback.
All reactions