Skip to content

Incorrectly passing -I to linker

test_compile_link on ROCm is failing due to invalid linker flags. The reason this happens is that that cl.link_program calls Program._process_build_options to generate the linker options. The latter functions adds include (-I) flags, which are compiler flags, not linker flags. It seems like the linker is being strict in this case.

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information