-
Notifications
You must be signed in to change notification settings - Fork 31
[Bug]: Debug flags responsible for CppInterOp's emscripten build #419
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
Comments
But the link.txt generated during the build process is somewhat weird (lot of things might be unwanted )
I don't think these are even recognized by Emscripten and Webassembly I see these warnings at the end while building cppinterop
Why do we need to generate Rest things mostly look fine but I am not sure what is responsible for these flags being added. Do they come out of Emscripten's toolchain or cmake .... I am not yet sure ! |
Okay I see when we switch to a combination of add_library + target_link_libraries (instead of add_llvm_library) as raised in the issue description, we stop producing the |
This issue is stale because it has been open for 90 days with no activity. |
Uh oh!
There was an error while loading. Please reload this page.
Description of bug
Currently this is how CppInterOp's emscripten build is conducted.
The first 4 lines are necessary to build SHARED objects through cmake using emscripten. Check comment (emscripten-core/emscripten#15276 (comment)). This is followed by add_llvm_library (more like a wrapper over
add_library
andtarget_link_libraries
). We could even do something as simple asWhat operating system was you using when the bug occured?
MacOS
What is the architechture of the cpu on your system?
ARM
What did you build CppInterOp against?
Clang-repl (LLVM19)
The text was updated successfully, but these errors were encountered: