Repository navigation
fix(cmake): pass the windows manifest script to llvm-rc after -- - #6
Merged
boykopovar merged 1 commit intoNov 17, 2026
Merged
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
Building a Windows target on a host whose paths start with
/fails at the manifest step:llvm-rcreads the input path/Users/...as one of its/options.adk_windows_runtime_manifestnow puts--before the script, which ends the options. The output after/FOis not affected, because it is that option's value.Testing
A minimal Ninja project that includes
cmake/sdk/DesktopRuntime.cmakeand callsadk_windows_runtime_manifeston one target, on macOS arm64 with LLVM 23.1.3:.res, andllvm-readobj --coff-resourcesshows theMANIFESTresource (type 24, name 1) with the manifest in it.ctestpassed 11/11 with this applied (see the note below about building on macOS).I did not run a Windows or Linux host. On Windows the paths do not start with
/, so the only change there is the extra--, whichllvm-rchas accepted since 2019.Note
On a stock SDK this step is only reached when the Windows startup library is present, which today means a Windows host. I hit it building Windows games from a Mac with the startup library taken from the Windows release, so I cannot claim it affects the supported setups; it only makes the function correct for any host.
Building current
mainon macOS also needs#include <algorithm>in3rdparty/opengnm-psbc/src/amd/compiler/aco_util.h(std::move_backward); I added that locally to run the tests. It is not part of this pull request.