Skip to content

Commit 07a4c25

Browse files
committed
[CI] Add check-mlir-python to MLIR pre-merge checks
1 parent 43af73f commit 07a4c25

File tree

3 files changed

+11
-2
lines changed

3 files changed

+11
-2
lines changed

.ci/generate-buildkite-pipeline-premerge

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -188,6 +188,11 @@ function check-targets() {
188188
libclc)
189189
echo "check-all"
190190
;;
191+
mlir)
192+
for t in check-mlir check-mlir-python; do
193+
echo $t
194+
done
195+
;;
191196
*)
192197
echo "check-${project}"
193198
;;

.ci/monolithic-linux.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,9 @@ cmake -S ${MONOREPO_ROOT}/llvm -B ${BUILD_DIR} \
4949
-D LLVM_ENABLE_LLD=ON \
5050
-D CMAKE_CXX_FLAGS=-gmlt \
5151
-D BOLT_CLANG_EXE=/usr/bin/clang \
52-
-D LLVM_CCACHE_BUILD=ON
52+
-D LLVM_CCACHE_BUILD=ON \
53+
-D MLIR_ENABLE_BINDINGS_PYTHON=ON \
54+
-D Python3_EXECUTABLE="$(which python3)"
5355

5456
echo "--- ninja"
5557
# Targets are not escaped as they are passed as separate arguments.

.ci/monolithic-windows.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,9 @@ cmake -S ${MONOREPO_ROOT}/llvm -B ${BUILD_DIR} \
4848
-D LLVM_LIT_ARGS="-v --xunit-xml-output ${BUILD_DIR}/test-results.xml" \
4949
-D COMPILER_RT_BUILD_ORC=OFF \
5050
-D CMAKE_C_COMPILER_LAUNCHER=sccache \
51-
-D CMAKE_CXX_COMPILER_LAUNCHER=sccache
51+
-D CMAKE_CXX_COMPILER_LAUNCHER=sccache \
52+
-D MLIR_ENABLE_BINDINGS_PYTHON=ON \
53+
-D Python3_EXECUTABLE="$(which python)"
5254

5355
echo "--- ninja"
5456
# Targets are not escaped as they are passed as separate arguments.

0 commit comments

Comments
 (0)