-
Notifications
You must be signed in to change notification settings - Fork 7.1k
Closed
Labels
category:tool-updateThe issue is with build tool or build script, which requires update or should be executed correctlyThe issue is with build tool or build script, which requires update or should be executed correctlydepends:upstream-changesWaiting on a change to the upstream projectWaiting on a change to the upstream project
Description
Describe the bug
vcpkg_configure_meson
function does not support cross compilation, even for simple header-only libraries that just require to disable sanity checks.
Environment
- OS: Windows
- Compiler: VS 16.6 Preview
To Reproduce
Steps to reproduce the behavior:
- Comment the call to
vcpkg_fail_port_install
in tomlplusplus's portfile.cmake - ./vcpkg install tomlplusplus:arm64-windows
- See error
Expected behavior
./vcpkg install tomlplusplus:arm64-windows
should work fine
Failure logs
$ cat buildtrees/tomlplusplus/config-arm64-windows-dbg-out.log
The Meson build system
Version: 0.53.2
Source dir: C:\src\vcpkg\buildtrees\tomlplusplus\src\v1.2.5-6c4dc93a44
Build dir: C:\src\vcpkg\buildtrees\tomlplusplus\arm64-windows-dbg
Build type: native build
Project name: tomlplusplus
Project version: 1.2.5
meson.build:1:0: ERROR: Could not invoke sanity test executable: [WinError 216] This version of %1 is not compatible with the version of Windows you're running. Check your computer's system information and then contact the software publisher.
A full log can be found at C:\src\vcpkg\buildtrees\tomlplusplus\arm64-windows-dbg\meson-logs\meson-log.txt
Additional context
Originally emerged in #10786 .
a-andreyev
Metadata
Metadata
Assignees
Labels
category:tool-updateThe issue is with build tool or build script, which requires update or should be executed correctlyThe issue is with build tool or build script, which requires update or should be executed correctlydepends:upstream-changesWaiting on a change to the upstream projectWaiting on a change to the upstream project