-
Notifications
You must be signed in to change notification settings - Fork 131
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
can not compile under Visual Studio 17 2022 / ARM64 #558
Comments
fixed by forcing setting of aarch64 architecture cmake -DSLEEF_ARCH_AARCH64=1 .. |
probably CMAKE_SYSTEM_PROCESSOR does not correctly match arm64 or aarch64? |
Thank you so much, for looking into this and letting us know. We will investigate on our side and keep you updated if we escalate it with a PR. |
@savelov At the moment Windows assumes x86, but as you observed we are actually not far off supporting Windows on Arm (ARM64). The more concerning issue we have on Windows (on x86 and Arm) is actually testing, that's only possible in a Cygwin/POSIX-compliant environment. So even though they can be compiled for ARM64, they cannot be tested (natively) yet. I will try to merge a config.cmake fix so that at least you don't have to force your config and we can close this issue. But we will have to disable tests, so we cannot claim full support yet. |
actually after fixing Configure.cmake, I could not properly compile using AdvSIMD instructions, as these variables are being set: probably Microsoft compiler is not fully compatible - e.g. compare with this PR for llama for visual c++ support, especially re float32x4_t initializers |
Sorry for the late reply. Have you tried compiling with llvm/clang. |
after
mkdir build
cd build
cmake ..
cmake --build . --config Release -- /maxcpucount:1
getting error
C:\Users\savel\sleef\build\src\libm\dispscalar.c(26,1): error C2065: 'Sleef_sind1_u35purec': undeclared identifier [C:
Users\savel\sleef\build\src\libm\dispscalar_obj.vcxproj]
C:\Users\savel\sleef\build\src\libm\dispscalar.c(26,1): error C2065: 'Sleef_sind1_u35purecfma': undeclared identifier [
C:\Users\savel\sleef\build\src\libm\dispscalar_obj.vcxproj]
The text was updated successfully, but these errors were encountered: