https://bugs.llvm.org/show_bug.cgi?id=46078

            Bug ID: 46078
           Summary: out-of-tree build can't find runtime/config.h
           Product: flang
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Build System
          Assignee: unassignedb...@nondot.org
          Reporter: tke...@nvidia.com
                CC: david.tr...@arm.com, jper...@nvidia.com,
                    llvm-bugs@lists.llvm.org, sscalp...@nvidia.com

In an in-tree build, config.h is generated in
<build-dir>/tools/flang/runtime/config.h. runtime/io-error.cpp is compiled with
-Itools/flang/runtime so it config.h is found okay.

In an out-of-tree build, config.h is generated in <build-dir>/runtime/config.h
but runtime/io-error.cpp is compiled with -I../../include -Iinclude so config.h
is not found.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to