Skip to content

Commit

Permalink
[xls][mlir] Ensure .x data dependencies are tracked by the library, n…
Browse files Browse the repository at this point in the history
…ot the binary

Allows library users to access those .x files.

PiperOrigin-RevId: 688445012
  • Loading branch information
James Molloy authored and copybara-github committed Oct 22, 2024
1 parent 596c2ae commit 89c1845
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions xls/contrib/mlir/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -467,6 +467,9 @@ cc_library(
name = "xls_translate_lib",
srcs = ["tools/xls_translate/xls_translate.cc"],
hdrs = ["tools/xls_translate/xls_translate.h"],
data = [
"stdlib/fp_ext_trunc.x",
],
deps = [
":mlir_xls",
"//xls/common/file:filesystem",
Expand Down Expand Up @@ -502,9 +505,6 @@ cc_library(
cc_binary(
name = "xls_translate",
srcs = ["tools/xls_translate/xls_translate_main.cc"],
data = [
"stdlib/fp_ext_trunc.x",
],
deps = [
":xls_dialect_registration",
":xls_translate_lib",
Expand Down

0 comments on commit 89c1845

Please sign in to comment.