Skip to content

Conversation

@lemire
Copy link

@lemire lemire commented Dec 14, 2023

  1. To avoid many warnings, this PR declares the C and C++ standards separately.
  2. This PR extends gyp so that we can build with AVX-512. Nevertheless, getting runtime dispatching with ClangCl through Visual Studio is challenging, so we disable it. It only affects base64 and one component of zip, so the effect on runtime performance should be negligible. Note that other dependencies such as simdutf do not need to this build support for runtime dispatching (so you still get AVX2, AVX-512 support in these dependencies).

This PR does not fix the issue with v8 assembly that does not build.

@targos
Copy link
Owner

targos commented Dec 15, 2023

Nice, thanks! We will need to port the changes to nodejs/gyp-next before this can land on Node, but let's merge here.

@targos targos merged commit f93991e into targos:clang-cl Dec 15, 2023
targos pushed a commit that referenced this pull request Apr 26, 2024
1. To avoid many warnings, this PR declares the C and C++ standards separately.
2. This PR extends gyp so that we can build with AVX-512. Nevertheless, getting runtime dispatching with ClangCl through Visual Studio is challenging, so we disable it. It only affects base64 and one component of zip, so the effect on runtime performance should be negligible. Note that other dependencies such as simdutf do not need to this build support for runtime dispatching (so you still get AVX2, AVX-512 support in these dependencies).
targos pushed a commit that referenced this pull request Apr 30, 2024
1. To avoid many warnings, this PR declares the C and C++ standards separately.
2. This PR extends gyp so that we can build with AVX-512. Nevertheless, getting runtime dispatching with ClangCl through Visual Studio is challenging, so we disable it. It only affects one component of zip, so the effect on runtime performance should be negligible. Note that other dependencies such as simdutf do not need to this build support for runtime dispatching (so you still get AVX2, AVX-512 support in these dependencies).
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