[Mlir-commits] [mlir] [MLIR][test] Run Integration tests for CPU using qemu-aarch64 (PR #101568)
Benjamin Maxwell
llvmlistbot at llvm.org
Mon Aug 5 04:02:39 PDT 2024
================
@@ -7,3 +8,45 @@ if not config.mlir_run_arm_sve_tests:
# No JIT on win32.
if sys.platform == "win32":
config.unsupported = True
+
+mlir_runner_utils_file_name = "/libmlir_runner_utils" + config.llvm_shlib_ext
+mlir_c_runner_utils_file_name = "/libmlir_c_runner_utils" + config.llvm_shlib_ext
+mlir_arm_runner_utils_file_name = "/libmlir_arm_runner_utils" + config.llvm_shlib_ext
+if config.arm_emulator_utils_lib_dir:
+ # Use mlir runtime libs from the location passed by -DARM_EMULATOR_UTILS_LIB_DIR.
+ config.substitutions.append(
+ (
+ "%native_mlir_runner_utils",
+ config.arm_emulator_utils_lib_dir + mlir_runner_utils_file_name
+ )
+ )
+ config.substitutions.append(
+ (
+ "%native_mlir_c_runner_utils",
+ config.arm_emulator_utils_lib_dir + mlir_c_runner_utils_file_name
+ )
+ )
+ config.substitutions.append(
+ ( "%native_mlir_arm_runner_utils",
+ config.arm_emulator_utils_lib_dir + mlir_arm_runner_utils_file_name
+ )
+ )
----------------
MacDue wrote:
Duplicate configuration.
https://github.com/llvm/llvm-project/pull/101568
More information about the Mlir-commits
mailing list