Disabling testing custom dispatch samples on the CI.
The test_all and test_gpu runs aren't able to find the .o files.
diff --git a/build_tools/cmake/ctest_all.sh b/build_tools/cmake/ctest_all.sh
index a921b7f..d093107 100755
--- a/build_tools/cmake/ctest_all.sh
+++ b/build_tools/cmake/ctest_all.sh
@@ -92,6 +92,14 @@
)
fi
+# TODO(#12305): figure out how to run samples with custom binary outputs
+# on the CI. $IREE_BINARY_DIR may not be setup right or the object files may
+# not be getting deployed to the test_all/test_gpu bots.
+excluded_tests+=(
+ "iree/samples/custom_dispatch/cpu/embedded/example_hal.mlir.test"
+ "iree/samples/custom_dispatch/cpu/embedded/example_stream.mlir.test"
+)
+
ctest_args=(
"--test-dir ${BUILD_DIR}"
"--timeout 900"
diff --git a/samples/custom_dispatch/cpu/embedded/CMakeLists.txt b/samples/custom_dispatch/cpu/embedded/CMakeLists.txt
index 5d85793..72ee0fd 100644
--- a/samples/custom_dispatch/cpu/embedded/CMakeLists.txt
+++ b/samples/custom_dispatch/cpu/embedded/CMakeLists.txt
@@ -59,6 +59,9 @@
SRCS
"example_hal.mlir"
"example_stream.mlir"
+ DATA
+ functions_aarch64.o
+ functions_x86_64.o
TOOLS
FileCheck
iree-compile