Add switches for more general altjit and cross-target commands #45605
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Add
-mch_arch
to specify which architecture to use when downloadingMCH files from Azure Storage. The idea is that you can specify to
download, say, arm64 MCH files and then run them on x64 by also
specifying an arm64 cross-targeting JIT. Defaults to
-target_arch
(which itself defaults to the host architecture).
Add
-jit
to allow specifying the JIT name to use. Do this instead of-altjit
.Change
-altjit
to--altjit
. It no longer takes a JIT name; use-jit
instead for that purpose. Now,
--altjit
just sets the altjitvariables.
Add
-target_arch
and-target_os
to specify the cross-target of the JIT.The
-target_arch
, in particular, is used to pass the-target
argumentto SuperPMI, which it needs to know which disassembler to use.
So, for example, to run SuperPMI asm diffs with a Windows arm64 cross-JIT
on Windows x64, you might use:
Unfortunately, these cross-JIT scenarios have other problems right now,
but this scripting is a start.