Skip to content

Document how to build ARM64 natively with TESTS_BUILD_ONLY - #6383

Merged
StephanTLavavej merged 1 commit into
microsoft:mainfrom
StephanTLavavej:tests-build-only
Jul 28, 2026
Merged

Document how to build ARM64 natively with TESTS_BUILD_ONLY#6383
StephanTLavavej merged 1 commit into
microsoft:mainfrom
StephanTLavavej:tests-build-only

Conversation

@StephanTLavavej

Copy link
Copy Markdown
Member

Fixes #6149.

Thanks to @Lngmate for looking into this with #6380.

@StephanTLavavej
StephanTLavavej requested a review from a team as a code owner July 26, 2026 19:52
Copilot AI review requested due to automatic review settings July 26, 2026 19:52
@StephanTLavavej StephanTLavavej added documentation Related to documentation or comments ARM64 Related to the ARM64 architecture labels Jul 26, 2026
@github-project-automation github-project-automation Bot moved this to Initial Review in STL Code Reviews Jul 26, 2026
@azure-pipelines

This comment was marked as resolved.

This comment was marked as resolved.

@StephanTLavavej

Copy link
Copy Markdown
Member Author

I'm mirroring this to the MSVC-internal repo. Please notify me if any further changes are pushed, otherwise no action is required.

Comment thread README.md
1. `cmake --preset ARM64EC`
1. `cmake --build --preset ARM64EC`

## Building ARM64 Natively

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This seems reasonable but it also seems to be something that the build should be fixing itself rather than trying to document around :/

I submitted #6384

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

At a minimum we should explicitly depict the arm64 parameter to vcvarsall.bat.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's true but also applies to the other platforms; they need to become (for example) arm64_x86

@BillyONeal

Copy link
Copy Markdown
Member

Approved in case you would prefer this solution rather than that one as I don't think this is wrong.

@StephanTLavavej StephanTLavavej moved this from Final Review to Merging in STL Code Reviews Jul 27, 2026
@StephanTLavavej
StephanTLavavej merged commit f8ac180 into microsoft:main Jul 28, 2026
48 checks passed
@github-project-automation github-project-automation Bot moved this from Merging to Done in STL Code Reviews Jul 28, 2026
@StephanTLavavej
StephanTLavavej deleted the tests-build-only branch July 28, 2026 07:46
BillyONeal added a commit to BillyONeal/STL that referenced this pull request Jul 28, 2026
…hoosing arm64 hosted tools on arm64 hosts.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ARM64 Related to the ARM64 architecture documentation Related to documentation or comments

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

README.md: Document TESTS_BUILD_ONLY default on some targets

3 participants