| Issue |
174126
|
| Summary |
Flang and OpenMP cannot be enabled at the same time in the main branch
|
| Labels |
flang
|
| Assignees |
|
| Reporter |
songdongsheng
|
On the Windows platform, when using MSVC to compile, if both `openmp` and `flang` are specified in `LLVM_ENABLE_PROJECTS`, an error occurs during the build:
```bash
ninja: error: 'projects/openmp/runtime/src/omp_lib.F90', needed by 'include/flang/omp_lib.mod', missing and no known rule to make it
```
If I remove either `openmp` or `flang` from `LLVM_ENABLE_PROJECTS`, it can build successfully in either case.
```bash
git log -1
commit c2c787c16f5d0b78decc46b963214283465b6342 (HEAD -> main, origin/main, origin/HEAD)
Author: Narayan <[email protected]>
AuthorDate: 2026-01-01 10:22:55 +0800
Commit: GitHub <[email protected]>
CommitDate: 2026-01-01 10:22:55 +0800
[LLVMABI] Implement the ABI Typesystem (#158329)
...
```
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs