[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.
This commit is contained in:
Keith Smiley 2026-03-10 10:28:15 -07:00 committed by GitHub
parent 1fdc16bd42
commit 3b3f373035
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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({