-
Notifications
You must be signed in to change notification settings - Fork 6.1k
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
[flatbuffers] respect the VCPKG_BUILD_TYPE var #39284
Comments
"A single build will consume files from up to two triplets: the target triplet and the host triplet." I guess what you really want is to set the host triplet. |
@dg0yt I tried setting those variables but it still results in 3 builds.
|
The syntax seems to be
https://learn.microsoft.com/de-de/vcpkg/users/config-environment#vcpkg_default_host_triplet |
That did it! Thank you. I'm not sure whether to leave this issue open as this is the only dependency I have that's required to have |
There is no port bug here. The port does respect There might be an issue with communication/learning about triplets and variables, but it is more between the lines at the moment. |
Is your feature request related to a problem? Please describe.
Right now flatbuffers doesn't respect the
VCPKG_BUILD_TYPE
variable causing ax64-windows-dbg
,x64-windows-rel
,x64-windows-static-release-rel
when my triplet is set tox64-windows-static-release
which setsVCPKG_BUILD_TYPE
torelease
. This causes slow build times needing to build 3 different version and since flatbuffers is a large repo, a significant amount of disk space is wasted.Proposed solution
Update the
flatbuffers
vcpkg to properly respect theVCPKG_BUILD_TYPE
environment variable to avoid useless builds and wasted disk space.Describe alternatives you've considered
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: