-
Notifications
You must be signed in to change notification settings - Fork 6.4k
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
vcpkg_build_msbuild is broken if TRIPLET_SYSTEM_ARCH is different from x64 #1041
Labels
category:vcpkg-bug
The issue is with the vcpkg system (including helper scripts in `scripts/cmake/`)
Comments
ras0219-msft
added
the
category:vcpkg-bug
The issue is with the vcpkg system (including helper scripts in `scripts/cmake/`)
label
May 7, 2017
Merged
*I think this will probably fail in your machine, and hopefully we can get some info as to why. |
Installing |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
category:vcpkg-bug
The issue is with the vcpkg system (including helper scripts in `scripts/cmake/`)
On my machine (I did not double checked on a second machine at the moment) it seems that the
vcpkg_build_msbuild
command is broken for all triplets for whichTRIPLET_SYSTEM_ARCH
is different fromx64
.In particular it seems that the
msbuild
command is not found because thePATH
contains the directories of Visual Studio tools only ifTRIPLET_SYSTEM_ARCH
is equal tox64
.I checked this by adding a
message(STATUS "PATH : $ENV{PATH}")
debug print.PATH
forx64-uwp
:PATH
forx64-windows-static
:PATH
forarm-uwp
:PATH
forx86-windows
:In theory the problem should be reproducible by tryng to build a port that uses
vcpkg_build_msbuild
for thex86-windows
, for example with avcpkg install box2d:x86-windows
.I wonder if this problem depends on something on my machine, because the
chakracore
port usevcpkg_build_msbuild
as well, and it should be one of the few ports tested in the CI system described in #72 (comment) .The text was updated successfully, but these errors were encountered: