Skip to content

Commit

Permalink
fix: use absolute path for testbench compilation
Browse files Browse the repository at this point in the history
This fixes compilation when the solution directory is a relative path.
  • Loading branch information
ArkaneMoose committed Apr 23, 2023
1 parent d6a0225 commit 41e15dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/lightningsim/runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,7 @@ async def compile_project_file(project_file: ProjectFile, object_path: Path):
xilinx_hls / "include",
*project_file.cflags,
"-c",
project_file.path,
project_file.path.absolute(),
"-g",
"-O3",
"-o",
Expand Down

0 comments on commit 41e15dd

Please sign in to comment.