Resolve buildbot issue. (#64)

* 1. Try limit parallelism.

* Limit build parallelism to 4.

* Fix doc-check failure.

Co-authored-by: Gheorghe-Teodor Bercea <gt.bercea@gmail.com>
This commit is contained in:
Tian Jin 2020-01-31 23:24:45 +08:00 committed by GitHub
parent 2b56c09454
commit 5791cfdce7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 2 deletions

View File

@ -25,6 +25,7 @@ jobs:
# Check whether cache restoration succeeds by checking whether # Check whether cache restoration succeeds by checking whether
# mlir-opt executable exists. # mlir-opt executable exists.
if [ ! -f llvm-project/build/bin/mlir-opt ]; then if [ ! -f llvm-project/build/bin/mlir-opt ]; then
export MAKEFLAGS=-j4
source ONNF/utils/install-mlir.sh source ONNF/utils/install-mlir.sh
fi fi
- save_cache: - save_cache:

View File

@ -20,7 +20,7 @@ cmake -G Ninja ../llvm \
-DLLVM_ENABLE_ASSERTIONS=ON \ -DLLVM_ENABLE_ASSERTIONS=ON \
-DLLVM_ENABLE_RTTI=ON -DLLVM_ENABLE_RTTI=ON
cmake --build . --target cmake --build . --target -- ${MAKEFLAGS}
cmake --build . --target check-mlir cmake --build . --target check-mlir
``` ```

View File

@ -9,5 +9,5 @@ cmake -G Ninja ../llvm \
-DLLVM_ENABLE_ASSERTIONS=ON \ -DLLVM_ENABLE_ASSERTIONS=ON \
-DLLVM_ENABLE_RTTI=ON -DLLVM_ENABLE_RTTI=ON
cmake --build . --target cmake --build . --target -- ${MAKEFLAGS}
cmake --build . --target check-mlir cmake --build . --target check-mlir