Use ubuntu focal as ppc64le base image. (#312)

* Use ubuntu focal for ppc64le.

* Rebuild prereq docker.

* Rebuild prereq docker.

* Limit ppc64le build to use two threads only.

* Rebuild prereq docker.
This commit is contained in:
Tian Jin 2020-09-25 16:13:22 +07:00 committed by GitHub
parent f0c5b99229
commit 6500f27f80
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View File

@ -113,7 +113,7 @@ jobs:
arch:
- ppc64le
script:
- docker build -t onnxmlirczar/onnx-mlir-llvmimage-partial:ppc64le -f docker/prereq.ppc64le.Dockerfile --build-arg BASE_IMAGE="ubuntu:bionic" ./utils
- docker build -t onnxmlirczar/onnx-mlir-llvmimage-partial:ppc64le -f docker/prereq.ppc64le.Dockerfile --build-arg BASE_IMAGE="ubuntu:focal" ./utils
- docker login -u onnxmlirczar -p "$DOCKER_HUB_TOKEN"
- docker push onnxmlirczar/onnx-mlir-llvmimage-partial:ppc64le
- stage: prereq-0

View File

@ -51,6 +51,7 @@ RUN if [ ! -f "/build/llvm-project/build/CMakeCache.txt" ]; then \
-DLLVM_ENABLE_RTTI=ON; \
fi
ENV MAKEFLAGS=-j2
RUN if timeout 30m cmake --build . --target -- ${MAKEFLAGS} ; then \
cmake --build . --target check-mlir; \
fi