From 7725f0ece4af8f13e7932a9c453f4e7c9b92b0c3 Mon Sep 17 00:00:00 2001 From: Zingo Andersen Date: Mon, 13 Apr 2026 14:12:54 +0200 Subject: [PATCH] Arm backend: aot_arm_compiler.py support budleio output without a path BundleIO output generation needed a the output file to exist in a folder, so if you wanted to output a file in the current folder you neeed to add "./" in front of the file name like "./file.bpte" this fixes this problem, normal .pte already support this. Signed-off-by: Zingo Andersen Change-Id: I8cb941cc068383619a51aaf79e88b59b7e4ad901 --- backends/arm/scripts/aot_arm_compiler.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/backends/arm/scripts/aot_arm_compiler.py b/backends/arm/scripts/aot_arm_compiler.py index 245fd48bac5..a8b71a83534 100644 --- a/backends/arm/scripts/aot_arm_compiler.py +++ b/backends/arm/scripts/aot_arm_compiler.py @@ -778,7 +778,8 @@ def _save_bpte_program( # Generate BundledProgram output_dir = os.path.dirname(output_name) - os.makedirs(output_dir, exist_ok=True) + if output_dir: + os.makedirs(output_dir, exist_ok=True) _save_bundled_program(exec_prog, method_test_suites, output_name)