Skip to content

Commit

Permalink
build: exclude wee8/out from inputs (envoyproxy#13866)
Browse files Browse the repository at this point in the history
If you build without sandboxing for performance, the output files from
this custom build genrule contained timestamps which caused it to
rebuild every single build.

Signed-off-by: Keith Smiley <keithbsmiley@gmail.com>
  • Loading branch information
keith authored and PiotrSikora committed Nov 19, 2020
1 parent 3bcf4fa commit 4f1f244
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion bazel/external/wee8.BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,10 @@ cc_library(

genrule(
name = "build",
srcs = glob(["wee8/**"]),
srcs = glob(
["wee8/**"],
exclude = ["wee8/out/**"],
),
outs = [
"libwee8.a",
],
Expand Down

0 comments on commit 4f1f244

Please sign in to comment.