Skip to content
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

Build fails on machines that support AVX512. #35

Open
BillyONeal opened this issue Nov 25, 2024 · 1 comment
Open

Build fails on machines that support AVX512. #35

BillyONeal opened this issue Nov 25, 2024 · 1 comment

Comments

@BillyONeal
Copy link

When building DiscordCoreAPI, the build explodes on systems that support AVX 512 such as my Ryzen AI 9 HX 370 with errors like:

D:\vcpkg\installed\x64-windows\include\jsonifier/ISA/AVX.hpp(262): error C3861: '_mm512_movemask_epi8': identifier not found
D:\vcpkg\installed\x64-windows\include\jsonifier/ISA/AVX.hpp(262): note: '_mm512_movemask_epi8': function was not declared in the template definition context and can be found only via argument-dependent lookup in the instantiation context

Did you mean _mm512_movepi8_mask? This doesn't happen in vcpkg's build lab because it doesn't currently run on a CPU that supports AVX512.

BillyONeal added a commit to BillyONeal/vcpkg that referenced this issue Nov 25, 2024
2 potential causes:
* At least in my testing, build requires >9GB per core of memory, which might have been 'hanging' by causing the OOM killer to kill the agent.
* There are 'sub' CMake builds which write to the source tree and stomp on each other.

Related: RealTimeChris/Jsonifier#35
@RealTimeChris
Copy link
Owner

Yes and it is fixed in the dev branch I will push it to main later today.

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

No branches or pull requests

2 participants