-
Notifications
You must be signed in to change notification settings - Fork 152
-
Notifications
You must be signed in to change notification settings - Fork 152
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
immintrin.h/x86intrin.h adds significantly to compile times #298
Comments
thanks for reporting this and for recommending a solution👍 A fix will be in master soon |
it seems this doesn't work in clang 15 and we have to add <immintrin.h> https://github.com/search?q=repo%3Allvm%2Fllvm-project%20clflushoptintrin.h&type=code for gcc |
Wow that header guard is annoyingly broad, thanks for trying anyways. |
Due to the verbose nature of the AVX512 headers, my build profile is showing an extra 500ms of frontend compile time in Clang for any header that includes quill.
The main offenders are
quill/include/quill/detail/spsc_queue/BoundedQueue.h
andquill/include/quill/detail/misc/Rdtsc.h
which includeimmintrin.h
andx86intrin.h
.Here is a simple patch to fix the issue:
The text was updated successfully, but these errors were encountered: