From 41e15dd3e1bbd0588901ef17393a40ca2c6fa626 Mon Sep 17 00:00:00 2001 From: Rishov Sarkar Date: Sun, 23 Apr 2023 18:53:58 -0400 Subject: [PATCH] fix: use absolute path for testbench compilation This fixes compilation when the solution directory is a relative path. --- backend/lightningsim/runner.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/lightningsim/runner.py b/backend/lightningsim/runner.py index f7eb3a52c..8402a4431 100644 --- a/backend/lightningsim/runner.py +++ b/backend/lightningsim/runner.py @@ -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",