Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions transpiler/fhe.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@ def _fhe_transpile_ir(ctx, library_name, stem, src, metadata, optimizer, encrypt
inputs = [src, metadata, encryption_specific_transpiled_structs_header],
outputs = [out_cc, out_h],
executable = ctx.executable._fhe_transpiler,
mnemonic = "FheIrTranspile",
arguments = args,
)
return [out_cc, out_h]
Expand Down Expand Up @@ -138,6 +139,7 @@ def _fhe_transpile_netlist(ctx, library_name, stem, src, metadata, optimizer, en
inputs = [src, metadata, encryption_specific_transpiled_structs_header, ctx.file.cell_library],
outputs = [out_cc, out_h],
executable = ctx.executable._fhe_transpiler,
mnemonic = "FheNetlistTranspile",
arguments = args,
)
return [out_cc, out_h]
Expand Down
1 change: 1 addition & 0 deletions transpiler/fhe_common.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -99,5 +99,6 @@ def run_with_stem(ctx, stem, inputs, out_ext, tool, args, entry = None):
outputs = [out],
tools = [tool],
command = "%s %s > %s" % (tool.path, arguments, out.path),
mnemonic = "FheTranspilerRun",
)
return out
2 changes: 2 additions & 0 deletions transpiler/fhe_structs.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ def _generate_encryption_specific_transpiled_structs_header_path(ctx, library_na
inputs = [metadata, generic_struct_header],
outputs = [specific_struct_h],
executable = ctx.executable.struct_header_generator,
mnemonic = "FheEncryptionSpecificTranspiledStructsGen",
arguments = args,
)

Expand Down Expand Up @@ -88,6 +89,7 @@ def _generate_generic_struct_header(ctx, library_name, metadata, hdr_files, unwr
inputs = [metadata],
outputs = [generic_struct_h],
executable = ctx.executable.struct_header_generator,
mnemonic = "FheGenericTranspiledStructsGen",
arguments = args,
)

Expand Down
1 change: 1 addition & 0 deletions transpiler/parsers.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ def _build_xls_ir(ctx, library_name):
inputs = [ctx.file.src] + ctx.files.hdrs,
outputs = [ir_file, metadata_file],
tools = [ctx.executable._xlscc],
mnemonic = "CcToXlsIrGen",
command = "%s %s --meta_out %s %s %s > %s" % (
ctx.executable._xlscc.path,
ctx.file.src.path,
Expand Down
1 change: 1 addition & 0 deletions transpiler/rust/fhe_rs.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ def _fhe_transpile_ir(ctx, library_name, stem, src, metadata = "", liberty_file
ctx.actions.run(
inputs = inputs,
outputs = [rust_out],
mnemonic = "FheTranspileIr",
executable = ctx.executable._fhe_transpiler,
arguments = args,
)
Expand Down
Loading