Issue 79647
Summary [libc++][std-modules] failed to compile libc++ std modules on Windows
Labels libc++
Assignees
Reporter Arthapz
    Hi, when building libc++ std modules on Windows libc++ include dirs appear to be missing

(reproducer with clang-scan-deps, but compiling the module directly output the same error)
```
> clang-scan-deps --format=p1689 -- clang -x c++ -c F:\llvm\lib\..\share\libc++\v1\std.cppm -o build\.objs\stdmodules\windows\x64\release\c54d4aa169bc4eb69eed289957de829f\std.cppm.obj -Qunused-arguments -m64 -fvisibi
lity=hidden -fvisibility-inlines-hidden -O3 -std=c++23 -stdlib=libc++ -fno-delayed-template-parsing -DNDEBUG

F:\llvm\lib\..\share\libc++\v1\std.compat.cppm:16:10: fatal error: '__config' file not found
```

```
> clang --version
clang version 18.0.0git (https://github.com/llvm/llvm-project.git 0880742a60e9436e439eaee05bf0c8acf4c48a62)
Target: x86_64-pc-windows-msvc
Thread model: posix
InstalledDir: F:\llvm\bin
```
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to