From 3b3f3730351cd59a849663700b07d7643a7f74a1 Mon Sep 17 00:00:00 2001 From: Keith Smiley Date: Tue, 10 Mar 2026 10:28:15 -0700 Subject: [PATCH] [bazel] Explicitly disable pfm shared lib (#185542) We don't consume this but it was getting built behind the scenes. This can matter if you use a custom toolchain that isn't compatible with producing this. --- utils/bazel/third_party_build/pfm.BUILD | 3 +++ 1 file changed, 3 insertions(+) diff --git a/utils/bazel/third_party_build/pfm.BUILD b/utils/bazel/third_party_build/pfm.BUILD index 91d92d432a52..00dd49a56dbb 100644 --- a/utils/bazel/third_party_build/pfm.BUILD +++ b/utils/bazel/third_party_build/pfm.BUILD @@ -13,6 +13,9 @@ filegroup( make_variant( name = "pfm", copts = ["-w"], + env = { + "CONFIG_PFMLIB_SHARED": "n", + }, lib_name = "libpfm", lib_source = ":sources", target_compatible_with = select({