Skip to content

Commit

Permalink
fix: pyc files in Meson mesonbuild repo causing rebuilds (#1343)
Browse files Browse the repository at this point in the history
Co-authored-by: James Sharpe <james.sharpe@zenotech.com>
  • Loading branch information
jjmaestro and jsharpe authored Jan 1, 2025
1 parent ad501b8 commit f3d072d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion toolchains/built_toolchains.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,9 @@ exports_files(["meson.py"])
filegroup(
name = "runtime",
srcs = glob(["mesonbuild/**"]),
# NOTE: excluding __pycache__ is important to avoid rebuilding due to pyc
# files, see https://github.com/bazel-contrib/rules_foreign_cc/issues/1342
srcs = glob(["mesonbuild/**"], exclude = ["**/__pycache__/*"]),
visibility = ["//visibility:public"],
)
"""
Expand Down

0 comments on commit f3d072d

Please sign in to comment.