[PATCH] D112399: Get Bazel building `//clang` on Windows with clang-cl.

Geoffrey Martin-Noble via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Oct 25 13:39:57 PDT 2021


GMNGeoffrey accepted this revision.
GMNGeoffrey added inline comments.
This revision is now accepted and ready to land.


================
Comment at: utils/bazel/llvm-project-overlay/clang/include/clang/Config/config.h:78
 /* Define if we have sys/resource.h (rlimits) */
-#define CLANG_HAVE_RLIMITS 1
+/* CLANG_HAVE_RLIMITS defined in Bazel */
 
----------------
Hmm I think we probably should have a change-detector for this config as well as the LLVM ones


================
Comment at: utils/bazel/llvm-project-overlay/llvm/cc_plugin_library.bzl:33
+    for impl_name in [dll_name, dylib_name, so_name]:
+        cc_binary(
+            name = impl_name,
----------------
What about this makes `binary_alias` no longer work?


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D112399/new/

https://reviews.llvm.org/D112399



More information about the cfe-commits mailing list