Skip to content

Feature: Windows aarch64 (arm64), armv7 support - #439

Closed
xerial wants to merge 11 commits into
masterfrom
win-aarch64
Closed

Feature: Windows aarch64 (arm64), armv7 support#439
xerial wants to merge 11 commits into
masterfrom
win-aarch64

Conversation

@xerial

@xerial xerial commented May 23, 2023

Copy link
Copy Markdown
Owner

Native lib build is failing because of some issues in cmake 3.24.x.
https://gitlab.kitware.com/cmake/cmake/-/issues/24180

-- Check size of unsigned short
CMake Error at /usr/share/cmake-3.24/Modules/CheckTypeSize.cmake:146 (try_compile):
  Cannot copy output executable

    ''

  to destination specified by COPY_FILE:

    '/work/target/snappy-1.1.10-Windows-aarch64/CMakeFiles/CheckTypeSize/CMAKE_SIZEOF_UNSIGNED_SHORT.bin'

  Unable to find the executable at any of:

    /work/target/snappy-1.1.10-Windows-aarch64/CMakeFiles/CMakeTmp/cmTC_accdd
    /work/target/snappy-1.1.10-Windows-aarch64/CMakeFiles/CMakeTmp/Debug/cmTC_accdd
    /work/target/snappy-1.1.10-Windows-aarch64/CMakeFiles/CMakeTmp/Development/cmTC_accdd

Call Stack (most recent call first):
  /usr/share/cmake-3.24/Modules/CheckTypeSize.cmake:277 (__check_type_size_impl)
  /usr/share/cmake-3.24/Modules/TestBigEndian.cmake:55 (CHECK_TYPE_SIZE)
  /usr/share/cmake-3.24/Modules/TestBigEndian.cmake:37 (__TEST_BIG_ENDIAN_LEGACY_IMPL)
  CMakeLists.txt:55 (test_big_endian)

Using cmake 3.26.4 still didn't solve this issue:

-- Check size of unsigned short
CMake Error at /opt/cmake-3.26.4-linux-x86_64/share/cmake-3.26/Modules/CheckTypeSize.cmake:148 (try_compile):
  Cannot copy output executable

    ''

  to destination specified by COPY_FILE:

    '/work/target/snappy-1.1.10-Windows-aarch64/CMakeFiles/CheckTypeSize/CMAKE_SIZEOF_UNSIGNED_SHORT.bin'

  because:

    No such file or directory (input)

@xerial xerial changed the title Feature: Windows arm64, armv7 support Feature: Windows aarch64 (arm64), armv7 support May 23, 2023
@xerial
xerial marked this pull request as draft May 23, 2023 19:18
@imsudiproy

Copy link
Copy Markdown
Contributor

I'll have a look, if I can get a solution

@xerial

xerial commented Jul 13, 2023

Copy link
Copy Markdown
Owner Author

Probably we should merge the PR without adding windows-arm64 and armv7 targets to the native-all, then add a fix for build failure later

@imsudiproy

Copy link
Copy Markdown
Contributor

Hi @xerial , I am raising PR for Windows arm64 support.

@xerial

xerial commented Sep 26, 2023

Copy link
Copy Markdown
Owner Author

Closing in favor of #511

@xerial xerial closed this Sep 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants