Skip to content
This repository was archived by the owner on Jan 12, 2024. It is now read-only.
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 src/QirRuntime/test/QIR-tracer/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,10 @@ target_link_libraries(qir-tracer-tests PUBLIC
${QIR_UTILITY_LIB} # set by compile_from_qir
${QIR_BRIDGE_UTILITY_LIB}
${QIR_BRIDGE_TRACER_UTILITY_LIB}
${QIR_BRIDGE_QIS_UTILITY_LIB}
tracer
qir-rt-support
qir-qis-support
)

target_include_directories(qir-tracer-tests PUBLIC
Expand Down
7 changes: 6 additions & 1 deletion src/QirRuntime/test/QIR-tracer/generate.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,12 @@ def log(message):

# Compile as a lib so all functions are retained and don't have to workaround the current limitations of
# @EntryPoint attribute.
command = (qsc + " build --qir s --input " + files_to_process + " --proj " + output_file)
command = (qsc + " build --qir qir --input " + files_to_process + " --proj " + output_file)
log("Executing: " + command)
subprocess.run(command, shell = True)

# copy the generated file into tracer's input files
generated_file = os.path.join(root_dir, "qir", output_file) + ".ll"
build_input_file = os.path.join(root_dir, output_file) + ".ll"
shutil.copyfile(generated_file, build_input_file)

Loading