From bcc7ace9d2b522c214fcce619ee82a05fc881ae2 Mon Sep 17 00:00:00 2001 From: Fionn O'Donohoe <fionno@xilinx.com> Date: Mon, 12 Jun 2023 15:29:43 +0100 Subject: [PATCH] remove unused build environment parameters Signed-off-by: Fionn O'Donohoe <fionno@xilinx.com> --- src/finn/util/test.py | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/src/finn/util/test.py b/src/finn/util/test.py index bd8bde282..4250079ef 100644 --- a/src/finn/util/test.py +++ b/src/finn/util/test.py @@ -114,25 +114,14 @@ def get_build_env(kind, target_clk_ns): if kind == "zynq": ret["board"] = os.getenv("PYNQ_BOARD", default="Pynq-Z1") ret["part"] = pynq_part_map[ret["board"]] - ret["ip"] = os.getenv("PYNQ_IP", "") - ret["username"] = os.getenv("PYNQ_USERNAME", "xilinx") - ret["password"] = os.getenv("PYNQ_PASSWORD", "xilinx") - ret["port"] = os.getenv("PYNQ_PORT", 22) - ret["target_dir"] = os.getenv("PYNQ_TARGET_DIR", "/home/xilinx/finn") ret["build_fxn"] = ZynqBuild(ret["board"], target_clk_ns) elif kind == "alveo": ret["board"] = os.getenv("ALVEO_BOARD", default="U250") ret["part"] = alveo_part_map[ret["board"]] - ret["platform"] = alveo_default_platform[ret["board"]] - ret["ip"] = os.getenv("ALVEO_IP", "") - ret["username"] = os.getenv("ALVEO_USERNAME", "") - ret["password"] = os.getenv("ALVEO_PASSWORD", "") - ret["port"] = os.getenv("ALVEO_PORT", 22) - ret["target_dir"] = os.getenv("ALVEO_TARGET_DIR", "/tmp/finn_alveo_deploy") ret["build_fxn"] = VitisBuild( ret["part"], target_clk_ns, - ret["platform"], + alveo_default_platform[ret["board"]], strategy=VitisOptStrategy.BUILD_SPEED, ) else: -- GitLab