chelcassanova wrote: > For the unifdef executable, -o option is not available in some of the system > like AIX, and its giving warning while building lldb on AIX. Is there any way to generate the output file without -o? may be using '>' operation ?
I think this should be possible, although trying this locally caused the output file to be completely blank. I'll try doing this in the build system and see if it works there. > is attached to multiple targets: 19:57:50 19:57:50 liblldb-header-staging 19:57:50 liblldb-resource-headers 19:57:50 19:57:50 but none of these is a common dependency of the other(s). This is not 19:57:50 allowed by the Xcode "new build system". So `liblldb-header-staging` is a target I added for this patch, it's tied to the headers being staged in the build directory. `liblldb-resource-headers` is from `LLDBFramework.cmake`. I would have the latter target be dependent on the former, and this is actually something I do in a follow-up patch for fixing up the script we use to modify headers for the LLDB framework https://github.com/llvm/llvm-project/pull/142051/files#diff-71111f357766df0b6e4415772cce9616944eac218eec4e34b3098bcd1a97f556: ``` # We're taking the header files from where they've been staged in the build directory's include folder, # so create a dependency on the build step that creates that directory. add_dependencies(liblldb-resource-headers liblldb-header-staging) ``` To resolve this build failure, I think the target dependency in `LLDBFramework.cmake` (the above few lines) can be moved into this patch. https://github.com/llvm/llvm-project/pull/141116 _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits