Related test: mlir/test_runtime_build.py::test_debug_mode
Error stack trace:
Traceback (most recent call last):
File "mlir/test_runtime_build.py", line 40, in <module>
test_debug_mode()
File "mlir/test_runtime_build.py", line 37, in test_debug_mode
test_sdaccel_debug()
File "mlir/test_runtime_build.py", line 23, in test_sdaccel_debug
code = hcl.build(s, target)
File "/work/shared/users/phd/nz264/mlir/heterocl/python/heterocl/mlir/build_module.py", line 72, in build
raise e
File "/work/shared/users/phd/nz264/mlir/heterocl/python/heterocl/mlir/build_module.py", line 68, in build
return build_fpga_kernel(schedule, target, stmt)
File "/work/shared/users/phd/nz264/mlir/heterocl/python/heterocl/mlir/build_module.py", line 263, in build_fpga_kernel
copy_build_files(target)
File "/work/shared/users/phd/nz264/mlir/heterocl/python/heterocl/mlir/runtime.py", line 25, in copy_build_files
os.makedirs(target.project, exist_ok=True)
File "/home/nz264/anaconda3/envs/mlir/lib/python3.8/os.py", line 208, in makedirs
head, tail = path.split(name)
File "/home/nz264/anaconda3/envs/mlir/lib/python3.8/posixpath.py", line 103, in split
p = os.fspath(p)
TypeError: expected str, bytes or os.PathLike object, not NoneType
Related test:
mlir/test_runtime_build.py::test_debug_mode
Error stack trace:Seems like a file i/o issue or unsupported mode