-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Open
Description
We try MSVC to run python setup.py build on x64, it works. But we tried to build for target arm64ec, this project does not use the cl.exe command of MSVC. How to build Annoy on windows arm64ec using MSVC. Could you please help look at this issue? Thanks in advance.
Versions and configuration
OS: Windows Server 2022 Datacenter
VS: Visual Studio 2019(16.11.20)
Repro steps:
- Open VS2019 x64 tools command
- set VSCMD_SKIP_SENDTELEMETRY=1 & "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\Common7\Tools\VsDevCmd.bat" -host_arch=amd64 -arch=arm64
- git clone https://github.com/spotify/annoy F:\annoy
- cd F:\annoy
- mkdir build_arm64ec && cd build_arm64ec
- cmake -G "Visual Studio 16 2019" -A ARM64EC -DCMAKE_SYSTEM_VERSION=10.0.22618.0 -DCMAKE_BUILD_TYPE=Release ..
- msbuild /m /p:Platform=ARM64EC /p:Configuration=Release Annoy.sln /t:Rebuild
cmake log:
-- The CXX compiler identification is MSVC 19.35.32014.96
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Enterprise/VC/Tools/MSVC/14.29.30133/bin/Hostx64/arm64/cl.exe - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Configuring done
-- Generating done
CMake Warning:
Manually-specified variables were not used by the project:
CMAKE_BUILD_TYPE
-- Build files have been written to: F:/annoy/build_arm64ec
build log:
annoy_build.log
Metadata
Metadata
Assignees
Labels
No labels