simon-git: msvc-extract (main): Simon Tatham
Commits to Tartarus hosted VCS
tartarus-commits at lists.tartarus.org
Sun Jan 23 11:45:56 GMT 2022
TL;DR:
f8fa676 Set CMAKE_SYSTEM_PROCESSOR in toolchain.cmake.
Repository: https://git.tartarus.org/simon/msvc-extract.git
On the web: https://git.tartarus.org/?p=simon/msvc-extract.git
Branch updated: main
Committer: Simon Tatham <anakin at pobox.com>
Date: 2022-01-23 11:45:56
commit f8fa676e4dc480e2711d2ea5543aea4ac3209b86
web diff https://git.tartarus.org/?p=simon/msvc-extract.git;a=commitdiff;h=f8fa676e4dc480e2711d2ea5543aea4ac3209b86;hp=98067d8d4feb42993c67c204eacd7d70f76ec407
Author: Simon Tatham <anakin at pobox.com>
Date: Sun Jan 23 11:41:19 2022 +0000
Set CMAKE_SYSTEM_PROCESSOR in toolchain.cmake.
I found a cmake-based build script recently (specifically, librsync)
which fails at configure time if this variable is not defined at all.
It's easy to know which actual architecture we should be representing,
but less easy to know what the right exact value for this variable is.
I've used the values that I think appear in %PROCESSOR_ARCHITECTURE%,
of which at least "AMD64" matches what native Windows cmake comes up
with. But native cmake doesn't seem to infer this correctly from a
cross-building toolchain (e.g. set up by vcvarsamd64_arm64.bat), so I
can't test the rest perfectly.
msvc-extract.c | 18 ++++++++++++------
1 file changed, 12 insertions(+), 6 deletions(-)
More information about the tartarus-commits
mailing list