Issue 143848
Summary libc++.modules.json references non-existent path within build tree
Labels libc++
Assignees
Reporter kamrann
    The std module json manifest, in my LLVM build tree at `lib/x86_64-unknown-linux-gnu/libc++.modules.json`, contains the following entry:
```
"source-path": "../../share/libc++/v1/std.cppm"
```
However, while the build tree has a `/share` folder, there is no `libc++` folder within it.

If I run CMake install on my LLVM build then the resulting installation contains the std library module sources at the appropriate path, but if I attempt to use clang direct from the build tree, my build tool will fail. Presumably it should be possible to use in this form, not only installed?

Fedora 41 via WSL
clang version 21.0.0git (https://github.com/llvm/llvm-project.git 9312d5beb37208f30118ec7bc42737b1ecead086)
Target: x86_64-unknown-linux-gnu

Configured with `-DLLVM_ENABLE_PROJECTS=clang -DLLVM_ENABLE_RUNTIMES=libcxx`

_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to