[llvm] [bazel] Add llvm_zlib to system include path (PR #121374)

Jordan Rupprecht via llvm-commits llvm-commits at lists.llvm.org
Thu Jan 2 09:07:44 PST 2025


================
@@ -101,6 +101,10 @@ cc_library(
         ],
         "//conditions:default": [],
     }),
+    includes = select({
+        ":llvm_zlib_enabled": ["."],
+        "//conditions:default": [],
+    }),
     # Clang includes zlib with angled instead of quoted includes, so we need
----------------
rupprecht wrote:

This comment suggests angled bracket includes should already be working, so I'm not sure why an additional change is needed. Looks like @aaronmondal set this up a long time ago; do you know what's going on here?

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


More information about the llvm-commits mailing list