LATX, clean: reduce the LATX tree to the maintained x86-on-LoongArch scope#302
Open
LaurenIsACoder wants to merge 27 commits into
Open
LATX, clean: reduce the LATX tree to the maintained x86-on-LoongArch scope#302LaurenIsACoder wants to merge 27 commits into
LaurenIsACoder wants to merge 27 commits into
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Summary
This PR prunes code and vendored assets that are outside the maintained LATX scope.
The current LATX tree only builds and runs x86 user-mode targets (
i386-linux-userandx86_64-linux-user) on a LoongArch host, but the repository still carried alarge amount of unused multi-architecture code inherited from the original QEMU/third-party layout. This change removes those unused paths and keeps the tree aligned
with what LATX actually builds and ships today.
What this changes
default-configsentries for non-x86 targetslinux-usertarget directories and non-LoongArch host helperscapstone_gitcontent down to the X86 subset actually used by LATXWhy this is safe
The removed code is outside the currently maintained LATX execution scope:
i386-linux-user,x86_64-linux-userloongarchNo supported LATX build target was intentionally removed.
Validation
Validated on a LoongArch host with:
./latxbuild/build32.sh -c./latxbuild/build64.sh -cRuntime smoke tests also passed with both rebuilt binaries:
busyboxfori386busyboxforx86_64hellofori386helloforx86_64Notes
This is a cleanup-only change. It does not introduce new translation features or change the supported LATX target set.