-
Notifications
You must be signed in to change notification settings - Fork 262
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
Supporting xsimd through xeus-cpp-lite #1084
Comments
But with xsimd we get some errors ! This point to a failed assertion here (https://github.com/llvm/llvm-project/blob/main/clang/lib/Interpreter/Interpreter.cpp#L453) and suggests that we rebuild with assertions On Doing that, I see the following Which is a |
So not sure what the error is as of now
But here are the build instructions for the replicate the above
Just copy the contents from before the emcmake cmake ... step
Overall I think we have all tools necessary to run xsimd with xeus-cpp-lite but something is being missed here. |
Hey @anutosh491 Indeed based on the scenario you provide, everything should be working. I'll definitively have a look! |
Thanks Serge for the reply
|
We now moved to a later version of emsdk. Everything was shifted from 3.1.45 to 3.1.73 ! |
I was trying it with my toy project and using llvm built with assertions I see this Need to see if this is exactly what's going wrong ! Here is the error message though
|
This looks like your whole project should be compiled with |
Hey Serge, Yeah I was thinking the same. Even before we go to xeus-cpp-lite, I am trying to get stuff working with a smaller toy project (as involves lesser things and makes debugging easier) So I see just 3 factors here
Now as you can see I did add So the only thing I am guessing is left here is llvm. Do I need to built that with the Lines 221 to 227 in 6d6067a
The recipe is present here if we want to look into any changes as to how xsimd is built (https://github.com/emscripten-forge/recipes/tree/main/recipes/recipes_emscripten/xsimd) |
I'd give it a try, yes
|
Hey @anutosh491, any other way I can help? |
Hey @serge-sans-paille
At this point, xeus-cpp-lite is able to support quite some header only libraries. For eg (nlohmann/json, boost-cpp etc)
And at this point we should also be able to support xsimd (we are able to do SIMD smoothly here)
The text was updated successfully, but these errors were encountered: