From 3dde2604be2a7de4266c3d8ebe5efd3730b6ccce Mon Sep 17 00:00:00 2001 From: Christian Sigg Date: Wed, 21 Jun 2023 10:11:46 +0200 Subject: [PATCH] [mlir] #include CRunnerUtils.h instead of RunnerUtils.h in SPIRV-runner This avoids bazel builds failing after commit bba2b656110209a3d9863b92c060082479b06ab1 because libmlir_test_spirv_cpu_runner_c_wrappers.so registers the same runner functions twice. More precisely, this problem only shows up internally at Google because the bazel build does not have that target. Either way though, it's better to IWYU. --- .../mlir-spirv-cpu-runner/mlir_test_spirv_cpu_runner_c_wrappers.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mlir/test/mlir-spirv-cpu-runner/mlir_test_spirv_cpu_runner_c_wrappers.cpp b/mlir/test/mlir-spirv-cpu-runner/mlir_test_spirv_cpu_runner_c_wrappers.cpp index 8101d7f..93433be 100644 --- a/mlir/test/mlir-spirv-cpu-runner/mlir_test_spirv_cpu_runner_c_wrappers.cpp +++ b/mlir/test/mlir-spirv-cpu-runner/mlir_test_spirv_cpu_runner_c_wrappers.cpp @@ -10,7 +10,7 @@ // //===----------------------------------------------------------------------===// -#include "mlir/ExecutionEngine/RunnerUtils.h" +#include "mlir/ExecutionEngine/CRunnerUtils.h" #ifdef _WIN32 #define EXPORT __declspec(dllexport) -- 2.7.4