Skip to content

build,win: fix VS2022 arm64 PGO build#63413

Open
StefanStojanovic wants to merge 1 commit into
nodejs:mainfrom
JaneaSystems:mefi-pgo-vs2022-arm64-fix
Open

build,win: fix VS2022 arm64 PGO build#63413
StefanStojanovic wants to merge 1 commit into
nodejs:mainfrom
JaneaSystems:mefi-pgo-vs2022-arm64-fix

Conversation

@StefanStojanovic
Copy link
Copy Markdown
Contributor

My initial development for enabling PGO was done on a machine with Visual Studio 2026, where the code that landed works. However, it doesn't work with Visual Studio 2022 when cross-compiling for ARM64, because the clang_rt.profile.lib for ARM64 is distributed under a different location in VS2022. This fix adds a fallback that ensures the needed lib is found when compiling with VS 2022 (our release configuration).

Refs: #62761

Refs: nodejs#62761
Signed-off-by: StefanStojanovic <stefan.stojanovic@janeasystems.com>
@StefanStojanovic StefanStojanovic added windows Issues and PRs related to the Windows platform. build Issues and PRs related to build files or the CI. labels May 18, 2026
@nodejs-github-bot nodejs-github-bot added the needs-ci PRs that need a full CI run. label May 18, 2026
@StefanStojanovic StefanStojanovic added the request-ci Add this label to start a Jenkins CI on a PR. label May 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

build Issues and PRs related to build files or the CI. needs-ci PRs that need a full CI run. request-ci Add this label to start a Jenkins CI on a PR. windows Issues and PRs related to the Windows platform.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants