Skip to content

A support for Windows On Arm#1818

Open
jmarrec wants to merge 2 commits into
ycm-core:masterfrom
jmarrec:WoA
Open

A support for Windows On Arm#1818
jmarrec wants to merge 2 commits into
ycm-core:masterfrom
jmarrec:WoA

Conversation

@jmarrec

@jmarrec jmarrec commented Jun 23, 2026

Copy link
Copy Markdown
Contributor

This change is Reviewable

Comment thread build.py
Comment on lines +630 to +635
if OnWoA():
arch = 'ARM64'
elif IS_64BIT:
arch = 'x64'
else:
arch = 'Win32'

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

This itself suffices to make ycmd compile, but it'll still put clangd/libclang for x64 instead of woa, hence the rest of the changes

Comment thread build.py
Comment on lines 1181 to +1186
def GetClangdTarget():
if OnWindows():
if OnWoA():
return [
( 'clangd-{version}-woa64',
'33b965780d42113fb0b450d7da6bfbbdc1dafd0f0f7c502e140d7bc41d7f0f1a' ) ]

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Comment thread cpp/ycm/CMakeLists.txt
Comment on lines +46 to +50
if ( "${CMAKE_SYSTEM_PROCESSOR}" MATCHES "^(ARM64.*|arm64.*)" )
set( LIBCLANG_DIRNAME "libclang-${CLANG_VERSION}-woa64" )
set( LIBCLANG_SHA256
"2c36162d57ed0956fe4e5c370452f91e7bc8456ab6cce6de725a39e7d8d80f41" )
elseif( 64_BIT_PLATFORM )

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Get the woa64 libclang, from ycm-core/llvm#9

@puremourning

Copy link
Copy Markdown
Member

thanks. I have kicked off a build of ycm-core/llvm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants