[llvm] [Bazel] Make LLVM config headers configurable (PR #126729)

Aaron Siddhartha Mondal via llvm-commits llvm-commits at lists.llvm.org
Tue Feb 11 10:29:22 PST 2025


================
@@ -86,12 +86,15 @@ def main(args):
                 os.path.join(args.overlay, relpath), os.path.join(args.target, relpath)
             )
 
-        for src_entry in os.listdir(os.path.join(args.src, rel_root)):
-            if src_entry not in dirs:
-                relpath = os.path.join(rel_root, src_entry)
-                _symlink_abs(
-                    os.path.join(args.src, relpath), os.path.join(args.target, relpath)
-                )
+        src_path = os.path.join(args.src, rel_root)
----------------
aaronmondal wrote:

Note: This just makes it so that new directories (like the `platform` directory) that aren't present in the original sources don't raise errors. I pulled this out to #126759

https://github.com/llvm/llvm-project/pull/126729


More information about the llvm-commits mailing list