File tree Expand file tree Collapse file tree 3 files changed +11
-2
lines changed Expand file tree Collapse file tree 3 files changed +11
-2
lines changed Original file line number Diff line number Diff line change @@ -188,6 +188,11 @@ function check-targets() {
188
188
libclc)
189
189
echo " check-all"
190
190
;;
191
+ mlir)
192
+ for t in check-mlir check-mlir-python; do
193
+ echo $t
194
+ done
195
+ ;;
191
196
* )
192
197
echo " check-${project} "
193
198
;;
Original file line number Diff line number Diff line change @@ -49,7 +49,9 @@ cmake -S ${MONOREPO_ROOT}/llvm -B ${BUILD_DIR} \
49
49
-D LLVM_ENABLE_LLD=ON \
50
50
-D CMAKE_CXX_FLAGS=-gmlt \
51
51
-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) "
53
55
54
56
echo " --- ninja"
55
57
# Targets are not escaped as they are passed as separate arguments.
Original file line number Diff line number Diff line change @@ -48,7 +48,9 @@ cmake -S ${MONOREPO_ROOT}/llvm -B ${BUILD_DIR} \
48
48
-D LLVM_LIT_ARGS=" -v --xunit-xml-output ${BUILD_DIR} /test-results.xml" \
49
49
-D COMPILER_RT_BUILD_ORC=OFF \
50
50
-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) "
52
54
53
55
echo " --- ninja"
54
56
# Targets are not escaped as they are passed as separate arguments.
You can’t perform that action at this time.
0 commit comments