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:
parent
f0c5b99229
commit
6500f27f80
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue