sw:vec_iree: Update IREE compiler flags dylib-llvm-aot --> llvm-cpu
Match https://github.com/iree-org/iree/pull/9854
Change-Id: I45bd8912c1b5fb3f2002fbfe63e65f31cf48e6ea
diff --git a/cmake/springbok_bytecode_module.cmake b/cmake/springbok_bytecode_module.cmake
index 5f59bff..5206397 100644
--- a/cmake/springbok_bytecode_module.cmake
+++ b/cmake/springbok_bytecode_module.cmake
@@ -94,7 +94,7 @@
list(APPEND _TRANSLATE_ARGS "-iree-llvm-debug-symbols=false")
list(APPEND _TRANSLATE_ARGS "-iree-vm-bytecode-module-strip-source-map=true")
list(APPEND _TRANSLATE_ARGS "-iree-vm-emit-polyglot-zip=false")
- list(APPEND _TRANSLATE_ARGS "-iree-hal-target-backends=dylib-llvm-aot")
+ list(APPEND _TRANSLATE_ARGS "-iree-hal-target-backends=llvm-cpu")
list(APPEND _TRANSLATE_ARGS "-iree-llvm-target-triple=riscv32-pc-linux-elf")
list(APPEND _TRANSLATE_ARGS "-iree-llvm-target-cpu=generic-rv32")
list(APPEND _TRANSLATE_ARGS "-iree-llvm-target-cpu-features=${_CPU_FEATURES}")
diff --git a/cmake/springbok_c_module.cmake b/cmake/springbok_c_module.cmake
index 39f137d..ac61ad0 100644
--- a/cmake/springbok_c_module.cmake
+++ b/cmake/springbok_c_module.cmake
@@ -92,7 +92,7 @@
set(_TRANSLATE_ARGS ${_RULE_FLAGS})
list(APPEND _TRANSLATE_ARGS "-iree-llvm-debug-symbols=false")
list(APPEND _TRANSLATE_ARGS "-iree-mlir-to-vm-c-module")
- list(APPEND _TRANSLATE_ARGS "-iree-hal-target-backends=dylib-llvm-aot")
+ list(APPEND _TRANSLATE_ARGS "-iree-hal-target-backends=llvm-cpu")
list(APPEND _TRANSLATE_ARGS "-iree-llvm-target-triple=riscv32-pc-linux-elf")
list(APPEND _TRANSLATE_ARGS "-iree-llvm-target-cpu=generic-rv32")
list(APPEND _TRANSLATE_ARGS "-iree-llvm-target-cpu-features=${_CPU_FEATURES}")