Skip to content
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

[C++20] [Modules] -print-library-module-manifest-path is broken now #97025

Open
ChuanqiXu9 opened this issue Jun 28, 2024 · 6 comments
Open

[C++20] [Modules] -print-library-module-manifest-path is broken now #97025

ChuanqiXu9 opened this issue Jun 28, 2024 · 6 comments
Labels
clang:modules C++20 modules and Clang Header Modules

Comments

@ChuanqiXu9
Copy link
Member

See #73089 (comment)

After the modules are installed properly, we can find the manifest file with -print-file-name but not with -print-library-module-manifest-path. This is not intentional and we should fix this.

@ChuanqiXu9 ChuanqiXu9 added the clang:modules C++20 modules and Clang Header Modules label Jun 28, 2024
@llvmbot
Copy link
Member

llvmbot commented Jun 28, 2024

@llvm/issue-subscribers-clang-modules

Author: Chuanqi Xu (ChuanqiXu9)

See https://github.com//issues/73089#issuecomment-2196357282

After the modules are installed properly, we can find the manifest file with -print-file-name but not with -print-library-module-manifest-path. This is not intentional and we should fix this.

@mordante
Copy link
Member

mordante commented Jul 5, 2024

Thanks for creating the bug. Do you have time to look into this before the LLVM-19 release?

@ChuanqiXu9
Copy link
Member Author

Thanks for creating the bug. Do you have time to look into this before the LLVM-19 release?

I may take a try but I can't make a promise.

@ChuanqiXu9
Copy link
Member Author

Thanks for creating the bug. Do you have time to look into this before the LLVM-19 release?

hmm it looks like I can't reproduce this. Did you reproduce this before?

@mordante
Copy link
Member

mordante commented Jul 8, 2024

I can reproduce it on my Debian system

<NOT PRESENT>
$ clang++-19 --print-file-name libc++.modules.json
/usr/lib/llvm-19/bin/../lib/libc++.modules.json

If you need the output of other commands please let me know.

@ChuanqiXu9
Copy link
Member Author

Thanks. But it might be hard for me to develop without being able to reproduce it...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
clang:modules C++20 modules and Clang Header Modules
Projects
None yet
Development

No branches or pull requests

3 participants