Enable cling based emscripten build #739
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
Please include a summary of changes, motivation and context for this PR.
If you build roots llvm 20 against cling master with the changes in root-project/root#20231, then you can cross compile a CppInterOp which makes use of cling to wasm using Emscripten. CppInterOps Emscripten tests can build, but the tests fail immediately due to a popen error here in cling https://github.com/root-project/cling/blob/903295516f19014a0097bfd516cb23295ef1a404/lib/Interpreter/CIFactory.cpp#L160
Fixes # (issue)
Type of change
Please tick all options which are relevant.
Testing
Please describe the test(s) that you added and ran to verify your changes.
Checklist