projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
063c5bc
)
Add a `check-mlir-build-only` build target that only builds the dependencies of the...
author
Mehdi Amini
<joker.eph@gmail.com>
Sat, 2 Oct 2021 04:06:17 +0000
(
04:06
+0000)
committer
Mehdi Amini
<joker.eph@gmail.com>
Sat, 2 Oct 2021 04:06:17 +0000
(
04:06
+0000)
mlir/test/CMakeLists.txt
patch
|
blob
|
history
diff --git
a/mlir/test/CMakeLists.txt
b/mlir/test/CMakeLists.txt
index
6c4bf43
..
ff39be5
100644
(file)
--- a/
mlir/test/CMakeLists.txt
+++ b/
mlir/test/CMakeLists.txt
@@
-124,6
+124,14
@@
if(MLIR_ENABLE_BINDINGS_PYTHON)
)
endif()
+# This target can be used to just build the dependencies
+# for the check-mlir target without executing the tests.
+# This is useful for bots when splitting the build step
+# from the testing step.
+add_custom_target(check-mlir-build-only
+ DEPENDS ${MLIR_TEST_DEPENDS}
+)
+
add_lit_testsuite(check-mlir "Running the MLIR regression tests"
${CMAKE_CURRENT_BINARY_DIR}
DEPENDS ${MLIR_TEST_DEPENDS}