From b2b2dbdc98c39c70f7d39efeccc61fc28bdf4603 Mon Sep 17 00:00:00 2001 From: Lucian Petrica Date: Fri, 31 Jul 2026 21:39:25 +0100 Subject: [PATCH] Adding launched envvar to enable LSF builds --- linker/slashkit/emit/hw/project_gen.py | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/linker/slashkit/emit/hw/project_gen.py b/linker/slashkit/emit/hw/project_gen.py index 31b428d3..2d5dcbf5 100644 --- a/linker/slashkit/emit/hw/project_gen.py +++ b/linker/slashkit/emit/hw/project_gen.py @@ -20,6 +20,7 @@ from __future__ import annotations import os +import shlex from enum import Enum from pathlib import Path import logging @@ -283,8 +284,9 @@ def create_build_project( if not tcl_path.exists(): raise FileNotFoundError( f"create_project.tcl not found: {tcl_path}") - cmd = [ - config.vivado_bin, + launcher = shlex.split(os.environ.get("SLASH_VIVADO_LAUNCHER", "")) + cmd = launcher + [ + str(config.vivado_bin), "-mode", "batch", "-nojournal", @@ -294,7 +296,7 @@ def create_build_project( str(tcl_path), "-tclargs", config.project_name, - config.ip_repository + str(config.ip_repository), ] if action: cmd.append(action)